Lines Matching refs:kobj
73 static ssize_t ocfs2_filecheck_attr_show(struct kobject *kobj,
76 static ssize_t ocfs2_filecheck_attr_store(struct kobject *kobj,
99 static void ocfs2_filecheck_release(struct kobject *kobj) in ocfs2_filecheck_release() argument
101 struct ocfs2_filecheck_sysfs_entry *entry = container_of(kobj, in ocfs2_filecheck_release()
108 ocfs2_filecheck_show(struct kobject *kobj, struct attribute *attr, char *buf) in ocfs2_filecheck_show() argument
114 kobject_get(kobj); in ocfs2_filecheck_show()
116 ret = kattr->show(kobj, kattr, buf); in ocfs2_filecheck_show()
117 kobject_put(kobj); in ocfs2_filecheck_show()
122 ocfs2_filecheck_store(struct kobject *kobj, struct attribute *attr, in ocfs2_filecheck_store() argument
129 kobject_get(kobj); in ocfs2_filecheck_store()
131 ret = kattr->store(kobj, kattr, buf, count); in ocfs2_filecheck_store()
132 kobject_put(kobj); in ocfs2_filecheck_store()
298 static ssize_t ocfs2_filecheck_attr_show(struct kobject *kobj, in ocfs2_filecheck_attr_show() argument
306 struct ocfs2_filecheck_sysfs_entry *ent = container_of(kobj, in ocfs2_filecheck_attr_show()
446 static ssize_t ocfs2_filecheck_attr_store(struct kobject *kobj, in ocfs2_filecheck_attr_store() argument
453 struct ocfs2_filecheck_sysfs_entry *ent = container_of(kobj, in ocfs2_filecheck_attr_store()