Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/include/sys/
H A Dzap.h211 uint64_t integer_size, uint64_t num_integers, void *buf);
222 uint64_t integer_size, uint64_t num_integers, void *buf,
226 int key_numints, uint64_t integer_size, uint64_t num_integers, void *buf);
228 int key_numints, uint64_t integer_size, uint64_t num_integers, void *buf);
230 int key_numints, uint64_t integer_size, uint64_t num_integers, void *buf,
241 uint64_t integer_size, uint64_t num_integers, void *buf);
243 uint64_t integer_size, uint64_t num_integers, void *buf,
254 int integer_size, uint64_t num_integers,
257 int integer_size, uint64_t num_integers,
260 int key_numints, int integer_size, uint64_t num_integers,
[all …]
H A Dzap_impl.h221 uint64_t integer_size, uint64_t num_integers, void *buf,
225 int fzap_add(zap_name_t *zn, uint64_t integer_size, uint64_t num_integers,
228 int integer_size, uint64_t num_integers, const void *val,
231 uint64_t *integer_size, uint64_t *num_integers);
238 uint64_t integer_size, uint64_t num_integers,
H A Dzap_leaf.h211 uint8_t integer_size, uint64_t num_integers, void *buf);
222 uint8_t integer_size, uint64_t num_integers, const void *buf);
235 uint8_t integer_size, uint64_t num_integers, const void *buf,
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzap_micro.c1128 uint64_t integer_size, uint64_t num_integers, void *buf) in zap_lookup() argument
1130 return (zap_lookup_norm(os, zapobj, name, integer_size, in zap_lookup()
1136 uint64_t integer_size, uint64_t num_integers, void *buf, in zap_lookup_impl() argument
1147 err = fzap_lookup(zn, integer_size, num_integers, buf, in zap_lookup_impl()
1157 } else if (integer_size != 8) { in zap_lookup_impl()
1179 uint64_t integer_size, uint64_t num_integers, void *buf, in zap_lookup_norm() argument
1189 err = zap_lookup_impl(zap, name, integer_size, in zap_lookup_norm()
1234 uint64_t integer_size, uint64_t num_integers, void *buf) in zap_lookup_by_dnode() argument
1236 return (zap_lookup_norm_by_dnode(dn, name, integer_size, in zap_lookup_by_dnode()
1242 uint64_t integer_size, uint64_t num_integers, void *buf, in zap_lookup_norm_by_dnode() argument
[all …]
H A Dzap_leaf.c214 int integer_size, int num_integers) in zap_leaf_array_create() argument
218 int byten = integer_size; in zap_leaf_array_create()
220 int shift = (integer_size - 1) * 8; in zap_leaf_array_create()
223 ASSERT3U(num_integers * integer_size, <=, ZAP_MAXVALUELEN); in zap_leaf_array_create()
226 value = ldv(integer_size, buf); in zap_leaf_array_create()
238 byten = integer_size; in zap_leaf_array_create()
239 buf += integer_size; in zap_leaf_array_create()
240 value = ldv(integer_size, buf); in zap_leaf_array_create()
510 uint8_t integer_size, uint64_t num_integers, void *buf) in zap_entry_read() argument
516 if (le->le_value_intlen > integer_size) in zap_entry_read()
[all …]
H A Dzap.c847 fzap_checksize(uint64_t integer_size, uint64_t num_integers) in fzap_checksize() argument
850 switch (integer_size) { in fzap_checksize()
860 if (integer_size * num_integers > ZAP_MAXVALUELEN) in fzap_checksize()
867 fzap_check(zap_name_t *zn, uint64_t integer_size, uint64_t num_integers) in fzap_check() argument
872 return (fzap_checksize(integer_size, num_integers)); in fzap_check()
880 uint64_t integer_size, uint64_t num_integers, void *buf, in fzap_lookup() argument
896 if ((err = fzap_checksize(integer_size, num_integers)) != 0) { in fzap_lookup()
901 err = zap_entry_read(&zeh, integer_size, num_integers, buf); in fzap_lookup()
917 uint64_t integer_size, uint64_t num_integers, in fzap_add_cd() argument
927 ASSERT0(fzap_check(zn, integer_size, num_integers)); in fzap_add_cd()
[all …]
H A Dvdev.c6318 uint64_t integer_size, num_integers; in vdev_prop_get() local
6688 &integer_size, &num_integers); in vdev_prop_get()
6692 switch (integer_size) { in vdev_prop_get()
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c150 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
2646 if (integer_size == 8 && len == 1) { in fzap_leaf_array()
2660 stv(integer_size, p, value); in fzap_leaf_array()
2665 p += integer_size; in fzap_leaf_array()
2673 fzap_check_size(uint64_t integer_size, uint64_t num_integers) in fzap_check_size() argument
2676 switch (integer_size) { in fzap_check_size()
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
2805 if (zc->l_entry.le_value_intlen > integer_size) { in zap_leaf_lookup()
[all …]