Lines Matching refs:hob_length
22 uint16_t hob_type, uint16_t hob_length) in _create_hob() argument
28 if ((hob_table == NULL) || (hob_length == 0)) { in _create_hob()
32 hob_length = ALIGN_UP(hob_length, 8); in _create_hob()
39 if ((size_t) hob_length > free_mem_size) { in _create_hob()
45 new_hob->hob_length = hob_length; in _create_hob()
48 hob_end = (struct efi_hob_generic_header *) (hob_table->efi_end_of_hob_list + hob_length); in _create_hob()
50 hob_end->hob_length = sizeof(struct efi_hob_generic_header); in _create_hob()
90 hob_table->header.hob_length = sizeof(struct efi_hob_handoff_info_table); in create_hob_list()
94 hob_end->hob_length = sizeof(struct efi_hob_generic_header); in create_hob_list()
172 uint16_t hob_length; in create_guid_hob() local
174 hob_length = data_length + sizeof(struct efi_hob_guid_type); in create_guid_hob()
176 if ((guid == NULL) || (data == NULL) || (hob_length < data_length)) { in create_guid_hob()
180 guid_hob = _create_hob(hob_table, EFI_HOB_TYPE_GUID_EXTENSION, hob_length); in create_guid_hob()