Lines Matching refs:kobject
19 ssize_t (*show)(struct kobject *kobject, char *buf);
20 ssize_t (*store)(struct kobject *kobject, const char *buf,
41 struct kobject *kobject, in xfs_sysfs_object_show() argument
47 return xfs_attr->show ? xfs_attr->show(kobject, buf) : 0; in xfs_sysfs_object_show()
52 struct kobject *kobject, in xfs_sysfs_object_store() argument
59 return xfs_attr->store ? xfs_attr->store(kobject, buf, count) : 0; in xfs_sysfs_object_store()
82 struct kobject *kobject, in bug_on_assert_store() argument
105 struct kobject *kobject, in bug_on_assert_show() argument
114 struct kobject *kobject, in log_recovery_delay_store() argument
135 struct kobject *kobject, in log_recovery_delay_show() argument
144 struct kobject *kobject, in mount_delay_store() argument
165 struct kobject *kobject, in mount_delay_show() argument
174 struct kobject *kobject, in always_cow_store() argument
188 struct kobject *kobject, in always_cow_show() argument
203 struct kobject *kobject, in pwork_threads_store() argument
224 struct kobject *kobject, in pwork_threads_show() argument
254 to_xstats(struct kobject *kobject) in to_xstats() argument
256 struct xfs_kobj *kobj = to_kobj(kobject); in to_xstats()
263 struct kobject *kobject, in stats_show() argument
266 struct xstats *stats = to_xstats(kobject); in stats_show()
274 struct kobject *kobject, in stats_clear_store() argument
280 struct xstats *stats = to_xstats(kobject); in stats_clear_store()
309 to_xlog(struct kobject *kobject) in to_xlog() argument
311 struct xfs_kobj *kobj = to_kobj(kobject); in to_xlog()
318 struct kobject *kobject, in log_head_lsn_show() argument
323 struct xlog *log = to_xlog(kobject); in log_head_lsn_show()
336 struct kobject *kobject, in log_tail_lsn_show() argument
341 struct xlog *log = to_xlog(kobject); in log_tail_lsn_show()
350 struct kobject *kobject, in reserve_grant_head_show() argument
356 struct xlog *log = to_xlog(kobject); in reserve_grant_head_show()
365 struct kobject *kobject, in write_grant_head_show() argument
370 struct xlog *log = to_xlog(kobject); in write_grant_head_show()
402 to_error_cfg(struct kobject *kobject) in to_error_cfg() argument
404 struct xfs_kobj *kobj = to_kobj(kobject); in to_error_cfg()
409 err_to_mp(struct kobject *kobject) in err_to_mp() argument
411 struct xfs_kobj *kobj = to_kobj(kobject); in err_to_mp()
417 struct kobject *kobject, in max_retries_show() argument
421 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_show()
433 struct kobject *kobject, in max_retries_store() argument
437 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_store()
458 struct kobject *kobject, in retry_timeout_seconds_show() argument
462 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_show()
474 struct kobject *kobject, in retry_timeout_seconds_store() argument
478 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_store()
502 struct kobject *kobject, in fail_at_unmount_show() argument
505 struct xfs_mount *mp = err_to_mp(kobject); in fail_at_unmount_show()
512 struct kobject *kobject, in fail_at_unmount_store() argument
516 struct xfs_mount *mp = err_to_mp(kobject); in fail_at_unmount_store()
638 error = sysfs_create_file(&mp->m_error_kobj.kobject, in xfs_error_sysfs_init()