Lines Matching refs:hob_length
20 uint16_t hob_type, uint16_t hob_length) in create_hob() argument
26 hob_length = ROUNDUP(hob_length, HOB_ALIGN); in create_hob()
28 assert(hob_table && hob_length); in create_hob()
37 if (hob_length > free_mem_size) in create_hob()
42 new_hob->hob_length = hob_length; in create_hob()
45 hob_end = (void *)((vaddr_t)new_hob + hob_length); in create_hob()
47 hob_end->hob_length = sizeof(struct efi_hob_generic_header); in create_hob()
70 hob_table->header.hob_length = in efi_create_hob_list()
75 hob_end->hob_length = sizeof(struct efi_hob_generic_header); in efi_create_hob_list()
119 uint16_t hob_length = 0; in efi_create_guid_hob() local
121 hob_length = data_length + sizeof(struct efi_hob_guid_type); in efi_create_guid_hob()
123 if (!guid || !data || hob_length < data_length) in efi_create_guid_hob()
127 EFI_HOB_TYPE_GUID_EXTENSION, hob_length); in efi_create_guid_hob()