/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/ |
H A D | x86_basename.patch | 23 - if (sscanf(basename(sysfs_name), "int13_dev%hhx", &devnum) != 1) { 24 + if (sscanf(strrchr(sysfs_name,'/') + 1, "int13_dev%hhx", &devnum) != 1) { 26 - "entry: %s\n", basename(sysfs_name)); 27 + "entry: %s\n", strrchr(sysfs_name,'/') + 1);
|
/openbmc/linux/net/bridge/ |
H A D | br_sysfs_if.c | 387 strscpy(p->sysfs_name, p->dev->name, IFNAMSIZ); in br_sysfs_addif() 388 return sysfs_create_link(br->ifobj, &p->kobj, p->sysfs_name); in br_sysfs_addif() 400 if (!strncmp(p->sysfs_name, p->dev->name, IFNAMSIZ)) in br_sysfs_renameif() 404 p->sysfs_name, p->dev->name); in br_sysfs_renameif() 407 p->sysfs_name, p->dev->name); in br_sysfs_renameif() 409 strscpy(p->sysfs_name, p->dev->name, IFNAMSIZ); in br_sysfs_renameif()
|
H A D | br_private.h | 423 char sysfs_name[IFNAMSIZ]; member
|
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/ |
H A D | 0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch | 97 - char sysfs_name[128]; 104 - if ((size_t)snprintf(sysfs_name, sizeof sysfs_name, 107 - >= sizeof sysfs_name) 110 - f = fopen(sysfs_name, "r"); 296 + char sysfs_name[128]; 303 + if ((size_t)snprintf(sysfs_name, sizeof sysfs_name, 306 + >= sizeof sysfs_name) 309 + f = fopen(sysfs_name, "r");
|
/openbmc/linux/tools/perf/util/ |
H A D | mem-events.c | 20 #define E(t, n, s) { .tag = t, .name = n, .sysfs_name = s } 106 char sysfs_name[100]; in perf_mem_event__supported() local 110 scnprintf(sysfs_name, sizeof(sysfs_name), e->sysfs_name, pmu->name); in perf_mem_event__supported() 111 scnprintf(path, PATH_MAX, "%s/devices/%s", mnt, sysfs_name); in perf_mem_event__supported()
|
H A D | mem-events.h | 19 const char *sysfs_name; member
|
/openbmc/linux/tools/perf/arch/arm64/util/ |
H A D | mem-events.c | 5 #define E(t, n, s) { .tag = t, .name = n, .sysfs_name = s }
|
/openbmc/linux/include/linux/ |
H A D | mdev.h | 28 const char *sysfs_name; member
|
/openbmc/linux/tools/perf/arch/x86/util/ |
H A D | mem-events.c | 17 #define E(t, n, s) { .tag = t, .name = n, .sysfs_name = s }
|
/openbmc/linux/drivers/vfio/mdev/ |
H A D | mdev_sysfs.c | 100 mtype->pretty_name ? mtype->pretty_name : mtype->sysfs_name); in name_show() 180 type->sysfs_name); in mdev_type_add()
|
/openbmc/linux/samples/vfio-mdev/ |
H A D | mdpy.c | 57 .type.sysfs_name = MDPY_TYPE_1, 64 .type.sysfs_name = MDPY_TYPE_2, 71 .type.sysfs_name = MDPY_TYPE_3,
|
H A D | mbochs.c | 109 .type.sysfs_name = MBOCHS_TYPE_1, 115 .type.sysfs_name = MBOCHS_TYPE_2, 121 .type.sysfs_name = MBOCHS_TYPE_3,
|
H A D | mtty.c | 150 { .nr_ports = 1, .type.sysfs_name = "1", 152 { .nr_ports = 2, .type.sysfs_name = "2",
|
/openbmc/qemu/hw/core/ |
H A D | sysbus-fdt.c | 191 static char *sysfs_to_dt_name(const char *sysfs_name) in sysfs_to_dt_name() argument 193 gchar **substrings = g_strsplit(sysfs_name, ".", 2); in sysfs_to_dt_name()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras.h | 439 char sysfs_name[32]; member 508 const char* sysfs_name; member
|
H A D | amdgpu_ras.c | 1413 snprintf(obj->fs_data.sysfs_name, sizeof(obj->fs_data.sysfs_name), in amdgpu_ras_sysfs_create() 1418 .name = obj->fs_data.sysfs_name, in amdgpu_ras_sysfs_create()
|
/openbmc/linux/drivers/scsi/ |
H A D | iscsi_boot_sysfs.c | 69 #define iscsi_boot_rd_attr(fnname, sysfs_name, attr_type) \ argument 71 .attr = { .name = __stringify(sysfs_name), .mode = 0444 }, \
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | vgpu.c | 141 gvt->mdev_types[i]->sysfs_name = gvt->types[i].name; in intel_gvt_init_vgpu_types()
|
/openbmc/linux/drivers/s390/cio/ |
H A D | vfio_ccw_drv.c | 187 parent->mdev_type.sysfs_name = "io"; in vfio_ccw_sch_probe()
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | vfio_ap_ops.c | 2130 matrix_dev->mdev_type.sysfs_name = VFIO_AP_MDEV_TYPE_HWVIRT; in vfio_ap_mdev_register()
|