Lines Matching defs:tag

2065 add_reference(arc_buf_hdr_t *hdr, void *tag)
2076 if ((refcount_add(&hdr->b_l1hdr.b_refcnt, tag) == 1) &&
2095 remove_reference(arc_buf_hdr_t *hdr, kmutex_t *hash_lock, void *tag)
2108 if (((cnt = refcount_remove(&hdr->b_l1hdr.b_refcnt, tag)) == 0) &&
2417 arc_buf_alloc_impl(arc_buf_hdr_t *hdr, void *tag, boolean_t compressed,
2435 add_reference(hdr, tag);
2535 arc_return_buf(arc_buf_t *buf, void *tag)
2541 (void) refcount_add(&hdr->b_l1hdr.b_refcnt, tag);
2547 /* Detach an arc_buf from a dbuf (tag) */
2549 arc_loan_inuse_buf(arc_buf_t *buf, void *tag)
2556 (void) refcount_remove(&hdr->b_l1hdr.b_refcnt, tag);
2959 * Since we're using the pointer address as the tag when
2980 arc_alloc_buf(spa_t *spa, void *tag, arc_buf_contents_t type, int32_t size)
2987 VERIFY0(arc_buf_alloc_impl(hdr, tag, B_FALSE, B_FALSE, &buf));
2998 arc_alloc_compressed_buf(spa_t *spa, void *tag, uint64_t psize, uint64_t lsize,
3011 VERIFY0(arc_buf_alloc_impl(hdr, tag, B_TRUE, B_FALSE, &buf));
3106 arc_buf_destroy(arc_buf_t *buf, void* tag)
3114 VERIFY0(remove_reference(hdr, NULL, tag));
3126 (void) remove_reference(hdr, hash_lock, tag);
4255 arc_get_data_buf(arc_buf_hdr_t *hdr, uint64_t size, void *tag)
4315 (void) refcount_add_many(&state->arcs_size, size, tag);
4329 size, tag);
4348 arc_free_data_buf(arc_buf_hdr_t *hdr, void *data, uint64_t size, void *tag)
4359 size, tag);
4361 (void) refcount_remove_many(&state->arcs_size, size, tag);
5111 arc_release(arc_buf_t *buf, void *tag)
5198 (void) remove_reference(hdr, hash_lock, tag);
5283 (void) refcount_add(&nhdr->b_l1hdr.b_refcnt, tag);