Lines Matching refs:tag

792 static void arc_free_data_impl(arc_buf_hdr_t *hdr, uint64_t size, void *tag);
2145 add_reference(arc_buf_hdr_t *hdr, void *tag) in add_reference() argument
2156 if ((zfs_refcount_add(&hdr->b_l1hdr.b_refcnt, tag) == 1) && in add_reference()
2179 remove_reference(arc_buf_hdr_t *hdr, kmutex_t *hash_lock, void *tag) in remove_reference() argument
2192 if (((cnt = zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag)) == 0) && in remove_reference()
2538 void *tag, boolean_t encrypted, boolean_t compressed, boolean_t noauth, in arc_buf_alloc_impl() argument
2558 add_reference(hdr, tag); in arc_buf_alloc_impl()
2741 arc_return_buf(arc_buf_t *buf, void *tag) in arc_return_buf() argument
2747 (void) zfs_refcount_add(&hdr->b_l1hdr.b_refcnt, tag); in arc_return_buf()
2755 arc_loan_inuse_buf(arc_buf_t *buf, void *tag) in arc_loan_inuse_buf() argument
2762 (void) zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag); in arc_loan_inuse_buf()
3438 arc_alloc_buf(spa_t *spa, void *tag, arc_buf_contents_t type, int32_t size) in arc_alloc_buf() argument
3444 VERIFY0(arc_buf_alloc_impl(hdr, spa, NULL, tag, B_FALSE, B_FALSE, in arc_alloc_buf()
3494 arc_alloc_compressed_buf(spa_t *spa, void *tag, uint64_t psize, uint64_t lsize, in arc_alloc_compressed_buf() argument
3506 VERIFY0(arc_buf_alloc_impl(hdr, spa, NULL, tag, B_FALSE, in arc_alloc_compressed_buf()
3527 arc_alloc_raw_buf(spa_t *spa, void *tag, uint64_t dsobj, boolean_t byteorder, in arc_alloc_raw_buf() argument
3559 VERIFY0(arc_buf_alloc_impl(hdr, spa, NULL, tag, B_TRUE, B_TRUE, in arc_alloc_raw_buf()
3738 arc_buf_destroy(arc_buf_t *buf, void* tag) in arc_buf_destroy() argument
3745 VERIFY0(remove_reference(hdr, NULL, tag)); in arc_buf_destroy()
3759 (void) remove_reference(hdr, hash_lock, tag); in arc_buf_destroy()
4934 arc_get_data_abd(arc_buf_hdr_t *hdr, uint64_t size, void *tag, in arc_get_data_abd() argument
4939 arc_get_data_impl(hdr, size, tag, do_adapt); in arc_get_data_abd()
4949 arc_get_data_buf(arc_buf_hdr_t *hdr, uint64_t size, void *tag) in arc_get_data_buf() argument
4953 arc_get_data_impl(hdr, size, tag, B_TRUE); in arc_get_data_buf()
4969 arc_get_data_impl(arc_buf_hdr_t *hdr, uint64_t size, void *tag, in arc_get_data_impl() argument
5028 (void) zfs_refcount_add_many(&state->arcs_size, size, tag); in arc_get_data_impl()
5042 size, tag); in arc_get_data_impl()
5058 arc_free_data_abd(arc_buf_hdr_t *hdr, abd_t *abd, uint64_t size, void *tag) in arc_free_data_abd() argument
5060 arc_free_data_impl(hdr, size, tag); in arc_free_data_abd()
5065 arc_free_data_buf(arc_buf_hdr_t *hdr, void *buf, uint64_t size, void *tag) in arc_free_data_buf() argument
5069 arc_free_data_impl(hdr, size, tag); in arc_free_data_buf()
5082 arc_free_data_impl(arc_buf_hdr_t *hdr, uint64_t size, void *tag) in arc_free_data_impl() argument
5093 size, tag); in arc_free_data_impl()
5095 (void) zfs_refcount_remove_many(&state->arcs_size, size, tag); in arc_free_data_impl()
6153 arc_release(arc_buf_t *buf, void *tag) in arc_release() argument
6257 (void) remove_reference(hdr, hash_lock, tag); in arc_release()
6355 (void) zfs_refcount_add(&nhdr->b_l1hdr.b_refcnt, tag); in arc_release()