Lines Matching refs:kobject

20 	ssize_t (*show)(struct kobject *kobject, char *buf);
21 ssize_t (*store)(struct kobject *kobject, const char *buf,
42 struct kobject *kobject, in xfs_sysfs_object_show() argument
48 return xfs_attr->show ? xfs_attr->show(kobject, buf) : 0; in xfs_sysfs_object_show()
53 struct kobject *kobject, in xfs_sysfs_object_store() argument
60 return xfs_attr->store ? xfs_attr->store(kobject, buf, count) : 0; in xfs_sysfs_object_store()
74 to_mp(struct kobject *kobject) in to_mp() argument
76 struct xfs_kobj *kobj = to_kobj(kobject); in to_mp()
96 struct kobject *kobject, in bug_on_assert_store() argument
119 struct kobject *kobject, in bug_on_assert_show() argument
128 struct kobject *kobject, in log_recovery_delay_store() argument
149 struct kobject *kobject, in log_recovery_delay_show() argument
158 struct kobject *kobject, in mount_delay_store() argument
179 struct kobject *kobject, in mount_delay_show() argument
204 to_xstats(struct kobject *kobject) in to_xstats() argument
206 struct xfs_kobj *kobj = to_kobj(kobject); in to_xstats()
213 struct kobject *kobject, in stats_show() argument
216 struct xstats *stats = to_xstats(kobject); in stats_show()
224 struct kobject *kobject, in stats_clear_store() argument
230 struct xstats *stats = to_xstats(kobject); in stats_clear_store()
259 to_xlog(struct kobject *kobject) in to_xlog() argument
261 struct xfs_kobj *kobj = to_kobj(kobject); in to_xlog()
268 struct kobject *kobject, in log_head_lsn_show() argument
273 struct xlog *log = to_xlog(kobject); in log_head_lsn_show()
286 struct kobject *kobject, in log_tail_lsn_show() argument
291 struct xlog *log = to_xlog(kobject); in log_tail_lsn_show()
300 struct kobject *kobject, in reserve_grant_head_show() argument
306 struct xlog *log = to_xlog(kobject); in reserve_grant_head_show()
315 struct kobject *kobject, in write_grant_head_show() argument
320 struct xlog *log = to_xlog(kobject); in write_grant_head_show()
352 to_error_cfg(struct kobject *kobject) in to_error_cfg() argument
354 struct xfs_kobj *kobj = to_kobj(kobject); in to_error_cfg()
359 err_to_mp(struct kobject *kobject) in err_to_mp() argument
361 struct xfs_kobj *kobj = to_kobj(kobject); in err_to_mp()
367 struct kobject *kobject, in max_retries_show() argument
371 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_show()
383 struct kobject *kobject, in max_retries_store() argument
387 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_store()
408 struct kobject *kobject, in retry_timeout_seconds_show() argument
412 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_show()
424 struct kobject *kobject, in retry_timeout_seconds_store() argument
428 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_store()
452 struct kobject *kobject, in fail_at_unmount_show() argument
455 struct xfs_mount *mp = err_to_mp(kobject); in fail_at_unmount_show()
462 struct kobject *kobject, in fail_at_unmount_store() argument
466 struct xfs_mount *mp = err_to_mp(kobject); in fail_at_unmount_store()
588 error = sysfs_create_file(&mp->m_error_kobj.kobject, in xfs_error_sysfs_init()