/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zap.h | 204 uint64_t integer_size, uint64_t num_integers, void *buf); 215 uint64_t integer_size, uint64_t num_integers, void *buf, 224 uint64_t integer_size, uint64_t num_integers, void *buf); 226 uint64_t integer_size, uint64_t num_integers, void *buf, 240 int integer_size, uint64_t num_integers, 243 int integer_size, uint64_t num_integers, 246 int key_numints, int integer_size, uint64_t num_integers, 258 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx); 261 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx); 271 uint64_t *integer_size, uint64_t *num_integers); [all …]
|
H A D | zap_impl.h | 217 uint64_t integer_size, uint64_t num_integers, void *buf, 220 int fzap_add(zap_name_t *zn, uint64_t integer_size, uint64_t num_integers, 223 int integer_size, uint64_t num_integers, const void *val, 226 uint64_t *integer_size, uint64_t *num_integers); 233 uint64_t integer_size, uint64_t num_integers,
|
H A D | zap_leaf.h | 203 uint8_t integer_size, uint64_t num_integers, void *buf); 214 uint8_t integer_size, uint64_t num_integers, const void *buf); 227 uint8_t integer_size, uint64_t num_integers, const void *buf,
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zap_micro.c | 912 } else if (integer_size != 8) { in zap_lookup_impl() 942 err = zap_lookup_impl(zap, name, integer_size, in zap_lookup_norm() 968 err = zap_lookup_impl(zap, name, integer_size, in zap_lookup_norm_by_dnode() 1031 uint64_t *integer_size, uint64_t *num_integers) in zap_length() argument 1051 if (integer_size) in zap_length() 1052 *integer_size = 8; in zap_length() 1127 int integer_size, uint64_t num_integers, in zap_add_impl() argument 1165 int integer_size, uint64_t num_integers, in zap_add() argument 1181 int integer_size, uint64_t num_integers, in zap_add_by_dnode() argument 1232 if (integer_size == 8 && num_integers == 1) in zap_update() [all …]
|
H A D | zap_leaf.c | 224 int integer_size, int num_integers) in zap_leaf_array_create() argument 230 int shift = (integer_size - 1) * 8; in zap_leaf_array_create() 233 ASSERT3U(num_integers * integer_size, <, MAX_ARRAY_BYTES); in zap_leaf_array_create() 242 value = ldv(integer_size, buf); in zap_leaf_array_create() 245 if (++byten == integer_size) { in zap_leaf_array_create() 247 buf += integer_size; in zap_leaf_array_create() 481 if (le->le_value_intlen > integer_size) in zap_entry_read() 486 integer_size, num_integers, buf); in zap_entry_read() 531 le->le_value_intlen = integer_size; in zap_entry_update() 564 uint64_t valuelen = integer_size * num_integers; in zap_entry_create() [all …]
|
H A D | zap.c | 751 switch (integer_size) { in fzap_checksize() 761 if (integer_size * num_integers > ZAP_MAXVALUELEN) in fzap_checksize() 815 uint64_t integer_size, uint64_t num_integers, in fzap_add_cd() argument 840 integer_size, num_integers, val, &zeh); in fzap_add_cd() 859 uint64_t integer_size, uint64_t num_integers, in fzap_add() argument 866 return (fzap_add_cd(zn, integer_size, num_integers, in fzap_add() 882 err = fzap_check(zn, integer_size, num_integers); in fzap_update() 896 integer_size, num_integers, val, &zeh); in fzap_update() 917 uint64_t *integer_size, uint64_t *num_integers) in fzap_length() argument 930 if (integer_size != 0) in fzap_length() [all …]
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfsimpl.c | 2526 uint64_t integer_size, uint64_t num_integers, void *buf) in fzap_leaf_array() argument 2536 if (integer_size == 8 && len == 1) { in fzap_leaf_array() 2550 stv(integer_size, p, value); in fzap_leaf_array() 2555 p += integer_size; in fzap_leaf_array() 2563 fzap_check_size(uint64_t integer_size, uint64_t num_integers) in fzap_check_size() argument 2566 switch (integer_size) { in fzap_check_size() 2576 if (integer_size * num_integers > ZAP_MAXVALUELEN) in fzap_check_size() 2695 if (zc->l_entry.le_value_intlen > integer_size) { in zap_leaf_lookup() 2698 fzap_leaf_array(zl, zc, integer_size, in zap_leaf_lookup() 2725 if ((rc = fzap_check_size(integer_size, num_integers)) != 0) in fzap_lookup() [all …]
|