| /linux/tools/testing/selftests/filesystems/binderfs/ |
| H A D | binderfs_test.c | 63 device_path[sizeof(P_tmpdir "/binderfs_XXXXXX/") + BINDERFS_MAX_NAME]; in __do_binderfs_test() local 91 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test() 92 fd = open(device_path, O_RDONLY | O_CLOEXEC); in __do_binderfs_test() 114 snprintf(device_path, sizeof(device_path), "%s/my-binder", binderfs_mntpt); in __do_binderfs_test() 115 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test() 136 ret = unlink(device_path); in __do_binderfs_test() 145 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test() 146 ret = unlink(device_path); in __do_binderfs_test() 160 snprintf(device_path, sizeof(device_path), "%s/features/%s", in __do_binderfs_test() 162 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test() [all …]
|
| /linux/drivers/firmware/ |
| H A D | edd.c | 188 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() 199 info->params.device_path.usb.serial_number); 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() [all …]
|
| /linux/tools/laptop/freefall/ |
| H A D | freefall.c | 26 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()
|
| /linux/sound/xen/ |
| H A D | xen_snd_front_cfg.c | 389 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()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-rnbd-client | 13 > [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.
|
| H A D | sysfs-block-rnbd | 39 Description: Contains the path that was passed as "device_path" to the map_device
|
| /linux/tools/testing/selftests/drivers/net/virtio_net/ |
| H A D | virtio_net_common.sh | 37 local device_path="/sys/class/net/$dev/device/" 39 basename `realpath $device_path`
|
| /linux/drivers/block/rnbd/ |
| H A D | README | 31 # 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"
|
| /linux/drivers/gpib/lpvo_usb_gpib/ |
| H A D | lpvo_usb_gpib.c | 389 char *device_path; in usb_gpib_attach() local 394 board, board->interface->name, board->minor, config->device_path, in usb_gpib_attach() 403 if (config->device_path) { in usb_gpib_attach() 409 device_path = kobject_get_path(&udev->dev.kobj, GFP_KERNEL); in usb_gpib_attach() 411 config->device_path); in usb_gpib_attach() 413 lpvo_usb_interfaces[j]->minor, device_path, match); in usb_gpib_attach() 414 kfree(device_path); in usb_gpib_attach() 1862 char *device_path; in skel_probe() local 1911 device_path = kobject_get_path(&dev->udev->dev.kobj, GFP_KERNEL); in skel_probe() 1913 dev->udev->bus->busnum, dev->udev->devnum, device_path); in skel_probe() [all …]
|
| /linux/drivers/gpib/common/ |
| H A D | gpib_os.c | 1847 selection->device_path[sizeof(selection->device_path) - 1] = '\0'; in select_device_path_ioctl() 1848 kfree(config->device_path); in select_device_path_ioctl() 1849 config->device_path = NULL; in select_device_path_ioctl() 1850 if (strlen(selection->device_path) > 0) in select_device_path_ioctl() 1851 config->device_path = kstrdup(selection->device_path, GFP_KERNEL); in select_device_path_ioctl() 2211 char *device_path; in gpib_match_device_path() local 2213 device_path = kobject_get_path(&dev->kobj, GFP_KERNEL); in gpib_match_device_path() 2214 if (!device_path) { in gpib_match_device_path() 2218 if (strcmp(device_path_in, device_path) != 0) { in gpib_match_device_path() 2219 kfree(device_path); in gpib_match_device_path() [all …]
|
| /linux/tools/testing/selftests/sgx/ |
| H A D | load.c | 179 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()
|
| /linux/include/uapi/linux/ |
| H A D | edd.h | 168 } device_path; member
|
| H A D | gpib_ioctl.h | 110 char device_path[0x1000]; member
|
| /linux/drivers/nvme/target/ |
| H A D | io-cmd-file.c | 41 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 D | io-cmd-bdev.c | 94 ns->bdev_file = bdev_file_open_by_path(ns->device_path, in nvmet_bdev_ns_enable() 100 ns->device_path, ret); in nvmet_bdev_ns_enable()
|
| H A D | trace.h | 62 strscpy_pad(name, req->ns->device_path, DISK_NAME_LEN); in __assign_req_name()
|
| H A D | configfs.c | 500 return sprintf(page, "%s\n", to_nvmet_ns(item)->device_path); in nvmet_ns_device_path_show() 521 kfree(ns->device_path); in nvmet_ns_device_path_store() 523 ns->device_path = kmemdup_nul(page, len, GFP_KERNEL); in nvmet_ns_device_path_store() 524 if (!ns->device_path) in nvmet_ns_device_path_store() 535 CONFIGFS_ATTR(nvmet_ns_, device_path); 913 CONFIGFS_ATTR(nvmet_passthru_, device_path);
|
| H A D | core.c | 487 ns->device_path); in nvmet_p2pmem_ns_enable() 506 ns->device_path); in nvmet_p2pmem_ns_enable() 541 dev_name(ctrl->p2p_client), ns->device_path); in nvmet_p2pmem_ns_add_p2p() 682 kfree(ns->device_path); in nvmet_ns_free()
|
| H A D | nvmet.h | 116 const char *device_path; member
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-dust.rst | 36 <device_path> <offset> <blksz> 39 <device_path>: 43 Offset to data area from start of device_path
|
| /linux/drivers/gpib/include/ |
| H A D | gpib_types.h | 45 char *device_path; member
|
| /linux/Documentation/usb/ |
| H A D | authorization.rst | 60 echo 1 > $device_path/authorized
|
| /linux/Documentation/trace/coresight/ |
| H A D | coresight-ect.rst | 148 echo <chan> [<trigger>] > /<device_path>/<operation>
|
| /linux/Documentation/nvme/ |
| H A D | nvme-pci-endpoint-target.rst | 226 # echo -n "/dev/nullb0" > nvmepf.0.nqn/namespaces/1/device_path
|
| /linux/drivers/gpib/fmh_gpib/ |
| H A D | fmh_gpib.c | 1366 if (gpib_match_device_path(dev, config->device_path) == 0) in fmh_gpib_device_match()
|