Home
last modified time | relevance | path

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

/openbmc/linux/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c180 char *dev_path; member
223 ret = chdir(s->dev_path); in sdsi_update_registers()
359 ret = chdir(s->dev_path); in sdsi_meter_cert_show()
443 ret = chdir(s->dev_path); in sdsi_state_cert_show()
549 ret = chdir(s->dev_path); in sdsi_provision()
693 s->dev_path = (char *)malloc(sizeof(AUX_DEV_PATH) + dev_name_len); in sdsi_create_dev()
694 if (!s->dev_path) { in sdsi_create_dev()
701 snprintf(s->dev_path, sizeof(AUX_DEV_PATH) + dev_name_len, "%s%s", AUX_DEV_PATH, in sdsi_create_dev()
703 dir = opendir(s->dev_path); in sdsi_create_dev()
705 fprintf(stderr, "Could not open directory '%s': %s\n", s->dev_path, in sdsi_create_dev()
[all …]
/openbmc/qemu/hw/s390x/
H A Ds390-ccw.c79 char dev_path[PATH_MAX] = {0}; in s390_ccw_get_dev_info() local
90 if (!realpath(sysfsdev, dev_path)) { in s390_ccw_get_dev_info()
95 cdev->mdevid = g_path_get_basename(dev_path); in s390_ccw_get_dev_info()
97 tmp_dir = g_path_get_dirname(dev_path); in s390_ccw_get_dev_info()
/openbmc/linux/security/apparmor/
H A Dmount.c544 struct path tmp_path, *dev_path = NULL; in aa_new_mount() local
566 dev_path = &tmp_path; in aa_new_mount()
575 if (dev_path) { in aa_new_mount()
583 dev_path, dev_buffer, in aa_new_mount()
595 if (dev_path) in aa_new_mount()
596 path_put(dev_path); in aa_new_mount()
/openbmc/openbmc/meta-hpe/meta-common/recipes-phosphor/image/
H A Dobmc-phosphor-image.bbappend22 dev_path = d.getVar('PWD', True)
23 dev_path = os.path.join(dev_path, 'developer')
24 if os.path.isfile(dev_path):
/openbmc/qemu/tests/qtest/
H A Dhd-geo-test.c521 const char *dev_path; member
547 r->dev_path = g_malloc0(strlen(cur) + 1); in read_bootdevices()
549 (char *)r->dev_path, in read_bootdevices()
561 while (expected[i].dev_path) { in read_bootdevices()
566 if (!strcmp(r->dev_path, expected[i].dev_path) && in read_bootdevices()
574 g_free((char *)((CHSResult *)cur_result->data)->dev_path); in read_bootdevices()
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A 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
H A Dunstriped.rst14 <number of stripes> <chunk size> <stripe #> <dev_path> <offset>
22 <dev_path>
H A Dlog-writes.rst59 log-writes <dev_path> <log_dev_path>
62 dev_path Device that all of the IO will go to normally.
/openbmc/qemu/subprojects/libvduse/
H A Dlibvduse.c1156 char *dev_path, *dev_name; in vduse_dev_init() local
1159 dev_path = malloc(strlen(name) + strlen("/dev/vduse/") + 1); in vduse_dev_init()
1160 if (!dev_path) { in vduse_dev_init()
1163 sprintf(dev_path, "/dev/vduse/%s", name); in vduse_dev_init()
1165 fd = open(dev_path, O_RDWR); in vduse_dev_init()
1166 free(dev_path); in vduse_dev_init()
/openbmc/linux/drivers/block/
H A Dublk_drv.c2750 const char *dev_path, int mask) in ublk_char_dev_permission() argument
2756 err = kern_path(dev_path, LOOKUP_FOLLOW, &path); in ublk_char_dev_permission()
2781 char *dev_path = NULL; in ublk_ctrl_uring_cmd_permission() local
2810 dev_path = memdup_user_nul(argp, header->dev_path_len); in ublk_ctrl_uring_cmd_permission()
2811 if (IS_ERR(dev_path)) in ublk_ctrl_uring_cmd_permission()
2812 return PTR_ERR(dev_path); in ublk_ctrl_uring_cmd_permission()
2836 ret = ublk_char_dev_permission(ub, dev_path, mask); in ublk_ctrl_uring_cmd_permission()
2844 dev_path, ret); in ublk_ctrl_uring_cmd_permission()
2846 kfree(dev_path); in ublk_ctrl_uring_cmd_permission()
/openbmc/qemu/hw/acpi/
H A Dmemory_hotplug.c245 char *dev_path = object_get_canonical_path(OBJECT(dev)); in acpi_memory_slot_status() local
248 dev_path, slot); in acpi_memory_slot_status()
249 g_free(dev_path); in acpi_memory_slot_status()
/openbmc/qemu/hw/pci/
H A Dtrace-events6 pci_route_irq(int dev_irq, const char *dev_path, int parent_irq, const char *parent_path) "IRQ %d @…
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/
H A D0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch120 @@ -556,6 +558,8 @@ static void register_device(const char* dev_name, const char* dev_path, unsigned
/openbmc/qemu/hw/i386/kvm/
H A Dxen_evtchn.c1303 char *dev_path = qdev_get_dev_path(DEVICE(dev)); in xen_evtchn_bind_pirq_op() local
1305 trace_kvm_xen_unmask_pirq(pirq->pirq, dev_path, vector); in xen_evtchn_bind_pirq_op()
1306 g_free(dev_path); in xen_evtchn_bind_pirq_op()
/openbmc/qemu/migration/
H A Dtrace-events221 qemu_rdma_dump_id(const char *who, const char *name, const char *dev_name, const char *dev_path, co…
H A Drdma.c749 verbs->device->dev_path, in qemu_rdma_dump_id()
/openbmc/linux/fs/btrfs/
H A Dvolumes.c1043 const char *dev_path = NULL; in clone_fs_devices() local
1050 dev_path = orig_dev->name->str; in clone_fs_devices()
1053 orig_dev->uuid, dev_path); in clone_fs_devices()