Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c64 device_path[sizeof(P_tmpdir "/binderfs_XXXXXX/") + BINDERFS_MAX_NAME]; in __do_binderfs_test() local
86 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
87 fd = open(device_path, O_RDONLY | O_CLOEXEC); in __do_binderfs_test()
109 snprintf(device_path, sizeof(device_path), "%s/my-binder", binderfs_mntpt); in __do_binderfs_test()
110 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test()
131 ret = unlink(device_path); in __do_binderfs_test()
140 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
141 ret = unlink(device_path); in __do_binderfs_test()
370 device_path[sizeof(P_tmpdir "/binderfs_XXXXXX/") + BINDERFS_MAX_NAME]; in TEST() local
403 snprintf(device_path, sizeof(device_path), in TEST()
[all …]
/kernel/liteos_m/
DBUILD.gn121 cmd = "if [ -f $device_path/BUILD.gn ]; then echo true; else echo false; fi"
124 # If device_path points to vendor, use device_path directly,
125 # otherwise board is decoupled from soc, device_path should contain board
127 device_path == string_replace(device_path, "/vendor/", "") &&
128 device_path != string_replace(device_path, "/board/", "")
144 configs += [ "$device_path:public" ]
165 deps += [ device_path ]
/kernel/linux/linux-5.10/tools/laptop/freefall/
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()
/kernel/linux/linux-5.10/drivers/firmware/
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()
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 …]
/kernel/linux/linux-5.10/sound/xen/
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()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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
117 - If the 'device_path' provided during mapping contains slashes ("/"),
120 "device_path" provided.
Dsysfs-block-rnbd39 Description: Contains the path that was passed as "device_path" to the map_device
/kernel/liteos_a/
Dbuild.sh44 device_path=${12}
59 export DEVICE_PATH="${device_path}"
DBUILD.gn58 " DEVICE_PATH=$device_path" + " srctree=" + rebase_path(".") +
283 cmd = "if [ -f $device_path/BUILD.gn ]; then echo true; else echo false; fi"
306 configs += [ "$device_path:public" ]
332 deps += [ device_path ]
437 command += " \"$device_path\" \"$compile_prefix\" \"$liteos_config_file\""
/kernel/linux/linux-5.10/drivers/block/rnbd/
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"
/kernel/linux/linux-5.10/drivers/parisc/
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()
/kernel/uniproton/
DBUILD.gn167 configs += [ "$device_path:public" ]
256 "$device_path:device",
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
Dpdc.h371 struct device_path { /* page 1-69 */ struct
379 struct device_path dp; /* see above */ argument
/kernel/linux/linux-5.10/include/uapi/linux/
Dedd.h168 } device_path; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dedd.h133 } device_path; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dedd.h145 } device_path; member
/kernel/linux/linux-5.10/drivers/nvme/target/
Dconfigfs.c334 return sprintf(page, "%s\n", to_nvmet_ns(item)->device_path); in nvmet_ns_device_path_show()
355 kfree(ns->device_path); in nvmet_ns_device_path_store()
357 ns->device_path = kmemdup_nul(page, len, GFP_KERNEL); in nvmet_ns_device_path_store()
358 if (!ns->device_path) in nvmet_ns_device_path_store()
369 CONFIGFS_ATTR(nvmet_ns_, device_path);
710 CONFIGFS_ATTR(nvmet_passthru_, device_path);
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()
Dio-cmd-bdev.c70 ns->bdev = blkdev_get_by_path(ns->device_path, in nvmet_bdev_ns_enable()
76 ns->device_path, PTR_ERR(ns->bdev)); in nvmet_bdev_ns_enable()
Dtrace.h52 strncpy(name, req->ns->device_path, DISK_NAME_LEN); in __assign_req_name()
Dcore.c464 ns->device_path); in nvmet_p2pmem_ns_enable()
483 ns->device_path); in nvmet_p2pmem_ns_enable()
519 dev_name(ctrl->p2p_client), ns->device_path); in nvmet_p2pmem_ns_add_p2p()
660 kfree(ns->device_path); in nvmet_ns_free()
/kernel/linux/linux-5.10/fs/btrfs/
Dvolumes.h451 const char *device_path, u64 devid);
577 const char *device_path);
Ddev-replace.c239 const char *device_path, in btrfs_init_dev_replace_tgtdev() argument
255 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_dev_replace_tgtdev()
258 btrfs_err(fs_info, "target device %s is invalid!", device_path); in btrfs_init_dev_replace_tgtdev()
289 name = rcu_string_strdup(device_path, GFP_KERNEL); in btrfs_init_dev_replace_tgtdev()
Dvolumes.c508 btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder, in btrfs_get_bdev_and_sb() argument
514 *bdev = blkdev_get_by_path(device_path, flags, holder); in btrfs_get_bdev_and_sb()
1908 static void update_dev_time(const char *device_path) in update_dev_time() argument
1914 ret = kern_path(device_path, LOOKUP_FOLLOW, &path); in update_dev_time()
2060 const char *device_path) in btrfs_scratch_superblocks() argument
2095 update_dev_time(device_path); in btrfs_scratch_superblocks()
2098 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device() argument
2118 device = btrfs_find_device_by_devspec(fs_info, devid, device_path); in btrfs_rm_device()
2122 device_path && strcmp(device_path, "missing") == 0) in btrfs_rm_device()
2336 struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_find_device_by_path() argument
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Ddm-dust.rst36 <device_path> <offset> <blksz>
39 <device_path>:
43 Offset to data area from start of device_path

12