Home
last modified time | relevance | path

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

/Linux-v4.19/tools/laptop/freefall/
Dfreefall.c27 static char device_path[32]; variable
34 strncpy(device_path, device, sizeof(device_path) - 1); in set_unload_heads_path()
86 syslog(LOG_INFO, "%s %s disk head\n", str, device_path); in protect()
/Linux-v4.19/drivers/firmware/
Dedd.c197 info->params.device_path.atapi.device, in edd_show_interface()
198 info->params.device_path.atapi.lun); in edd_show_interface()
201 info->params.device_path.ata.device); in edd_show_interface()
204 info->params.device_path.scsi.id, in edd_show_interface()
205 info->params.device_path.scsi.lun); in edd_show_interface()
208 info->params.device_path.usb.serial_number); in edd_show_interface()
211 info->params.device_path.i1394.eui); in edd_show_interface()
214 info->params.device_path.fibre.wwid, in edd_show_interface()
215 info->params.device_path.fibre.lun); in edd_show_interface()
218 info->params.device_path.i2o.identity_tag); in edd_show_interface()
[all …]
/Linux-v4.19/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-v4.19/drivers/parisc/
Dpdc_stable.c104 struct device_path devpath; /* device path in parisc representation */
154 struct device_path *devpath; in pdcspath_fetch()
195 struct device_path *devpath; in pdcspath_store()
237 struct device_path *devpath; in pdcspath_hwpath_read()
358 struct device_path *devpath; in pdcspath_layer_read()
/Linux-v4.19/fs/btrfs/
Dvolumes.h414 const char *device_path,
424 const char *device_path, u64 devid);
460 void btrfs_scratch_superblocks(struct block_device *bdev, const char *device_path);
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.c383 btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder, in btrfs_get_bdev_and_sb() argument
389 *bdev = blkdev_get_by_path(device_path, flags, holder); in btrfs_get_bdev_and_sb()
1857 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device() argument
1880 ret = btrfs_find_device_by_devspec(fs_info, devid, device_path, in btrfs_rm_device()
2100 const char *device_path, in btrfs_find_device_by_path() argument
2111 ret = btrfs_get_bdev_and_sb(device_path, FMODE_READ, in btrfs_find_device_by_path()
2127 const char *device_path, in btrfs_find_device_missing_or_by_path() argument
2131 if (strcmp(device_path, "missing") == 0) { in btrfs_find_device_missing_or_by_path()
2149 return btrfs_find_device_by_path(fs_info, device_path, device); in btrfs_find_device_missing_or_by_path()
2314 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device() argument
[all …]
/Linux-v4.19/drivers/nvme/target/
Dio-cmd-bdev.c23 ns->bdev = blkdev_get_by_path(ns->device_path, in nvmet_bdev_ns_enable()
29 ns->device_path, PTR_ERR(ns->bdev)); in nvmet_bdev_ns_enable()
Dconfigfs.c306 return sprintf(page, "%s\n", to_nvmet_ns(item)->device_path); in nvmet_ns_device_path_show()
327 kfree(ns->device_path); in nvmet_ns_device_path_store()
329 ns->device_path = kstrndup(page, len, GFP_KERNEL); in nvmet_ns_device_path_store()
330 if (!ns->device_path) in nvmet_ns_device_path_store()
341 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()
Dnvmet.h72 const char *device_path; member
Dcore.c468 kfree(ns->device_path); in nvmet_ns_free()
/Linux-v4.19/arch/parisc/include/uapi/asm/
Dpdc.h349 struct device_path { /* page 1-69 */ struct
357 struct device_path dp; /* see above */ argument
/Linux-v4.19/include/uapi/linux/
Dedd.h168 } device_path; member
/Linux-v4.19/Documentation/usb/
Dauthorization.txt59 echo 1 > $device_path/authorized