Home
last modified time | relevance | path

Searched refs:nvpf_hdr_t (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/common/os/
H A Ddevcache.c375 nvpf_hdr_t hdr; in fread_nvlist()
683 buf = kmem_alloc(sizeof (nvpf_hdr_t) + buflen, KM_SLEEP); in fwrite_nvlist()
684 bzero(buf, sizeof (nvpf_hdr_t)); in fwrite_nvlist()
686 ((nvpf_hdr_t *)buf)->nvpf_magic = NVPF_HDR_MAGIC; in fwrite_nvlist()
687 ((nvpf_hdr_t *)buf)->nvpf_version = NVPF_HDR_VERSION; in fwrite_nvlist()
688 ((nvpf_hdr_t *)buf)->nvpf_size = buflen; in fwrite_nvlist()
689 ((nvpf_hdr_t *)buf)->nvpf_chksum = nvp_cksum((uchar_t *)nvbuf, buflen); in fwrite_nvlist()
690 ((nvpf_hdr_t *)buf)->nvpf_hdr_chksum = in fwrite_nvlist()
691 nvp_cksum((uchar_t *)buf, sizeof (nvpf_hdr_t)); in fwrite_nvlist()
693 bcopy(nvbuf, buf + sizeof (nvpf_hdr_t), buflen); in fwrite_nvlist()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Ddevcache_impl.h57 } nvpf_hdr_t; typedef