Lines Matching defs:nhdr
3599 arc_buf_hdr_t *nhdr;
3643 nhdr = kmem_cache_alloc(hdr_cache, KM_PUSHPAGE);
3644 nhdr->b_size = blksz;
3645 nhdr->b_spa = spa;
3646 nhdr->b_type = type;
3647 nhdr->b_buf = buf;
3648 nhdr->b_state = arc_anon;
3649 nhdr->b_arc_access = 0;
3650 nhdr->b_flags = flags & ARC_L2_WRITING;
3651 nhdr->b_l2hdr = NULL;
3652 nhdr->b_datacnt = 1;
3653 nhdr->b_freeze_cksum = NULL;
3654 (void) refcount_add(&nhdr->b_refcnt, tag);
3655 buf->b_hdr = nhdr;