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
204 struct kobject *kobject, in pwork_threads_store() argument
225 struct kobject *kobject, in pwork_threads_show() argument
234 struct kobject *kobject, in larp_store() argument
248 struct kobject *kobject, in larp_show() argument
280 to_xstats(struct kobject *kobject) in to_xstats() argument
282 struct xfs_kobj *kobj = to_kobj(kobject); in to_xstats()
289 struct kobject *kobject, in stats_show() argument
292 struct xstats *stats = to_xstats(kobject); in stats_show()
300 struct kobject *kobject, in stats_clear_store() argument
306 struct xstats *stats = to_xstats(kobject); in stats_clear_store()
336 to_xlog(struct kobject *kobject) in to_xlog() argument
338 struct xfs_kobj *kobj = to_kobj(kobject); in to_xlog()
345 struct kobject *kobject, in log_head_lsn_show() argument
350 struct xlog *log = to_xlog(kobject); in log_head_lsn_show()
363 struct kobject *kobject, in log_tail_lsn_show() argument
368 struct xlog *log = to_xlog(kobject); in log_tail_lsn_show()
377 struct kobject *kobject, in reserve_grant_head_show() argument
383 struct xlog *log = to_xlog(kobject); in reserve_grant_head_show()
392 struct kobject *kobject, in write_grant_head_show() argument
397 struct xlog *log = to_xlog(kobject); in write_grant_head_show()
430 to_error_cfg(struct kobject *kobject) in to_error_cfg() argument
432 struct xfs_kobj *kobj = to_kobj(kobject); in to_error_cfg()
437 err_to_mp(struct kobject *kobject) in err_to_mp() argument
439 struct xfs_kobj *kobj = to_kobj(kobject); in err_to_mp()
445 struct kobject *kobject, in max_retries_show() argument
449 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_show()
461 struct kobject *kobject, in max_retries_store() argument
465 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_store()
486 struct kobject *kobject, in retry_timeout_seconds_show() argument
490 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_show()
502 struct kobject *kobject, in retry_timeout_seconds_store() argument
506 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_store()
530 struct kobject *kobject, in fail_at_unmount_show() argument
533 struct xfs_mount *mp = err_to_mp(kobject); in fail_at_unmount_show()
540 struct kobject *kobject, in fail_at_unmount_store() argument
544 struct xfs_mount *mp = err_to_mp(kobject); in fail_at_unmount_store()
666 error = sysfs_create_file(&mp->m_error_kobj.kobject, in xfs_error_sysfs_init()