Home
last modified time | relevance | path

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

/xnu-8019.80.24/libkern/kxld/
H A Dkxld_uuid.c73 struct uuid_command *uuidhdr = NULL; in kxld_uuid_export_macho() local
79 require_action(sizeof(*uuidhdr) <= header_size - *header_offset, finish, in kxld_uuid_export_macho()
81 uuidhdr = (struct uuid_command *) ((void *) (buf + *header_offset)); in kxld_uuid_export_macho()
82 *header_offset += sizeof(*uuidhdr); in kxld_uuid_export_macho()
84 uuidhdr->cmd = LC_UUID; in kxld_uuid_export_macho()
85 uuidhdr->cmdsize = (uint32_t) sizeof(*uuidhdr); in kxld_uuid_export_macho()
86 memcpy(uuidhdr->uuid, uuid->uuid, sizeof(uuidhdr->uuid)); in kxld_uuid_export_macho()