Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/arch/parisc/include/uapi/asm/
Dpdc.h371 struct device_path { /* page 1-69 */ struct
379 struct device_path dp; /* see above */ argument
/Linux-v5.4/drivers/nvme/target/
Dio-cmd-bdev.c54 ns->bdev = blkdev_get_by_path(ns->device_path, in nvmet_bdev_ns_enable()
60 ns->device_path, PTR_ERR(ns->bdev)); in nvmet_bdev_ns_enable()
Dconfigfs.c307 return sprintf(page, "%s\n", to_nvmet_ns(item)->device_path); in nvmet_ns_device_path_show()
328 kfree(ns->device_path); in nvmet_ns_device_path_store()
330 ns->device_path = kstrndup(page, len, GFP_KERNEL); in nvmet_ns_device_path_store()
331 if (!ns->device_path) in nvmet_ns_device_path_store()
342 CONFIGFS_ATTR(nvmet_ns_, device_path);
Dio-cmd-file.c39 ns->file = filp_open(ns->device_path, flags, 0); in nvmet_file_ns_enable()
42 ns->device_path, PTR_ERR(ns->file)); in nvmet_file_ns_enable()
Dtrace.h57 strncpy(name, ns->device_path, DISK_NAME_LEN); in __assign_disk_name()
Dcore.c445 ns->device_path); in nvmet_p2pmem_ns_enable()
464 ns->device_path); in nvmet_p2pmem_ns_enable()
500 dev_name(ctrl->p2p_client), ns->device_path); in nvmet_p2pmem_ns_add_p2p()
631 kfree(ns->device_path); in nvmet_ns_free()
Dnvmet.h68 const char *device_path; member
/Linux-v5.4/include/uapi/linux/
Dedd.h168 } device_path; member
/Linux-v5.4/fs/btrfs/
Ddev-replace.c181 const char *device_path, in btrfs_init_dev_replace_tgtdev() argument
198 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_dev_replace_tgtdev()
201 btrfs_err(fs_info, "target device %s is invalid!", device_path); in btrfs_init_dev_replace_tgtdev()
233 name = rcu_string_strdup(device_path, GFP_KERNEL); in btrfs_init_dev_replace_tgtdev()
Dvolumes.h457 const char *device_path, u64 devid);
488 void btrfs_scratch_superblocks(struct block_device *bdev, const char *device_path);
Dvolumes.c468 btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder, in btrfs_get_bdev_and_sb() argument
474 *bdev = blkdev_get_by_path(device_path, flags, holder); in btrfs_get_bdev_and_sb()
2090 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device() argument
2107 device = btrfs_find_device_by_devspec(fs_info, devid, device_path); in btrfs_rm_device()
2111 strcmp(device_path, "missing") == 0) in btrfs_rm_device()
2344 struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_find_device_by_path() argument
2354 ret = btrfs_get_bdev_and_sb(device_path, FMODE_READ, in btrfs_find_device_by_path()
2380 const char *device_path) in btrfs_find_device_by_devspec() argument
2392 if (!device_path || !device_path[0]) in btrfs_find_device_by_devspec()
2395 if (strcmp(device_path, "missing") == 0) { in btrfs_find_device_by_devspec()
[all …]
/Linux-v5.4/Documentation/admin-guide/device-mapper/
Ddm-dust.txt36 <device_path> <offset> <blksz>
39 <device_path>: path to the block device.
40 <offset>: offset to data area from start of device_path
/Linux-v5.4/Documentation/usb/
Dauthorization.rst63 echo 1 > $device_path/authorized