Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/filesystems/binderfs/
A Dbinderfs_test.c89 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
90 fd = open(device_path, O_RDONLY | O_CLOEXEC); in __do_binderfs_test()
112 snprintf(device_path, sizeof(device_path), "%s/my-binder", binderfs_mntpt); in __do_binderfs_test()
113 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test()
134 ret = unlink(device_path); in __do_binderfs_test()
143 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
144 ret = unlink(device_path); in __do_binderfs_test()
158 snprintf(device_path, sizeof(device_path), "%s/features/%s", in __do_binderfs_test()
160 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test()
420 snprintf(device_path, sizeof(device_path), in TEST()
[all …]
/linux/drivers/firmware/
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 …]
/linux/tools/laptop/freefall/
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()
/linux/sound/xen/
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()
/linux/Documentation/ABI/testing/
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.
A Dsysfs-block-rnbd39 Description: Contains the path that was passed as "device_path" to the map_device
/linux/drivers/block/rnbd/
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"
/linux/tools/testing/selftests/sgx/
A Dload.c129 const char device_path[] = "/dev/sgx_enclave"; in encl_load() local
141 fd = open(device_path, O_RDWR); in encl_load()
147 ret = stat(device_path, &sb); in encl_load()
/linux/drivers/parisc/
A Dpdc_stable.c91 struct device_path devpath; /* device path in parisc representation */
141 struct device_path *devpath; in pdcspath_fetch()
182 struct device_path *devpath; in pdcspath_store()
224 struct device_path *devpath; in pdcspath_hwpath_read()
345 struct device_path *devpath; in pdcspath_layer_read()
/linux/drivers/nvme/target/
A Dtrace.h56 strncpy(name, req->ns->device_path, in __assign_req_name()
57 min_t(size_t, DISK_NAME_LEN, strlen(req->ns->device_path))); in __assign_req_name()
A Dconfigfs.c332 return sprintf(page, "%s\n", to_nvmet_ns(item)->device_path); in nvmet_ns_device_path_show()
353 kfree(ns->device_path); in nvmet_ns_device_path_store()
355 ns->device_path = kmemdup_nul(page, len, GFP_KERNEL); in nvmet_ns_device_path_store()
356 if (!ns->device_path) in nvmet_ns_device_path_store()
367 CONFIGFS_ATTR(nvmet_ns_, device_path);
708 CONFIGFS_ATTR(nvmet_passthru_, device_path);
A Dio-cmd-file.c51 ns->file = filp_open(ns->device_path, flags, 0); in nvmet_file_ns_enable()
55 ns->device_path, ret); in nvmet_file_ns_enable()
A Dio-cmd-bdev.c79 ns->bdev = blkdev_get_by_path(ns->device_path, in nvmet_bdev_ns_enable()
85 ns->device_path, PTR_ERR(ns->bdev)); in nvmet_bdev_ns_enable()
A Dcore.c466 ns->device_path); in nvmet_p2pmem_ns_enable()
485 ns->device_path); in nvmet_p2pmem_ns_enable()
521 dev_name(ctrl->p2p_client), ns->device_path); in nvmet_p2pmem_ns_add_p2p()
662 kfree(ns->device_path); in nvmet_ns_free()
A Dnvmet.h73 const char *device_path; member
/linux/arch/parisc/include/uapi/asm/
A Dpdc.h371 struct device_path { /* page 1-69 */ struct
379 struct device_path dp; /* see above */ argument
/linux/include/uapi/linux/
A Dedd.h168 } device_path; member
/linux/Documentation/admin-guide/device-mapper/
A Ddm-dust.rst36 <device_path> <offset> <blksz>
39 <device_path>:
43 Offset to data area from start of device_path
/linux/fs/btrfs/
A Ddev-replace.c242 const char *device_path, in btrfs_init_dev_replace_tgtdev() argument
258 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_dev_replace_tgtdev()
261 btrfs_err(fs_info, "target device %s is invalid!", device_path); in btrfs_init_dev_replace_tgtdev()
298 name = rcu_string_strdup(device_path, GFP_KERNEL); in btrfs_init_dev_replace_tgtdev()
A Dvolumes.c504 *bdev = blkdev_get_by_path(device_path, flags, holder); in btrfs_get_bdev_and_sb()
1899 static void update_dev_time(const char *device_path) in update_dev_time() argument
1905 ret = kern_path(device_path, LOOKUP_FOLLOW, &path); in update_dev_time()
2049 const char *device_path) in btrfs_scratch_superblocks() argument
2089 update_dev_time(device_path); in btrfs_scratch_superblocks()
2410 const char *device_path) in btrfs_find_device_by_devspec() argument
2424 ret = btrfs_get_dev_args_from_path(fs_info, &args, device_path); in btrfs_find_device_by_devspec()
2600 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_new_device()
2636 name = rcu_string_strdup(device_path, GFP_KERNEL); in btrfs_init_new_device()
2784 btrfs_forget_devices(device_path); in btrfs_init_new_device()
[all …]
A Dvolumes.h634 const char *device_path);
/linux/Documentation/usb/
A Dauthorization.rst63 echo 1 > $device_path/authorized
/linux/Documentation/trace/coresight/
A Dcoresight-ect.rst148 echo <chan> [<trigger>] > /<device_path>/<operation>

Completed in 67 milliseconds