Home
last modified time | relevance | path

Searched refs:sysfs_name (Results 1 – 11 of 11) sorted by relevance

/linux/net/bridge/
H A Dbr_sysfs_if.c387 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 Dbr_private.h426 char sysfs_name[IFNAMSIZ]; member
/linux/include/linux/
H A Dmdev.h28 const char *sysfs_name; member
/linux/tools/perf/util/
H A Dhwmon_pmu.c368 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 Dmdev_sysfs.c100 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 Dmdpy.c58 .type.sysfs_name = MDPY_TYPE_1,
65 .type.sysfs_name = MDPY_TYPE_2,
72 .type.sysfs_name = MDPY_TYPE_3,
H A Dmbochs.c110 .type.sysfs_name = MBOCHS_TYPE_1,
116 .type.sysfs_name = MBOCHS_TYPE_2,
122 .type.sysfs_name = MBOCHS_TYPE_3,
H A Dmtty.c181 { .nr_ports = 1, .type.sysfs_name = "1",
183 { .nr_ports = 2, .type.sysfs_name = "2",
/linux/drivers/scsi/
H A Discsi_boot_sysfs.c69 #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 Damdgpu_ras.h572 char sysfs_name[48]; member
662 const char* sysfs_name; member
/linux/drivers/s390/cio/
H A Dvfio_ccw_drv.c187 parent->mdev_type.sysfs_name = "io"; in vfio_ccw_sch_probe()