Home
last modified time | relevance | path

Searched refs:dev_path (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/tools/arch/x86/intel_sdsi/
Dintel_sdsi.c181 char *dev_path; member
225 ret = chdir(s->dev_path); in sdsi_update_registers()
362 ret = chdir(s->dev_path); in sdsi_meter_cert_show()
447 ret = chdir(s->dev_path); in sdsi_state_cert_show()
551 ret = chdir(s->dev_path); in sdsi_provision()
695 s->dev_path = (char *)malloc(sizeof(AUX_DEV_PATH) + dev_name_len); in sdsi_create_dev()
696 if (!s->dev_path) { in sdsi_create_dev()
703 snprintf(s->dev_path, sizeof(AUX_DEV_PATH) + dev_name_len, "%s%s", AUX_DEV_PATH, in sdsi_create_dev()
705 dir = opendir(s->dev_path); in sdsi_create_dev()
707 fprintf(stderr, "Could not open directory '%s': %s\n", s->dev_path, in sdsi_create_dev()
[all …]
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dstd_types.c217 char *dev_path; in UVERBS_HANDLER() local
231 dev_path = kobject_get_path(&data_direct_dev->device->kobj, GFP_KERNEL); in UVERBS_HANDLER()
232 if (!dev_path) { in UVERBS_HANDLER()
237 dev_path_len = strlen(dev_path) + 1; in UVERBS_HANDLER()
243 ret = uverbs_copy_to(attrs, MLX5_IB_ATTR_GET_DATA_DIRECT_SYSFS_PATH, dev_path, in UVERBS_HANDLER()
245 kfree(dev_path); in UVERBS_HANDLER()
/linux-6.12.1/security/apparmor/
Dmount.c546 struct path tmp_path, *dev_path = NULL; in aa_new_mount() local
568 dev_path = &tmp_path; in aa_new_mount()
577 if (dev_path) { in aa_new_mount()
585 dev_path, dev_buffer, in aa_new_mount()
597 if (dev_path) in aa_new_mount()
598 path_put(dev_path); in aa_new_mount()
/linux-6.12.1/tools/usb/
Dp9_fwd.py22 dev_path = ".".join(str(i) for i in dev.port_numbers)
53 dev_path = path_from_usb_dev(dev)
55 return dev_path == path
/linux-6.12.1/Documentation/admin-guide/device-mapper/
Dswitch.rst71 <num_paths> <region_size> <num_optional_args> [<optional_args>...] [<dev_path> <offset>]+
83 <dev_path>
87 The offset of the start of data on the specific <dev_path> (in units
Dunstriped.rst14 <number of stripes> <chunk size> <stripe #> <dev_path> <offset>
22 <dev_path>
Dlog-writes.rst59 log-writes <dev_path> <log_dev_path>
62 dev_path Device that all of the IO will go to normally.
/linux-6.12.1/drivers/block/
Dublk_drv.c2796 const char *dev_path, int mask) in ublk_char_dev_permission() argument
2802 err = kern_path(dev_path, LOOKUP_FOLLOW, &path); in ublk_char_dev_permission()
2827 char *dev_path = NULL; in ublk_ctrl_uring_cmd_permission() local
2856 dev_path = memdup_user_nul(argp, header->dev_path_len); in ublk_ctrl_uring_cmd_permission()
2857 if (IS_ERR(dev_path)) in ublk_ctrl_uring_cmd_permission()
2858 return PTR_ERR(dev_path); in ublk_ctrl_uring_cmd_permission()
2882 ret = ublk_char_dev_permission(ub, dev_path, mask); in ublk_ctrl_uring_cmd_permission()
2890 dev_path, ret); in ublk_ctrl_uring_cmd_permission()
2892 kfree(dev_path); in ublk_ctrl_uring_cmd_permission()
/linux-6.12.1/fs/btrfs/
Dvolumes.c971 const char *dev_path = NULL; in clone_fs_devices() local
978 dev_path = orig_dev->name->str; in clone_fs_devices()
981 orig_dev->uuid, dev_path); in clone_fs_devices()