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()
83 struct kobject *kobject, in bug_on_assert_store() argument
106 struct kobject *kobject, in bug_on_assert_show() argument
115 struct kobject *kobject, in log_recovery_delay_store() argument
136 struct kobject *kobject, in log_recovery_delay_show() argument
145 struct kobject *kobject, in mount_delay_store() argument
166 struct kobject *kobject, in mount_delay_show() argument
175 struct kobject *kobject, in always_cow_store() argument
189 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
242 struct kobject *kobject, in larp_store() argument
256 struct kobject *kobject, in larp_show() argument
265 struct kobject *kobject, in bload_leaf_slack_store() argument
282 struct kobject *kobject, in bload_leaf_slack_show() argument
291 struct kobject *kobject, in bload_node_slack_store() argument
308 struct kobject *kobject, in bload_node_slack_show() argument
339 to_xstats(struct kobject *kobject) in to_xstats() argument
341 struct xfs_kobj *kobj = to_kobj(kobject); in to_xstats()
348 struct kobject *kobject, in stats_show() argument
351 struct xstats *stats = to_xstats(kobject); in stats_show()
359 struct kobject *kobject, in stats_clear_store() argument
365 struct xstats *stats = to_xstats(kobject); in stats_clear_store()
395 to_xlog(struct kobject *kobject) in to_xlog() argument
397 struct xfs_kobj *kobj = to_kobj(kobject); in to_xlog()
404 struct kobject *kobject, in log_head_lsn_show() argument
409 struct xlog *log = to_xlog(kobject); in log_head_lsn_show()
422 struct kobject *kobject, in log_tail_lsn_show() argument
427 struct xlog *log = to_xlog(kobject); in log_tail_lsn_show()
436 struct kobject *kobject, in reserve_grant_head_bytes_show() argument
440 atomic64_read(&to_xlog(kobject)->l_reserve_head.grant)); in reserve_grant_head_bytes_show()
446 struct kobject *kobject, in write_grant_head_bytes_show() argument
450 atomic64_read(&to_xlog(kobject)->l_write_head.grant)); in write_grant_head_bytes_show()
480 to_error_cfg(struct kobject *kobject) in to_error_cfg() argument
482 struct xfs_kobj *kobj = to_kobj(kobject); in to_error_cfg()
487 err_to_mp(struct kobject *kobject) in err_to_mp() argument
489 struct xfs_kobj *kobj = to_kobj(kobject); in err_to_mp()
495 struct kobject *kobject, in max_retries_show() argument
499 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_show()
511 struct kobject *kobject, in max_retries_store() argument
515 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_store()
536 struct kobject *kobject, in retry_timeout_seconds_show() argument
540 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_show()
552 struct kobject *kobject, in retry_timeout_seconds_store() argument
556 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_store()
580 struct kobject *kobject, in fail_at_unmount_show() argument
583 struct xfs_mount *mp = err_to_mp(kobject); in fail_at_unmount_show()
590 struct kobject *kobject, in fail_at_unmount_store() argument
594 struct xfs_mount *mp = err_to_mp(kobject); in fail_at_unmount_store()
716 error = sysfs_create_file(&mp->m_error_kobj.kobject, in xfs_error_sysfs_init()