Lines Matching refs:b_buf
1442 for (arc_buf_t *b = hdr->b_l1hdr.b_buf; b != NULL; b = b->b_next) { in arc_hdr_has_uncompressed_buf()
1714 for (arc_buf_t *from = hdr->b_l1hdr.b_buf; from != NULL; in arc_buf_try_copy_decompressed_data()
2242 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in arc_evictable_space_increment()
2259 for (arc_buf_t *buf = hdr->b_l1hdr.b_buf; buf != NULL; in arc_evictable_space_increment()
2281 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in arc_evictable_space_decrement()
2298 for (arc_buf_t *buf = hdr->b_l1hdr.b_buf; buf != NULL; in arc_evictable_space_decrement()
2322 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in add_reference()
2397 for (arc_buf_t *buf = l1hdr->b_buf; buf; buf = buf->b_next) in arc_buf_info()
2439 update_old = (hdr->b_l1hdr.b_buf != NULL || in arc_change_state()
2442 IMPLY(GHOST_STATE(old_state), hdr->b_l1hdr.b_buf == NULL); in arc_change_state()
2443 IMPLY(GHOST_STATE(new_state), hdr->b_l1hdr.b_buf == NULL); in arc_change_state()
2444 IMPLY(old_state == arc_anon, hdr->b_l1hdr.b_buf == NULL || in arc_change_state()
2445 ARC_BUF_LAST(hdr->b_l1hdr.b_buf)); in arc_change_state()
2515 for (arc_buf_t *buf = hdr->b_l1hdr.b_buf; buf != NULL; in arc_change_state()
2571 for (arc_buf_t *buf = hdr->b_l1hdr.b_buf; buf != NULL; in arc_change_state()
2767 buf->b_next = hdr->b_l1hdr.b_buf; in arc_buf_alloc_impl()
2834 hdr->b_l1hdr.b_buf = buf; in arc_buf_alloc_impl()
3053 arc_buf_t **bufp = &hdr->b_l1hdr.b_buf; in arc_buf_remove()
3123 for (b = hdr->b_l1hdr.b_buf; b; b = b->b_next) { in arc_buf_destroy_impl()
3312 hdr->b_l1hdr.b_buf = NULL; in arc_hdr_alloc()
3357 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in arc_hdr_realloc()
3691 while (hdr->b_l1hdr.b_buf != NULL) in arc_hdr_destroy()
3692 arc_buf_destroy_impl(hdr->b_l1hdr.b_buf); in arc_hdr_destroy()
3720 ASSERT3P(hdr->b_l1hdr.b_buf, ==, buf); in arc_buf_destroy()
3731 ASSERT3P(hdr->b_l1hdr.b_buf, !=, NULL); in arc_buf_destroy()
3774 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in arc_evict_hdr()
6138 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in arc_read()
6604 ASSERT3P(hdr->b_l1hdr.b_buf, ==, buf); in arc_release()
6640 if (hdr->b_l1hdr.b_buf != buf || !ARC_BUF_LAST(buf)) { in arc_release()
6650 ASSERT3P(hdr->b_l1hdr.b_buf, !=, buf); in arc_release()
6718 ASSERT3P(nhdr->b_l1hdr.b_buf, ==, NULL); in arc_release()
6723 nhdr->b_l1hdr.b_buf = buf; in arc_release()
6783 ASSERT3P(hdr->b_l1hdr.b_buf, !=, NULL); in arc_write_ready()
6922 ASSERT3P(hdr->b_l1hdr.b_buf, ==, buf); in arc_write_ready()
7004 ASSERT3P(hdr->b_l1hdr.b_buf, !=, NULL); in arc_write_done()
7005 ASSERT(ARC_BUF_LAST(hdr->b_l1hdr.b_buf)); in arc_write_done()
7046 ASSERT3P(hdr->b_l1hdr.b_buf, !=, NULL); in arc_write()