Searched refs:nvfbuf (Results 1 – 1 of 1) sorted by relevance
920 char *nvfbuf; in nvf_flush() local956 nvfbuf = kmem_zalloc(nvflen, KM_SLEEP); in nvf_flush()961 ((nvf_hdr_t *)nvfbuf)->nvfh_magic = NVF_HDR_MAGIC; in nvf_flush()962 ((nvf_hdr_t *)nvfbuf)->nvfh_ver = NVF_HDR_VERSION; in nvf_flush()963 ((nvf_hdr_t *)nvfbuf)->nvfh_size = nvllen; in nvf_flush()964 ((nvf_hdr_t *)nvfbuf)->nvfh_datasum = nvf_chksum((char *)nvlbuf, in nvf_flush()966 ((nvf_hdr_t *)nvfbuf)->nvfh_hdrsum = nvf_chksum((char *)nvfbuf, in nvf_flush()972 bcopy(nvlbuf, nvfbuf + sizeof (nvf_hdr_t), nvllen); in nvf_flush()992 kmem_free(nvfbuf, nvflen); in nvf_flush()1008 kmem_free(nvfbuf, nvflen); in nvf_flush()[all …]