Home
last modified time | relevance | path

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

12

/openbmc/u-boot/lib/efi_loader/
H A Defi_device_path_utilities.c28 const struct efi_device_path *device_path) in get_device_path_size() argument
32 EFI_ENTRY("%pD", device_path); in get_device_path_size()
34 if (device_path) in get_device_path_size()
56 const struct efi_device_path *device_path) in duplicate_device_path() argument
58 EFI_ENTRY("%pD", device_path); in duplicate_device_path()
59 return EFI_EXIT(efi_dp_dup(device_path)); in duplicate_device_path()
97 const struct efi_device_path *device_path, in append_device_node() argument
100 EFI_ENTRY("%pD, %p", device_path, device_node); in append_device_node()
118 const struct efi_device_path *device_path, in append_device_path_instance() argument
162 const struct efi_device_path *device_path) in is_device_path_multi_instance() argument
[all …]
H A Defi_device_path_to_text.c311 struct efi_device_path *device_path, in efi_convert_device_path_to_text() argument
319 EFI_ENTRY("%p, %d, %d", device_path, display_only, allow_shortcuts); in efi_convert_device_path_to_text()
321 if (!device_path) in efi_convert_device_path_to_text()
323 while (device_path && in efi_convert_device_path_to_text()
326 str = efi_convert_single_device_node_to_text(str, device_path); in efi_convert_device_path_to_text()
327 device_path = efi_dp_next(device_path); in efi_convert_device_path_to_text()
H A Defi_bootmgr.c123 static void *try_load_entry(uint16_t n, struct efi_device_path **device_path, in try_load_entry() argument
155 efi_dp_split_file_path(lo.file_path, device_path, file_path); in try_load_entry()
169 void *efi_bootmgr_load(struct efi_device_path **device_path, in efi_bootmgr_load() argument
189 image = try_load_entry(bootorder[i], device_path, file_path); in efi_bootmgr_load()
H A Defi_hii_config.c83 const struct efi_device_path *device_path, in get_alt_config() argument
88 this, config_resp, guid, name, device_path, in get_alt_config()
H A Defi_disk.c194 struct efi_device_path *device_path; in efi_fs_from_path() local
199 ret = efi_dp_split_file_path(full_path, &device_path, &file_path); in efi_fs_from_path()
205 efiobj = efi_dp_find_obj(device_path, NULL); in efi_fs_from_path()
206 efi_free_pool(device_path); in efi_fs_from_path()
H A Defi_boottime.c1514 efi_status_t efi_setup_loaded_image(struct efi_device_path *device_path, in efi_setup_loaded_image() argument
1543 if (device_path) { in efi_setup_loaded_image()
1544 info->device_handle = efi_dp_find_obj(device_path, NULL); in efi_setup_loaded_image()
1550 &efi_guid_device_path, device_path); in efi_setup_loaded_image()
2329 struct efi_device_path **device_path, in efi_locate_device_path() argument
2342 EFI_ENTRY("%pUl, %p, %p", protocol, device_path, device); in efi_locate_device_path()
2344 if (!protocol || !device_path || !*device_path || !device) { in efi_locate_device_path()
2350 len = efi_dp_instance_size(*device_path); in efi_locate_device_path()
2375 if (memcmp(*device_path, dp, len_dp)) in efi_locate_device_path()
2381 remainder = (u8 *)*device_path + len_best; in efi_locate_device_path()
[all …]
/openbmc/linux/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c90 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
91 fd = open(device_path, O_RDONLY | O_CLOEXEC); in __do_binderfs_test()
113 snprintf(device_path, sizeof(device_path), "%s/my-binder", binderfs_mntpt); in __do_binderfs_test()
114 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test()
135 ret = unlink(device_path); in __do_binderfs_test()
144 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
145 ret = unlink(device_path); in __do_binderfs_test()
159 snprintf(device_path, sizeof(device_path), "%s/features/%s", in __do_binderfs_test()
161 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test()
422 snprintf(device_path, sizeof(device_path), in TEST()
[all …]
/openbmc/u-boot/cmd/
H A Dbootefi.c202 struct efi_device_path *device_path, in bootefi_run_prepare() argument
209 ret = efi_setup_loaded_image(device_path, image_path, image_objp, in bootefi_run_prepare()
246 struct efi_device_path *device_path, in do_bootefi_exec() argument
260 if (!device_path && !image_path) { in do_bootefi_exec()
264 device_path = image_path = memdp; in do_bootefi_exec()
273 device_path); in do_bootefi_exec()
277 assert(device_path && image_path); in do_bootefi_exec()
280 ret = bootefi_run_prepare("bootargs", device_path, image_path, in do_bootefi_exec()
367 struct efi_device_path *device_path, *file_path; in do_bootefi_bootmgr_exec() local
371 addr = efi_bootmgr_load(&device_path, &file_path); in do_bootefi_bootmgr_exec()
[all …]
H A Defidebug.c483 struct efi_device_path *device_path = NULL, *file_path = NULL; in do_efi_boot_add() local
515 ret = efi_dp_from_name(argv[3], argv[4], argv[5], &device_path, in do_efi_boot_add()
543 efi_free_pool(device_path); in do_efi_boot_add()
/openbmc/linux/tools/laptop/freefall/
H A Dfreefall.c26 static char device_path[32]; variable
33 strncpy(device_path, device, sizeof(device_path) - 1); in set_unload_heads_path()
85 syslog(LOG_INFO, "%s %s disk head\n", str, device_path); in protect()
/openbmc/linux/drivers/firmware/
H A Dedd.c188 info->params.device_path.atapi.device, in edd_show_interface()
189 info->params.device_path.atapi.lun); in edd_show_interface()
192 info->params.device_path.ata.device); in edd_show_interface()
195 info->params.device_path.scsi.id, in edd_show_interface()
196 info->params.device_path.scsi.lun); in edd_show_interface()
202 info->params.device_path.i1394.eui); in edd_show_interface()
205 info->params.device_path.fibre.wwid, in edd_show_interface()
206 info->params.device_path.fibre.lun); in edd_show_interface()
209 info->params.device_path.i2o.identity_tag); in edd_show_interface()
215 info->params.device_path.sata.device); in edd_show_interface()
[all …]
/openbmc/linux/sound/xen/
H A Dxen_snd_front_cfg.c389 char *device_path; in cfg_device() local
395 device_path = kasprintf(GFP_KERNEL, "%s/%d", path, node_index); in cfg_device()
396 if (!device_path) in cfg_device()
399 str = xenbus_read(XBT_NIL, device_path, XENSND_FIELD_DEVICE_NAME, NULL); in cfg_device()
412 cfg_read_pcm_hw(device_path, parent_pcm_hw, &pcm_instance->pcm_hw); in cfg_device()
418 if (!xenbus_exists(XBT_NIL, device_path, node)) in cfg_device()
428 ret = cfg_get_stream_type(device_path, i, &num_pb, &num_cap); in cfg_device()
463 ret = cfg_stream(front_info, pcm_instance, device_path, i, in cfg_device()
471 kfree(device_path); in cfg_device()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-rnbd-client13 > [path=<[srcaddr,]dstaddr>] device_path=<full path on remote side>
26 device_path=<full path on remote side>
62 device_path:
66 The rnbd_server prepends the <device_path> received from client
68 <dev_search_path>/<device_path> block device. On success,
76 client has this string "sessname=blya device_path=sda", then server
130 - If the 'device_path' provided during mapping contains slashes ("/"),
133 "device_path" provided.
/openbmc/linux/drivers/block/rnbd/
H A DREADME31 # echo "sessname=blya path=ip:10.50.100.66 device_path=/dev/ram0" > \
38 description for details); "device_path=" is the block device to be
52 and the "device_path" that was specified in the map_device operation.
57 different device namespaces for different sessions. See "device_path"
/openbmc/linux/tools/testing/selftests/sgx/
H A Dload.c179 const char device_path[] = "/dev/sgx_enclave"; in encl_load() local
192 fd = open(device_path, O_RDWR); in encl_load()
198 ret = stat(device_path, &sb); in encl_load()
/openbmc/u-boot/include/
H A Defi_api.h115 struct efi_device_path **device_path,
676 struct efi_device_path *device_path,
687 const struct efi_device_path *device_path);
689 const struct efi_device_path *device_path);
694 const struct efi_device_path *device_path,
697 const struct efi_device_path *device_path,
703 const struct efi_device_path *device_path);
825 efi_string_id_t device_path; member
1094 const struct efi_device_path *device_path,
H A Defi_loader.h399 efi_status_t efi_setup_loaded_image(struct efi_device_path *device_path,
456 struct efi_device_path **device_path,
558 void *efi_bootmgr_load(struct efi_device_path **device_path,
/openbmc/qemu/tests/qemu-iotests/
H A D14970 def device_path(self): member in LUKSConfig
180 path = config.device_path()
280 "driver=host_device,filename=%s" % config.device_path()]
H A D139100 device_path = '/machine/peripheral/%s/virtio-backend' % device
102 match={'data': {'path': device_path}})
/openbmc/qemu/net/
H A Dtap-win32.c595 g_autofree char *device_path = NULL; in tap_win32_open() local
617 device_path = g_strdup_printf("%s%s%s", in tap_win32_open()
623 device_path, in tap_win32_open()
/openbmc/linux/include/uapi/linux/
H A Dedd.h168 } device_path; member
/openbmc/u-boot/include/linux/
H A Dedd.h158 } device_path; member
/openbmc/linux/fs/btrfs/
H A Ddev-replace.c244 const char *device_path, in btrfs_init_dev_replace_tgtdev() argument
260 bdev = blkdev_get_by_path(device_path, BLK_OPEN_WRITE, in btrfs_init_dev_replace_tgtdev()
263 btrfs_err(fs_info, "target device %s is invalid!", device_path); in btrfs_init_dev_replace_tgtdev()
294 device = btrfs_alloc_device(NULL, &devid, NULL, device_path); in btrfs_init_dev_replace_tgtdev()
300 ret = lookup_bdev(device_path, &device->devt); in btrfs_init_dev_replace_tgtdev()
/openbmc/linux/drivers/nvme/target/
H A Dio-cmd-file.c41 ns->file = filp_open(ns->device_path, flags, 0); in nvmet_file_ns_enable()
45 ns->device_path, ret); in nvmet_file_ns_enable()
H A Dio-cmd-bdev.c87 ns->bdev = blkdev_get_by_path(ns->device_path, in nvmet_bdev_ns_enable()
93 ns->device_path, PTR_ERR(ns->bdev)); in nvmet_bdev_ns_enable()

12