Lines Matching refs:device_path
61 struct device_path device_path__contents;
63 assert_cc(sizeof(struct device_path) == sizeof(struct device_path__packed));
269 struct device_path *dpath; in efi_get_boot_option()
271 dpath = (struct device_path *)(dbuf + dnext); in efi_get_boot_option()
362 struct device_path *devicep; in efi_add_boot_option()
373 sizeof(struct device_path) + path_len); in efi_add_boot_option()
380 option->path_len = offsetof(struct device_path, drive) + sizeof(struct drive_path) + in efi_add_boot_option()
381 offsetof(struct device_path, path) + path_len + in efi_add_boot_option()
382 offsetof(struct device_path, path); in efi_add_boot_option()
387 devicep = (struct device_path *)(buf + size); in efi_add_boot_option()
390 devicep->length = offsetof(struct device_path, drive) + sizeof(struct drive_path); in efi_add_boot_option()
400 devicep = (struct device_path *)(buf + size); in efi_add_boot_option()
403 devicep->length = offsetof(struct device_path, path) + path_len; in efi_add_boot_option()
409 devicep = (struct device_path *)(buf + size); in efi_add_boot_option()
412 devicep->length = offsetof(struct device_path, path); in efi_add_boot_option()