Lines Matching refs:END
19 static const struct efi_device_path END = { variable
22 .length = sizeof(END),
195 unsigned sz = efi_dp_size(dp) + sizeof(END); in efi_dp_dup()
219 void *p = dp_alloc(sz1 + sz2 + sizeof(END)); in efi_dp_append()
222 memcpy(p + sz1 + sz2, &END, sizeof(END)); in efi_dp_append()
235 ret = efi_dp_dup(&END); in efi_dp_append_node()
240 void *p = dp_alloc(sz + sizeof(END)); in efi_dp_append_node()
242 memcpy(p + sz, &END, sizeof(END)); in efi_dp_append_node()
247 void *p = dp_alloc(sz + node->length + sizeof(END)); in efi_dp_append_node()
250 memcpy(p + sz + node->length, &END, sizeof(END)); in efi_dp_append_node()
344 start = buf = dp_alloc(dp_size(dev) + sizeof(END)); in efi_dp_from_dev()
346 *((struct efi_device_path *)buf) = END; in efi_dp_from_dev()
447 start = buf = dp_alloc(dp_part_size(desc, part) + sizeof(END)); in efi_dp_from_part()
451 *((struct efi_device_path *)buf) = END; in efi_dp_from_part()
485 start = buf = dp_alloc(dpsize + sizeof(END)); in efi_dp_from_file()
498 *((struct efi_device_path *)buf) = END; in efi_dp_from_file()
519 start = buf = dp_alloc(dpsize + sizeof(END)); in efi_dp_from_eth()
535 *((struct efi_device_path *)buf) = END; in efi_dp_from_eth()