Lines Matching refs:head
1087 arc_buf_hdr_t *l2wcb_head; /* head of write buflist */
4406 * - move the buffer to the head of the list if this is
4468 * the head of the list now.
6107 * head --> tail
6350 arc_buf_hdr_t *head, *hdr, *hdr_prev;
6358 head = cb->l2wcb_head;
6359 ASSERT3P(head, !=, NULL);
6373 for (hdr = list_prev(buflist, head); hdr; hdr = hdr_prev) {
6393 * we reinsert the head node so we can pick up
6396 list_remove(buflist, head);
6397 list_insert_after(buflist, hdr, head);
6444 list_remove(buflist, head);
6445 ASSERT(!HDR_HAS_L1HDR(head));
6446 kmem_cache_free(hdr_l2only_cache, head);
6634 * We hit a write head node. Leave it for
6700 arc_buf_hdr_t *hdr, *hdr_prev, *head;
6712 head = kmem_cache_alloc(hdr_l2only_cache, KM_PUSHPAGE);
6713 arc_hdr_set_flags(head, ARC_FLAG_L2_WRITE_HEAD | ARC_FLAG_HAS_L2HDR);
6726 * head of the ARC lists rather than the tail.
6780 list_insert_head(&dev->l2ad_buflist, head);
6786 cb->l2wcb_head = head;
6872 ASSERT(!HDR_HAS_L1HDR(head));
6873 kmem_cache_free(hdr_l2only_cache, head);