Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Defi-api.c61 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()
[all …]
Dtpm2-util.c1220 …_cleanup_free_ char *device_path = NULL, *device = NULL, *driver_path = NULL, *driver = NULL, *nod… in tpm2_list_devices() local
1227 device_path = path_join("/sys/class/tpmrm", de->d_name, "device"); in tpm2_list_devices()
1228 if (!device_path) in tpm2_list_devices()
1231 r = readlink_malloc(device_path, &device); in tpm2_list_devices()
1233 … log_debug_errno(r, "Failed to read device symlink %s, ignoring: %m", device_path); in tpm2_list_devices()
1235 driver_path = path_join(device_path, "driver"); in tpm2_list_devices()
/systemd-251/src/boot/efi/
Ddisk.c10 EFI_DEVICE_PATH *device_path; in disk_get_part_uuid() local
17 device_path = DevicePathFromHandle(handle); in disk_get_part_uuid()
18 if (!device_path) in disk_get_part_uuid()
21 paths = UnpackDevicePath(device_path); in disk_get_part_uuid()
Dshim.c73 … const EFI_DEVICE_PATH_PROTOCOL *device_path, in security2_policy_authentication() argument
81 status = es2fa(this, device_path, file_buffer, file_size, boot_policy); in security2_policy_authentication()
/systemd-251/src/integritysetup/
Dintegritysetup-generator.c134 …_cleanup_free_ char *line = NULL, *name = NULL, *device_id = NULL, *device_path = NULL, *key_file … in add_integritytab_devices() local
159 device_path = fstab_node_to_udev_node(device_id); in add_integritytab_devices()
160 if (!device_path) { in add_integritytab_devices()
165 …r = create_disk(name, device_path, empty_or_dash_to_null(key_file), empty_or_dash_to_null(options)… in add_integritytab_devices()
/systemd-251/src/udev/
Dudevadm-info.c570 const char *device_path, *str; in draw_tree() local
574 r = sd_device_get_devpath(device, &device_path); in draw_tree()
587 if (!path_startswith(next_path, device_path)) { in draw_tree()
595 str = parent ? ASSERT_PTR(path_startswith(device_path, parent_path)) : device_path; in draw_tree()
/systemd-251/src/cryptsetup/
Dcryptsetup-generator.c230 static int print_dependencies(FILE *f, const char* device_path) { in print_dependencies() argument
233 if (STR_IN_SET(device_path, "-", "none")) in print_dependencies()
237 if (PATH_IN_SET(device_path, in print_dependencies()
247 _cleanup_free_ char *udev_node = fstab_node_to_udev_node(device_path); in print_dependencies()
267 _cleanup_free_ char *escaped_path = specifier_escape(device_path); in print_dependencies()