Searched refs:nvlhdr (Results 1 – 1 of 1) sorted by relevance
833 struct nvlist_header nvlhdr; in nvlist_pack_header() local837 nvlhdr.nvlh_magic = NVLIST_HEADER_MAGIC; in nvlist_pack_header()838 nvlhdr.nvlh_version = NVLIST_HEADER_VERSION; in nvlist_pack_header()839 nvlhdr.nvlh_flags = nvl->nvl_flags; in nvlist_pack_header()841 nvlhdr.nvlh_flags |= NV_FLAG_BIG_ENDIAN; in nvlist_pack_header()843 nvlhdr.nvlh_descriptors = nvlist_ndescriptors(nvl); in nvlist_pack_header()844 nvlhdr.nvlh_size = *leftp - sizeof(nvlhdr); in nvlist_pack_header()845 PJDLOG_ASSERT(*leftp >= sizeof(nvlhdr)); in nvlist_pack_header()846 memcpy(ptr, &nvlhdr, sizeof(nvlhdr)); in nvlist_pack_header()847 ptr += sizeof(nvlhdr); in nvlist_pack_header()[all …]