Lines Matching refs:number

93 zfs_refcount_destroy_many(zfs_refcount_t *rc, uint64_t number)  in zfs_refcount_destroy_many()  argument
98 ASSERT3U(rc->rc_count, ==, number); in zfs_refcount_destroy_many()
128 zfs_refcount_add_many(zfs_refcount_t *rc, uint64_t number, const void *holder) in zfs_refcount_add_many() argument
134 count = atomic_add_64_nv(&(rc)->rc_count, number); in zfs_refcount_add_many()
135 ASSERT3U(count, >=, number); in zfs_refcount_add_many()
141 ref->ref_number = number; in zfs_refcount_add_many()
145 rc->rc_count += number; in zfs_refcount_add_many()
159 zfs_refcount_add_few(zfs_refcount_t *rc, uint64_t number, const void *holder) in zfs_refcount_add_few() argument
162 (void) zfs_refcount_add_many(rc, number, holder); in zfs_refcount_add_few()
163 else for (; number > 0; number--) in zfs_refcount_add_few()
168 zfs_refcount_remove_many(zfs_refcount_t *rc, uint64_t number, in zfs_refcount_remove_many() argument
175 count = atomic_add_64_nv(&(rc)->rc_count, -number); in zfs_refcount_remove_many()
181 s.ref_number = number; in zfs_refcount_remove_many()
184 ASSERT3U(rc->rc_count, >=, number); in zfs_refcount_remove_many()
203 rc->rc_count -= number; in zfs_refcount_remove_many()
216 zfs_refcount_remove_few(zfs_refcount_t *rc, uint64_t number, const void *holder) in zfs_refcount_remove_few() argument
219 (void) zfs_refcount_remove_many(rc, number, holder); in zfs_refcount_remove_few()
220 else for (; number > 0; number--) in zfs_refcount_remove_few()
263 zfs_refcount_transfer_ownership_many(zfs_refcount_t *rc, uint64_t number, in zfs_refcount_transfer_ownership_many() argument
272 s.ref_number = number; in zfs_refcount_transfer_ownership_many()