Lines Matching refs:kobject
18 ssize_t (*show)(struct kobject *kobject, char *buf);
19 ssize_t (*store)(struct kobject *kobject, const char *buf,
40 struct kobject *kobject, in xfs_sysfs_object_show() argument
46 return xfs_attr->show ? xfs_attr->show(kobject, buf) : 0; in xfs_sysfs_object_show()
51 struct kobject *kobject, in xfs_sysfs_object_store() argument
58 return xfs_attr->store ? xfs_attr->store(kobject, buf, count) : 0; in xfs_sysfs_object_store()
81 struct kobject *kobject, in bug_on_assert_store() argument
104 struct kobject *kobject, in bug_on_assert_show() argument
113 struct kobject *kobject, in log_recovery_delay_store() argument
134 struct kobject *kobject, in log_recovery_delay_show() argument
143 struct kobject *kobject, in mount_delay_store() argument
164 struct kobject *kobject, in mount_delay_show() argument
173 struct kobject *kobject, in always_cow_store() argument
187 struct kobject *kobject, in always_cow_show() argument
202 struct kobject *kobject, in pwork_threads_store() argument
223 struct kobject *kobject, in pwork_threads_show() argument
253 to_xstats(struct kobject *kobject) in to_xstats() argument
255 struct xfs_kobj *kobj = to_kobj(kobject); in to_xstats()
262 struct kobject *kobject, in stats_show() argument
265 struct xstats *stats = to_xstats(kobject); in stats_show()
273 struct kobject *kobject, in stats_clear_store() argument
279 struct xstats *stats = to_xstats(kobject); in stats_clear_store()
308 to_xlog(struct kobject *kobject) in to_xlog() argument
310 struct xfs_kobj *kobj = to_kobj(kobject); in to_xlog()
317 struct kobject *kobject, in log_head_lsn_show() argument
322 struct xlog *log = to_xlog(kobject); in log_head_lsn_show()
335 struct kobject *kobject, in log_tail_lsn_show() argument
340 struct xlog *log = to_xlog(kobject); in log_tail_lsn_show()
349 struct kobject *kobject, in reserve_grant_head_show() argument
355 struct xlog *log = to_xlog(kobject); in reserve_grant_head_show()
364 struct kobject *kobject, in write_grant_head_show() argument
369 struct xlog *log = to_xlog(kobject); in write_grant_head_show()
401 to_error_cfg(struct kobject *kobject) in to_error_cfg() argument
403 struct xfs_kobj *kobj = to_kobj(kobject); in to_error_cfg()
408 err_to_mp(struct kobject *kobject) in err_to_mp() argument
410 struct xfs_kobj *kobj = to_kobj(kobject); in err_to_mp()
416 struct kobject *kobject, in max_retries_show() argument
420 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_show()
432 struct kobject *kobject, in max_retries_store() argument
436 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_store()
457 struct kobject *kobject, in retry_timeout_seconds_show() argument
461 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_show()
473 struct kobject *kobject, in retry_timeout_seconds_store() argument
477 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_store()
501 struct kobject *kobject, in fail_at_unmount_show() argument
504 struct xfs_mount *mp = err_to_mp(kobject); in fail_at_unmount_show()
511 struct kobject *kobject, in fail_at_unmount_store() argument
515 struct xfs_mount *mp = err_to_mp(kobject); in fail_at_unmount_store()
637 error = sysfs_create_file(&mp->m_error_kobj.kobject, in xfs_error_sysfs_init()