| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | zap.h | 214 uint64_t integer_size, uint64_t num_integers, void *buf); 216 uint64_t integer_size, uint64_t num_integers, void *buf); 227 uint64_t integer_size, uint64_t num_integers, void *buf, 231 uint64_t integer_size, uint64_t num_integers, void *buf, 240 int key_numints, uint64_t integer_size, uint64_t num_integers, void *buf); 242 int key_numints, uint64_t integer_size, uint64_t num_integers, void *buf); 244 int key_numints, uint64_t integer_size, uint64_t num_integers, void *buf, 279 int integer_size, uint64_t num_integers, 282 int integer_size, uint64_t num_integers, 287 int key_numints, int integer_size, uint64_t num_integers, [all …]
|
| H A D | zap_impl.h | 288 uint64_t integer_size, uint64_t num_integers, void *buf, 292 int fzap_add(zap_name_t *zn, uint64_t integer_size, uint64_t num_integers, 294 int fzap_update(zap_name_t *zn, int integer_size, uint64_t num_integers, 297 uint64_t *integer_size, uint64_t *num_integers); 302 int fzap_add_cd(zap_name_t *zn, uint64_t integer_size, uint64_t num_integers,
|
| H A D | zap_leaf.h | 201 uint8_t integer_size, uint64_t num_integers, void *buf); 212 uint8_t integer_size, uint64_t num_integers, const void *buf); 225 uint8_t integer_size, uint64_t num_integers, const void *buf,
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zap.c | 215 uint64_t integer_size, uint64_t num_integers, void *buf, in zap_lookup_norm_by_dnode() argument 233 err = fzap_lookup(zn, integer_size, num_integers, buf, in zap_lookup_norm_by_dnode() 241 if (num_integers < 1) { in zap_lookup_norm_by_dnode() 266 uint64_t integer_size, uint64_t num_integers, void *buf) in zap_lookup() argument 269 num_integers, buf, 0, NULL, 0, NULL)); in zap_lookup() 274 uint64_t integer_size, uint64_t num_integers, void *buf) in zap_lookup_by_dnode() argument 277 num_integers, buf, 0, NULL, 0, NULL)); in zap_lookup_by_dnode() 282 uint64_t integer_size, uint64_t num_integers, void *buf, in zap_lookup_norm() argument 291 num_integers, buf, mt, realname, rn_len, ncp); in zap_lookup_norm() 300 int key_numints, uint64_t integer_size, uint64_t num_integers, void *buf, in zap_lookup_length_uint64_by_dnode() argument [all …]
|
| H A D | zap_fat.c | 807 fzap_checksize(uint64_t integer_size, uint64_t num_integers) in fzap_checksize() argument 820 if (integer_size * num_integers > ZAP_MAXVALUELEN) in fzap_checksize() 827 fzap_check(zap_name_t *zn, uint64_t integer_size, uint64_t num_integers) in fzap_check() argument 832 return (fzap_checksize(integer_size, num_integers)); in fzap_check() 840 uint64_t integer_size, uint64_t num_integers, void *buf, in fzap_lookup() argument 856 if ((err = fzap_checksize(integer_size, num_integers)) != 0) { in fzap_lookup() 861 err = zap_entry_read(&zeh, integer_size, num_integers, buf); in fzap_lookup() 876 fzap_add_cd(zap_name_t *zn, uint64_t integer_size, uint64_t num_integers, in fzap_add_cd() argument 886 ASSERT0(fzap_check(zn, integer_size, num_integers)); in fzap_add_cd() 901 integer_size, num_integers, val, &zeh); in fzap_add_cd() [all …]
|
| H A D | zap_leaf.c | 204 int integer_size, int num_integers) in zap_leaf_array_create() argument 211 int len = num_integers; in zap_leaf_array_create() 213 ASSERT3U(num_integers * integer_size, <=, ZAP_MAXVALUELEN); in zap_leaf_array_create() 500 uint8_t integer_size, uint64_t num_integers, void *buf) in zap_entry_read() argument 511 integer_size, num_integers, buf); in zap_entry_read() 513 if (zeh->zeh_num_integers > num_integers) in zap_entry_read() 541 uint8_t integer_size, uint64_t num_integers, const void *buf) in zap_entry_update() argument 546 int delta_chunks = ZAP_LEAF_ARRAY_NCHUNKS(num_integers * integer_size) - in zap_entry_update() 554 zap_leaf_array_create(l, buf, integer_size, num_integers); in zap_entry_update() 555 le->le_value_numints = num_integers; in zap_entry_update() [all …]
|
| H A D | vdev.c | 6723 uint64_t integer_size, num_integers; in vdev_prop_get() local 7136 &integer_size, &num_integers); in vdev_prop_get() 7147 strval = kmem_alloc(num_integers, in vdev_prop_get() 7151 num_integers, strval); in vdev_prop_get() 7154 num_integers); in vdev_prop_get() 7159 kmem_free(strval, num_integers); in vdev_prop_get()
|
| /freebsd/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 151 const char *name, uint64_t integer_size, uint64_t num_integers, 2636 uint64_t integer_size, uint64_t num_integers, void *buf) in fzap_leaf_array() argument 2642 int len = MIN(zc->l_entry.le_value_numints, num_integers); in fzap_leaf_array() 2673 fzap_check_size(uint64_t integer_size, uint64_t num_integers) in fzap_check_size() argument 2686 if (integer_size * num_integers > ZAP_MAXVALUELEN) in fzap_check_size() 2780 uint64_t integer_size, uint64_t num_integers, void *value) in zap_leaf_lookup() argument 2809 num_integers, value); in zap_leaf_lookup() 2823 const char *name, uint64_t integer_size, uint64_t num_integers, in fzap_lookup() argument 2835 if ((rc = fzap_check_size(integer_size, num_integers)) != 0) { in fzap_lookup() 2849 rc = zap_leaf_lookup(zl, hash, name, integer_size, num_integers, value); in fzap_lookup() [all …]
|