Home
last modified time | relevance | path

Searched refs:integer_size (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzap.h204 uint64_t integer_size, uint64_t num_integers, void *buf);
215 uint64_t integer_size, uint64_t num_integers, void *buf,
219 int key_numints, 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);
[all …]
H A Dzap_impl.h217 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 Dzap_leaf.h203 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 Dzap_micro.c884 uint64_t integer_size, uint64_t num_integers, void *buf) in zap_lookup() argument
886 return (zap_lookup_norm(os, zapobj, name, integer_size, in zap_lookup()
892 uint64_t integer_size, uint64_t num_integers, void *buf, in zap_lookup_impl() argument
903 err = fzap_lookup(zn, integer_size, num_integers, buf, in zap_lookup_impl()
912 } else if (integer_size != 8) { in zap_lookup_impl()
932 uint64_t integer_size, uint64_t num_integers, void *buf, in zap_lookup_norm() argument
942 err = zap_lookup_impl(zap, name, integer_size, in zap_lookup_norm()
950 uint64_t integer_size, uint64_t num_integers, void *buf) in zap_lookup_by_dnode() argument
952 return (zap_lookup_norm_by_dnode(dn, name, integer_size, in zap_lookup_by_dnode()
958 uint64_t integer_size, uint64_t num_integers, void *buf, in zap_lookup_norm_by_dnode() argument
[all …]
H A Dzap_leaf.c224 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()
475 uint8_t integer_size, uint64_t num_integers, void *buf) in zap_entry_read() argument
481 if (le->le_value_intlen > integer_size) in zap_entry_read()
486 integer_size, num_integers, buf); in zap_entry_read()
516 uint8_t integer_size, uint64_t num_integers, const void *buf) in zap_entry_update() argument
[all …]
H A Dzap.c748 fzap_checksize(uint64_t integer_size, uint64_t num_integers) in fzap_checksize() argument
751 switch (integer_size) { in fzap_checksize()
761 if (integer_size * num_integers > ZAP_MAXVALUELEN) in fzap_checksize()
768 fzap_check(zap_name_t *zn, uint64_t integer_size, uint64_t num_integers) in fzap_check() argument
773 return (fzap_checksize(integer_size, num_integers)); in fzap_check()
781 uint64_t integer_size, uint64_t num_integers, void *buf, in fzap_lookup() argument
796 if ((err = fzap_checksize(integer_size, num_integers)) != 0) { in fzap_lookup()
801 err = zap_entry_read(&zeh, integer_size, num_integers, buf); in fzap_lookup()
815 uint64_t integer_size, uint64_t num_integers, in fzap_add_cd() argument
825 ASSERT(fzap_check(zn, integer_size, num_integers) == 0); in fzap_add_cd()
[all …]
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfsimpl.c147 const char *name, uint64_t integer_size, uint64_t num_integers,
2527 uint64_t integer_size, uint64_t num_integers, void *buf) in fzap_leaf_array() argument
2537 if (integer_size == 8 && len == 1) { in fzap_leaf_array()
2551 stv(integer_size, p, value); in fzap_leaf_array()
2556 p += integer_size; in fzap_leaf_array()
2564 fzap_check_size(uint64_t integer_size, uint64_t num_integers) in fzap_check_size() argument
2567 switch (integer_size) { in fzap_check_size()
2577 if (integer_size * num_integers > ZAP_MAXVALUELEN) in fzap_check_size()
2671 uint64_t integer_size, uint64_t num_integers, void *value) in zap_leaf_lookup() argument
2696 if (zc->l_entry.le_value_intlen > integer_size) { in zap_leaf_lookup()
[all …]