/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 64 device_path[sizeof(P_tmpdir "/binderfs_XXXXXX/") + BINDERFS_MAX_NAME]; in __do_binderfs_test() local 90 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test() 91 fd = open(device_path, O_RDONLY | O_CLOEXEC); in __do_binderfs_test() 113 snprintf(device_path, sizeof(device_path), "%s/my-binder", binderfs_mntpt); in __do_binderfs_test() 114 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test() 135 ret = unlink(device_path); in __do_binderfs_test() 144 snprintf(device_path, sizeof(device_path), " in __do_binderfs_test() 388 device_path[sizeof(P_tmpdir "/binderfs_XXXXXX/") + BINDERFS_MAX_NAME]; TEST() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 64 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), " in __do_binderfs_test() 370 device_path[sizeof(P_tmpdir "/binderfs_XXXXXX/") + BINDERFS_MAX_NAME]; TEST() local [all...] |
/kernel/linux/linux-5.10/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 in edd_show_interface() [all...] |
/kernel/linux/linux-6.6/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 in edd_show_interface() [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/parisc/ |
H A D | pdc_stable.c | 17 * device_path size, eg: 128, 160 and 192) to provide full information. 91 struct device_path devpath; /* device path in parisc representation */ 141 struct device_path *devpath; in pdcspath_fetch() 156 NOTE: hardware_path overlays with device_path, so the nice cast can 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/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
H A D | pdc.h | 366 /* flags of the device_path */ 371 struct device_path { /* page 1-69 */ struct 379 struct device_path dp; /* see above */
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | configfs.c | 334 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);
|
H A D | io-cmd-bdev.c | 70 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()
|
H A D | io-cmd-file.c | 51 ns->file = filp_open(ns->device_path, flags, 0); in nvmet_file_ns_enable() 55 ns->device_path, ret); in nvmet_file_ns_enable()
|
H A D | trace.h | 52 strncpy(name, req->ns->device_path, DISK_NAME_LEN); in __assign_req_name()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | edd.h | 168 } device_path; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | edd.h | 168 } device_path; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | edd.h | 145 } device_path; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | edd.h | 145 } device_path; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | edd.h | 133 } device_path; member
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | dev-replace.c | 239 const char *device_path, in btrfs_init_dev_replace_tgtdev() 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() 238 btrfs_init_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, const char *device_path, struct btrfs_device *srcdev, struct btrfs_device **device_out) btrfs_init_dev_replace_tgtdev() argument
|
H A D | volumes.h | 451 const char *device_path, u64 devid); 577 const char *device_path);
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | dev-replace.c | 244 const char *device_path, in btrfs_init_dev_replace_tgtdev() 260 bdev = blkdev_get_by_path(device_path, BLK_OPEN_WRITE, in btrfs_init_dev_replace_tgtdev() 263 btrfs_err(fs_info, "target device %s is invalid!", device_path); in btrfs_init_dev_replace_tgtdev() 294 device = btrfs_alloc_device(NULL, &devid, NULL, device_path); in btrfs_init_dev_replace_tgtdev() 300 ret = lookup_bdev(device_path, &device->devt); in btrfs_init_dev_replace_tgtdev() 243 btrfs_init_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, const char *device_path, struct btrfs_device *srcdev, struct btrfs_device **device_out) btrfs_init_dev_replace_tgtdev() argument
|
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | io-cmd-bdev.c | 87 ns->bdev = blkdev_get_by_path(ns->device_path, in nvmet_bdev_ns_enable() 93 ns->device_path, PTR_ERR(ns->bdev)); in nvmet_bdev_ns_enable()
|
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()
|