Searched refs:sysfs_name (Results 1 – 11 of 11) sorted by relevance
/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 | 426 char sysfs_name[IFNAMSIZ]; member
|
/linux/include/linux/ |
H A D | mdev.h | 28 const char *sysfs_name; member
|
/linux/tools/perf/util/ |
H A D | hwmon_pmu.c | 368 struct perf_pmu *hwmon_pmu__new(struct list_head *pmus, int hwmon_dir, const char *sysfs_name, cons… in hwmon_pmu__new() argument 378 hwm->pmu.type = PERF_PMU_TYPE_HWMON_START + strtoul(sysfs_name + 5, NULL, 10); in hwmon_pmu__new() 380 pr_err("Unable to encode hwmon type from %s in valid PMU type\n", sysfs_name); in hwmon_pmu__new() 388 hwm->pmu.alias_name = strdup(sysfs_name); in hwmon_pmu__new()
|
/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()
|
/linux/samples/vfio-mdev/ |
H A D | mdpy.c | 58 .type.sysfs_name = MDPY_TYPE_1, 65 .type.sysfs_name = MDPY_TYPE_2, 72 .type.sysfs_name = MDPY_TYPE_3,
|
H A D | mbochs.c | 110 .type.sysfs_name = MBOCHS_TYPE_1, 116 .type.sysfs_name = MBOCHS_TYPE_2, 122 .type.sysfs_name = MBOCHS_TYPE_3,
|
H A D | mtty.c | 181 { .nr_ports = 1, .type.sysfs_name = "1", 183 { .nr_ports = 2, .type.sysfs_name = "2",
|
/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 }, \
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras.h | 572 char sysfs_name[48]; member 662 const char* sysfs_name; member
|
/linux/drivers/s390/cio/ |
H A D | vfio_ccw_drv.c | 187 parent->mdev_type.sysfs_name = "io"; in vfio_ccw_sch_probe()
|