Searched refs:nvlhdr (Results 1 – 1 of 1) sorted by relevance
826 struct nvlist_header nvlhdr; in nvlist_pack_header() local830 nvlhdr.nvlh_magic = NVLIST_HEADER_MAGIC; in nvlist_pack_header()831 nvlhdr.nvlh_version = NVLIST_HEADER_VERSION; in nvlist_pack_header()832 nvlhdr.nvlh_flags = nvl->nvl_flags; in nvlist_pack_header()834 nvlhdr.nvlh_flags |= NV_FLAG_BIG_ENDIAN; in nvlist_pack_header()836 nvlhdr.nvlh_descriptors = nvlist_ndescriptors(nvl); in nvlist_pack_header()837 nvlhdr.nvlh_size = *leftp - sizeof(nvlhdr); in nvlist_pack_header()838 PJDLOG_ASSERT(*leftp >= sizeof(nvlhdr)); in nvlist_pack_header()839 memcpy(ptr, &nvlhdr, sizeof(nvlhdr)); in nvlist_pack_header()840 ptr += sizeof(nvlhdr); in nvlist_pack_header()[all …]