sysfs_ops
const struct sysfs_ops *sysfs_ops;
extern const struct sysfs_ops kobj_sysfs_ops;
const struct sysfs_ops *ops;
if (kobj->ktype == NULL || kobj->ktype->sysfs_ops == NULL)
ops = kobj->ktype->sysfs_ops;
if (kobj->ktype == NULL || kobj->ktype->sysfs_ops == NULL)
static const struct sysfs_ops linux_class_sysfs = {
.sysfs_ops = &linux_class_sysfs
static const struct sysfs_ops linux_dev_sysfs = {
.sysfs_ops = &linux_dev_sysfs
const struct sysfs_ops kobj_sysfs_ops = {
static const struct sysfs_ops ttm_pool_sysfs_ops = {
.sysfs_ops = &ttm_pool_sysfs_ops,
static const struct sysfs_ops port_sysfs_ops = {
.sysfs_ops = &port_sysfs_ops,
static const struct sysfs_ops cm_counter_ops = {
.sysfs_ops = &cm_counter_ops,
static const struct sysfs_ops port_sysfs_ops = {
static const struct sysfs_ops gid_attr_sysfs_ops = {
.sysfs_ops = &port_sysfs_ops,
.sysfs_ops = &gid_attr_sysfs_ops,