Home
last modified time | relevance | path

Searched defs:kobj (Results 1 – 25 of 561) sorted by relevance

12345678910>>...23

/linux/lib/
H A Dkobject.c30 const void *kobject_namespace(const struct kobject *kobj) in kobject_namespace()
50 void kobject_get_ownership(const struct kobject *kobj, kuid_t *uid, kgid_t *gid) in kobject_get_ownership()
67 static int create_dir(struct kobject *kobj) in create_dir()
106 static int get_kobj_path_length(const struct kobject *kobj) in get_kobj_path_length()
124 static int fill_kobj_path(const struct kobject *kobj, char *path, int length) in fill_kobj_path()
152 char *kobject_get_path(const struct kobject *kobj, gfp_t gfp_mask) in kobject_get_path()
174 static void kobj_kset_join(struct kobject *kobj) in kobj_kset_join()
186 static void kobj_kset_leave(struct kobject *kobj) in kobj_kset_leave()
197 static void kobject_init_internal(struct kobject *kobj) in kobject_init_internal()
210 static int kobject_add_internal(struct kobject *kobj) in kobject_add_internal()
[all …]
/linux/kernel/
H A Dksysfs.c39 static ssize_t uevent_seqnum_show(struct kobject *kobj, in uevent_seqnum_show()
47 static ssize_t cpu_byteorder_show(struct kobject *kobj, in cpu_byteorder_show()
55 static ssize_t address_bits_show(struct kobject *kobj, in address_bits_show()
64 static ssize_t uevent_helper_show(struct kobject *kobj, in uevent_helper_show()
69 static ssize_t uevent_helper_store(struct kobject *kobj, in uevent_helper_store()
85 static ssize_t profiling_show(struct kobject *kobj, in profiling_show()
90 static ssize_t profiling_store(struct kobject *kobj, in profiling_store()
116 static ssize_t kexec_loaded_show(struct kobject *kobj, in kexec_loaded_show()
124 static ssize_t kexec_crash_loaded_show(struct kobject *kobj, in kexec_crash_loaded_show()
131 static ssize_t kexec_crash_size_show(struct kobject *kobj, in kexec_crash_size_show()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c35 static void kobj_xe_hw_engine_release(struct kobject *kobj) in kobj_xe_hw_engine_release()
45 static ssize_t job_timeout_max_store(struct kobject *kobj, in job_timeout_max_store()
70 static ssize_t job_timeout_max_show(struct kobject *kobj, in job_timeout_max_show()
81 static ssize_t job_timeout_min_store(struct kobject *kobj, in job_timeout_min_store()
106 static ssize_t job_timeout_min_show(struct kobject *kobj, in job_timeout_min_show()
117 static ssize_t job_timeout_store(struct kobject *kobj, in job_timeout_store()
139 static ssize_t job_timeout_show(struct kobject *kobj, in job_timeout_show()
150 static ssize_t job_timeout_default(struct kobject *kobj, in job_timeout_default()
161 static ssize_t job_timeout_min_default(struct kobject *kobj, in job_timeout_min_default()
172 static ssize_t job_timeout_max_default(struct kobject *kobj, in job_timeout_max_default()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dsysfs_engines.c19 static struct intel_engine_cs *kobj_to_engine(struct kobject *kobj) in kobj_to_engine()
25 name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in name_show()
34 class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in class_show()
43 inst_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in inst_show()
52 mmio_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mmio_show()
121 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
132 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in all_caps_show()
141 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store()
179 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show()
190 max_spin_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_default()
[all …]
H A Dintel_gt_sysfs_pm.c28 sysfs_gt_attribute_w_func(struct kobject *kobj, struct attribute *attr, in sysfs_gt_attribute_w_func()
53 sysfs_gt_attribute_r_func(struct kobject *kobj, struct attribute *attr, in sysfs_gt_attribute_r_func()
179 static ssize_t rc6_enable_show(struct kobject *kobj, in rc6_enable_show()
277 static int __intel_gt_sysfs_create_group(struct kobject *kobj, in __intel_gt_sysfs_create_group()
285 static void intel_sysfs_rc6_init(struct intel_gt *gt, struct kobject *kobj) in intel_sysfs_rc6_init()
430 static ssize_t punit_req_freq_mhz_show(struct kobject *kobj, in punit_req_freq_mhz_show()
440 static ssize_t slpc_ignore_eff_freq_show(struct kobject *kobj, in slpc_ignore_eff_freq_show()
450 static ssize_t slpc_ignore_eff_freq_store(struct kobject *kobj, in slpc_ignore_eff_freq_store()
475 static ssize_t throttle_reason_bool_show(struct kobject *kobj, in throttle_reason_bool_show()
558 static ssize_t freq_factor_scale_show(struct kobject *kobj, in freq_factor_scale_show()
[all …]
/linux/fs/btrfs/
H A Dsysfs.c58 struct kobject kobj; member
176 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show()
192 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store()
260 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible()
348 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show()
355 static ssize_t supported_checksums_show(struct kobject *kobj, in supported_checksums_show()
376 static ssize_t send_stream_version_show(struct kobject *kobj, in send_stream_version_show()
391 static ssize_t supported_rescue_options_show(struct kobject *kobj, in supported_rescue_options_show()
406 static ssize_t supported_sectorsizes_show(struct kobject *kobj, in supported_sectorsizes_show()
422 static ssize_t acl_show(struct kobject *kobj, struct kobj_attribute *a, char *buf) in acl_show()
[all …]
/linux/fs/sysfs/
H A Dfile.c28 struct kobject *kobj = kn->parent->priv; in sysfs_file_ops() local
43 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_seq_show() local
81 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_read() local
105 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_read() local
131 struct kobject *kobj in sysfs_kf_write() local
144 struct kobject *kobj = of->kn->parent->priv; sysfs_kf_bin_write() local
165 struct kobject *kobj = of->kn->parent->priv; sysfs_kf_bin_mmap() local
174 struct kobject *kobj = of->kn->parent->priv; sysfs_kf_bin_llseek() local
192 sysfs_notify(struct kobject * kobj,const char * dir,const char * attr) sysfs_notify() argument
271 struct kobject *kobj = parent->priv; sysfs_add_file_mode_ns() local
358 sysfs_create_file_ns(struct kobject * kobj,const struct attribute * attr,const void * ns) sysfs_create_file_ns() argument
372 sysfs_create_files(struct kobject * kobj,const struct attribute * const * ptr) sysfs_create_files() argument
392 sysfs_add_file_to_group(struct kobject * kobj,const struct attribute * attr,const char * group) sysfs_add_file_to_group() argument
426 sysfs_chmod_file(struct kobject * kobj,const struct attribute * attr,umode_t mode) sysfs_chmod_file() argument
457 sysfs_break_active_protection(struct kobject * kobj,const struct attribute * attr) sysfs_break_active_protection() argument
485 struct kobject *kobj = kn->parent->priv; sysfs_unbreak_active_protection() local
501 sysfs_remove_file_ns(struct kobject * kobj,const struct attribute * attr,const void * ns) sysfs_remove_file_ns() argument
517 sysfs_remove_file_self(struct kobject * kobj,const struct attribute * attr) sysfs_remove_file_self() argument
534 sysfs_remove_files(struct kobject * kobj,const struct attribute * const * ptr) sysfs_remove_files() argument
549 sysfs_remove_file_from_group(struct kobject * kobj,const struct attribute * attr,const char * group) sysfs_remove_file_from_group() argument
573 sysfs_create_bin_file(struct kobject * kobj,const struct bin_attribute * attr) sysfs_create_bin_file() argument
593 sysfs_remove_bin_file(struct kobject * kobj,const struct bin_attribute * attr) sysfs_remove_bin_file() argument
625 sysfs_link_change_owner(struct kobject * kobj,struct kobject * targ,const char * name,kuid_t kuid,kgid_t kgid) sysfs_link_change_owner() argument
664 sysfs_file_change_owner(struct kobject * kobj,const char * name,kuid_t kuid,kgid_t kgid) sysfs_file_change_owner() argument
706 sysfs_change_owner(struct kobject * kobj,kuid_t kuid,kgid_t kgid) sysfs_change_owner() argument
[all...]
H A Dgroup.c34 static umode_t __first_visible(const struct attribute_group *grp, struct kobject *kobj) in __first_visible()
45 static int create_files(struct kernfs_node *parent, struct kobject *kobj, in create_files()
120 static int internal_create_group(struct kobject *kobj, int update, in internal_create_group()
203 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
210 static int internal_create_groups(struct kobject *kobj, int update, in internal_create_groups()
243 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups()
261 int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups()
286 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
301 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group()
335 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups()
[all …]
H A Dsymlink.c67 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target, in sysfs_do_create_link()
89 int sysfs_create_link(struct kobject *kobj, struct kobject *target, in sysfs_create_link()
105 int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, in sysfs_create_link_nowarn()
121 void sysfs_delete_link(struct kobject *kobj, struct kobject *targ, in sysfs_delete_link()
143 void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link()
166 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ, in sysfs_rename_link_ns()
/linux/include/linux/
H A Dsysfs.h483 sysfs_create_dir_ns(struct kobject * kobj,const void * ns) sysfs_create_dir_ns() argument
488 sysfs_remove_dir(struct kobject * kobj) sysfs_remove_dir() argument
492 sysfs_rename_dir_ns(struct kobject * kobj,const char * new_name,const void * new_ns) sysfs_rename_dir_ns() argument
498 sysfs_move_dir_ns(struct kobject * kobj,struct kobject * new_parent_kobj,const void * new_ns) sysfs_move_dir_ns() argument
516 sysfs_create_file_ns(struct kobject * kobj,const struct attribute * attr,const void * ns) sysfs_create_file_ns() argument
523 sysfs_create_files(struct kobject * kobj,const struct attribute * const * attr) sysfs_create_files() argument
529 sysfs_chmod_file(struct kobject * kobj,const struct attribute * attr,umode_t mode) sysfs_chmod_file() argument
536 sysfs_break_active_protection(struct kobject * kobj,const struct attribute * attr) sysfs_break_active_protection() argument
546 sysfs_remove_file_ns(struct kobject * kobj,const struct attribute * attr,const void * ns) sysfs_remove_file_ns() argument
552 sysfs_remove_file_self(struct kobject * kobj,const struct attribute * attr) sysfs_remove_file_self() argument
558 sysfs_remove_files(struct kobject * kobj,const struct attribute * const * attr) sysfs_remove_files() argument
563 sysfs_create_bin_file(struct kobject * kobj,const struct bin_attribute * attr) sysfs_create_bin_file() argument
569 sysfs_remove_bin_file(struct kobject * kobj,const struct bin_attribute * attr) sysfs_remove_bin_file() argument
574 sysfs_create_link(struct kobject * kobj,struct kobject * target,const char * name) sysfs_create_link() argument
580 sysfs_create_link_nowarn(struct kobject * kobj,struct kobject * target,const char * name) sysfs_create_link_nowarn() argument
587 sysfs_remove_link(struct kobject * kobj,const char * name) sysfs_remove_link() argument
603 sysfs_create_group(struct kobject * kobj,const struct attribute_group * grp) sysfs_create_group() argument
609 sysfs_create_groups(struct kobject * kobj,const struct attribute_group ** groups) sysfs_create_groups() argument
615 sysfs_update_groups(struct kobject * kobj,const struct attribute_group ** groups) sysfs_update_groups() argument
621 sysfs_update_group(struct kobject * kobj,const struct attribute_group * grp) sysfs_update_group() argument
627 sysfs_remove_group(struct kobject * kobj,const struct attribute_group * grp) sysfs_remove_group() argument
632 sysfs_remove_groups(struct kobject * kobj,const struct attribute_group ** groups) sysfs_remove_groups() argument
637 sysfs_add_file_to_group(struct kobject * kobj,const struct attribute * attr,const char * group) sysfs_add_file_to_group() argument
643 sysfs_remove_file_from_group(struct kobject * kobj,const struct attribute * attr,const char * group) sysfs_remove_file_from_group() argument
648 sysfs_merge_group(struct kobject * kobj,const struct attribute_group * grp) sysfs_merge_group() argument
654 sysfs_unmerge_group(struct kobject * kobj,const struct attribute_group * grp) sysfs_unmerge_group() argument
659 sysfs_add_link_to_group(struct kobject * kobj,const char * group_name,struct kobject * target,const char * link_name) sysfs_add_link_to_group() argument
666 sysfs_remove_link_from_group(struct kobject * kobj,const char * group_name,const char * link_name) sysfs_remove_link_from_group() argument
671 compat_only_sysfs_link_entry_to_kobj(struct kobject * kobj,struct kobject * target_kobj,const char * target_name,const char * symlink_name) compat_only_sysfs_link_entry_to_kobj() argument
679 sysfs_notify(struct kobject * kobj,const char * dir,const char * attr) sysfs_notify() argument
693 sysfs_file_change_owner(struct kobject * kobj,const char * name,kuid_t kuid,kgid_t kgid) sysfs_file_change_owner() argument
700 sysfs_link_change_owner(struct kobject * kobj,struct kobject * targ,const char * name,kuid_t kuid,kgid_t kgid) sysfs_link_change_owner() argument
708 sysfs_change_owner(struct kobject * kobj,kuid_t kuid,kgid_t kgid) sysfs_change_owner() argument
713 sysfs_groups_change_owner(struct kobject * kobj,const struct attribute_group ** groups,kuid_t kuid,kgid_t kgid) sysfs_groups_change_owner() argument
720 sysfs_group_change_owner(struct kobject * kobj,const struct attribute_group * groups,kuid_t kuid,kgid_t kgid) sysfs_group_change_owner() argument
740 sysfs_create_file(struct kobject * kobj,const struct attribute * attr) sysfs_create_file() argument
746 sysfs_remove_file(struct kobject * kobj,const struct attribute * attr) sysfs_remove_file() argument
752 sysfs_rename_link(struct kobject * kobj,struct kobject * target,const char * old_name,const char * new_name) sysfs_rename_link() argument
[all...]
/linux/mm/damon/
H A Dsysfs-schemes.c17 struct kobject kobj; member
40 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show() argument
49 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show() argument
58 static ssize_t nr_accesses_show(struct kobject *kobj, in nr_accesses_show() argument
67 age_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) age_show() argument
76 damon_sysfs_scheme_region_release(struct kobject * kobj) damon_sysfs_scheme_region_release() argument
159 struct kobject kobj; global() member
184 total_bytes_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) total_bytes_show() argument
205 damon_sysfs_scheme_regions_release(struct kobject * kobj) damon_sysfs_scheme_regions_release() argument
230 struct kobject kobj; global() member
243 nr_tried_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) nr_tried_show() argument
252 sz_tried_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) sz_tried_show() argument
261 nr_applied_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) nr_applied_show() argument
270 sz_applied_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) sz_applied_show() argument
279 qt_exceeds_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) qt_exceeds_show() argument
288 damon_sysfs_stats_release(struct kobject * kobj) damon_sysfs_stats_release() argument
329 struct kobject kobj; global() member
350 type_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) type_show() argument
360 type_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) type_store() argument
379 matching_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) matching_show() argument
388 matching_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) matching_store() argument
403 memcg_path_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) memcg_path_show() argument
413 memcg_path_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) memcg_path_store() argument
428 addr_start_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) addr_start_show() argument
437 addr_start_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) addr_start_store() argument
447 addr_end_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) addr_end_show() argument
456 addr_end_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) addr_end_store() argument
466 damon_target_idx_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) damon_target_idx_show() argument
475 damon_target_idx_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) damon_target_idx_store() argument
485 damon_sysfs_scheme_filter_release(struct kobject * kobj) damon_sysfs_scheme_filter_release() argument
534 struct kobject kobj; global() member
596 nr_filters_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) nr_filters_show() argument
605 nr_filters_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) nr_filters_store() argument
628 damon_sysfs_scheme_filters_release(struct kobject * kobj) damon_sysfs_scheme_filters_release() argument
653 struct kobject kobj; global() member
685 metric_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) metric_show() argument
695 metric_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) metric_store() argument
711 interval_us_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) interval_us_show() argument
720 interval_us_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) interval_us_store() argument
730 high_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) high_show() argument
739 high_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) high_store() argument
749 mid_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) mid_show() argument
758 mid_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) mid_store() argument
768 low_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) low_show() argument
777 low_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) low_store() argument
787 damon_sysfs_watermarks_release(struct kobject * kobj) damon_sysfs_watermarks_release() argument
828 struct kobject kobj; global() member
845 target_metric_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) target_metric_show() argument
855 target_metric_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) target_metric_store() argument
871 target_value_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) target_value_show() argument
880 target_value_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) target_value_store() argument
890 current_value_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) current_value_show() argument
899 current_value_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) current_value_store() argument
910 damos_sysfs_quota_goal_release(struct kobject * kobj) damos_sysfs_quota_goal_release() argument
944 struct kobject kobj; global() member
1005 nr_goals_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) nr_goals_show() argument
1014 nr_goals_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) nr_goals_store() argument
1037 damos_sysfs_quota_goals_release(struct kobject * kobj) damos_sysfs_quota_goals_release() argument
1062 struct kobject kobj; global() member
1083 sz_permil_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) sz_permil_show() argument
1092 sz_permil_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) sz_permil_store() argument
1102 nr_accesses_permil_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) nr_accesses_permil_show() argument
1111 nr_accesses_permil_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) nr_accesses_permil_store() argument
1121 age_permil_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) age_permil_show() argument
1130 age_permil_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) age_permil_store() argument
1140 damon_sysfs_weights_release(struct kobject * kobj) damon_sysfs_weights_release() argument
1173 struct kobject kobj; global() member
1230 ms_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) ms_show() argument
1239 ms_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) ms_store() argument
1251 bytes_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) bytes_show() argument
1260 bytes_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) bytes_store() argument
1272 reset_interval_ms_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) reset_interval_ms_show() argument
1281 reset_interval_ms_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) reset_interval_ms_store() argument
1293 effective_bytes_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) effective_bytes_show() argument
1302 damon_sysfs_quotas_release(struct kobject * kobj) damon_sysfs_quotas_release() argument
1339 struct kobject kobj; global() member
1417 damon_sysfs_access_pattern_release(struct kobject * kobj) damon_sysfs_access_pattern_release() argument
1438 struct kobject kobj; global() member
1649 action_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) action_show() argument
1659 action_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) action_store() argument
1675 apply_interval_us_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) apply_interval_us_show() argument
1684 apply_interval_us_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) apply_interval_us_store() argument
1694 damon_sysfs_scheme_release(struct kobject * kobj) damon_sysfs_scheme_release() argument
1788 nr_schemes_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) nr_schemes_show() argument
1797 nr_schemes_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) nr_schemes_store() argument
1819 damon_sysfs_schemes_release(struct kobject * kobj) damon_sysfs_schemes_release() argument
[all...]
H A Dsysfs.c19 struct kobject kobj; member
28 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
37 static ssize_t start_store(struct kobject *kobj, struct kobj_attribute *attr, in start_store()
47 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
56 static ssize_t end_store(struct kobject *kobj, struct kobj_attribute *attr, in end_store()
66 static void damon_sysfs_region_release(struct kobject *kobj) in damon_sysfs_region_release()
95 struct kobject kobj; member
155 static ssize_t nr_regions_show(struct kobject *kobj, in nr_regions_show()
164 static ssize_t nr_regions_store(struct kobject *kobj, in nr_regions_store()
187 static void damon_sysfs_regions_release(struct kobject *kobj) in damon_sysfs_regions_release()
[all …]
/linux/kernel/power/
H A Dmain.c115 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
121 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
139 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
184 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
220 static ssize_t sync_on_suspend_show(struct kobject *kobj, in sync_on_suspend_show()
226 static ssize_t sync_on_suspend_store(struct kobject *kobj, in sync_on_suspend_store()
257 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
278 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
421 static ssize_t last_failed_dev_show(struct kobject *kobj, in last_failed_dev_show()
435 static ssize_t last_failed_errno_show(struct kobject *kobj, in last_failed_errno_show()
[all …]
/linux/drivers/platform/x86/
H A Dthink-lmi.c198 static inline struct tlmi_pwd_setting *to_tlmi_pwd_setting(struct kobject *kobj) in to_tlmi_pwd_setting()
203 static inline struct tlmi_attr_setting *to_tlmi_attr_setting(struct kobject *kobj) in to_tlmi_attr_setting()
389 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
399 static ssize_t current_password_store(struct kobject *kobj, in current_password_store()
419 static ssize_t new_password_store(struct kobject *kobj, in new_password_store()
505 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
515 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
524 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
531 static ssize_t encoding_show(struct kobject *kobj, struct kobj_attribute *attr, in encoding_show()
539 static ssize_t encoding_store(struct kobject *kobj, in encoding_store()
[all …]
/linux/arch/s390/kernel/
H A Duv.c478 static ssize_t uv_query_facilities(struct kobject *kobj, in uv_query_facilities()
491 static ssize_t uv_query_supp_se_hdr_ver(struct kobject *kobj, in uv_query_supp_se_hdr_ver()
500 static ssize_t uv_query_supp_se_hdr_pcf(struct kobject *kobj, in uv_query_supp_se_hdr_pcf()
509 static ssize_t uv_query_dump_cpu_len(struct kobject *kobj, in uv_query_dump_cpu_len()
518 static ssize_t uv_query_dump_storage_state_len(struct kobject *kobj, in uv_query_dump_storage_state_len()
527 static ssize_t uv_query_dump_finalize_len(struct kobject *kobj, in uv_query_dump_finalize_len()
536 static ssize_t uv_query_feature_indications(struct kobject *kobj, in uv_query_feature_indications()
545 static ssize_t uv_query_max_guest_cpus(struct kobject *kobj, in uv_query_max_guest_cpus()
554 static ssize_t uv_query_max_guest_vms(struct kobject *kobj, in uv_query_max_guest_vms()
563 static ssize_t uv_query_max_guest_addr(struct kobject *kobj, in uv_query_max_guest_addr()
[all …]
H A Dipl.c312 ipl_type_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) ipl_type_show() argument
320 ipl_secure_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) ipl_secure_show() argument
329 ipl_has_secure_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) ipl_has_secure_show() argument
338 ipl_vm_parm_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) ipl_vm_parm_show() argument
351 sys_ipl_device_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) sys_ipl_device_show() argument
376 ipl_parameter_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ipl_parameter_read() argument
387 ipl_scp_data_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ipl_scp_data_read() argument
397 ipl_nvme_scp_data_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ipl_nvme_scp_data_read() argument
407 ipl_eckd_scp_data_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ipl_eckd_scp_data_read() argument
543 ipl_ccw_loadparm_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) ipl_ccw_loadparm_show() argument
743 reipl_nss_vmparm_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) reipl_nss_vmparm_show() argument
749 reipl_nss_vmparm_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) reipl_nss_vmparm_store() argument
757 reipl_ccw_vmparm_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) reipl_ccw_vmparm_show() argument
763 reipl_ccw_vmparm_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) reipl_ccw_vmparm_store() argument
779 reipl_fcp_scpdata_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) reipl_fcp_scpdata_read() argument
789 reipl_fcp_scpdata_write(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) reipl_fcp_scpdata_write() argument
902 reipl_fcp_clear_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) reipl_fcp_clear_show() argument
908 reipl_fcp_clear_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) reipl_fcp_clear_store() argument
937 reipl_nvme_scpdata_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) reipl_nvme_scpdata_read() argument
947 reipl_nvme_scpdata_write(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) reipl_nvme_scpdata_write() argument
1004 reipl_nvme_clear_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) reipl_nvme_clear_show() argument
1010 reipl_nvme_clear_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) reipl_nvme_clear_store() argument
1025 reipl_ccw_clear_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) reipl_ccw_clear_show() argument
1031 reipl_ccw_clear_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) reipl_ccw_clear_store() argument
1070 reipl_eckd_scpdata_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) reipl_eckd_scpdata_read() argument
1080 reipl_eckd_scpdata_write(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) reipl_eckd_scpdata_write() argument
1131 reipl_eckd_clear_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) reipl_eckd_clear_show() argument
1137 reipl_eckd_clear_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) reipl_eckd_clear_store() argument
1158 reipl_nss_name_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) reipl_nss_name_show() argument
1167 reipl_nss_name_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) reipl_nss_name_store() argument
1246 reipl_type_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) reipl_type_show() argument
1252 reipl_type_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) reipl_type_store() argument
1734 dump_type_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) dump_type_show() argument
1740 dump_type_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) dump_type_store() argument
2074 on_reboot_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) on_reboot_show() argument
2080 on_reboot_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) on_reboot_store() argument
2100 on_panic_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) on_panic_show() argument
2106 on_panic_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) on_panic_store() argument
2126 on_restart_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) on_restart_show() argument
2132 on_restart_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) on_restart_store() argument
2162 on_halt_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) on_halt_show() argument
2168 on_halt_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) on_halt_store() argument
2188 on_poff_show(struct kobject * kobj,struct kobj_attribute * attr,char * page) on_poff_show() argument
2194 on_poff_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t len) on_poff_store() argument
[all...]
/linux/net/sunrpc/
H A Dsysfs.c28 static void rpc_sysfs_object_release(struct kobject *kobj) in rpc_sysfs_object_release()
34 rpc_sysfs_object_child_ns_type(const struct kobject *kobj) in rpc_sysfs_object_child_ns_type()
49 struct kobject *kobj; in rpc_sysfs_object_alloc() local
63 rpc_sysfs_xprt_kobj_get_xprt(struct kobject *kobj) in rpc_sysfs_xprt_kobj_get_xprt()
72 rpc_sysfs_xprt_kobj_get_xprt_switch(struct kobject *kobj) in rpc_sysfs_xprt_kobj_get_xprt_switch()
81 rpc_sysfs_xprt_switch_kobj_get_xprt(struct kobject *kobj) in rpc_sysfs_xprt_switch_kobj_get_xprt()
89 static ssize_t rpc_sysfs_xprt_dstaddr_show(struct kobject *kobj, in rpc_sysfs_xprt_dstaddr_show()
106 static ssize_t rpc_sysfs_xprt_srcaddr_show(struct kobject *kobj, in rpc_sysfs_xprt_srcaddr_show()
132 static ssize_t rpc_sysfs_xprt_info_show(struct kobject *kobj, in rpc_sysfs_xprt_info_show()
165 static ssize_t rpc_sysfs_xprt_state_show(struct kobject *kobj, in rpc_sysfs_xprt_state_show()
[all …]
/linux/fs/nfs/
H A Dsysfs.c23 static void nfs_kset_release(struct kobject *kobj) in nfs_kset_release()
30 const struct kobject *kobj) in nfs_netns_object_child_ns_type()
73 static ssize_t nfs_netns_identifier_show(struct kobject *kobj, in nfs_netns_identifier_show()
95 static ssize_t nfs_netns_identifier_store(struct kobject *kobj, in nfs_netns_identifier_store()
120 static void nfs_netns_client_release(struct kobject *kobj) in nfs_netns_client_release()
129 static const void *nfs_netns_client_namespace(const struct kobject *kobj) in nfs_netns_client_namespace()
150 static void nfs_netns_object_release(struct kobject *kobj) in nfs_netns_object_release()
158 static const void *nfs_netns_namespace(const struct kobject *kobj) in nfs_netns_namespace()
232 shutdown_show(struct kobject *kobj, struct kobj_attribute *attr, in shutdown_show()
241 shutdown_store(struct kobject *kobj, struct kobj_attribute *attr, in shutdown_store()
[all …]
/linux/fs/orangefs/
H A Dorangefs-sysfs.c176 static ssize_t orangefs_attr_show(struct kobject *kobj, in orangefs_attr_show()
188 static ssize_t orangefs_attr_store(struct kobject *kobj, in orangefs_attr_store()
210 static ssize_t sysfs_int_show(struct kobject *kobj, in sysfs_int_show()
280 static ssize_t sysfs_int_store(struct kobject *kobj, in sysfs_int_store()
320 static ssize_t sysfs_service_op_show(struct kobject *kobj, in sysfs_service_op_show()
535 static ssize_t sysfs_service_op_store(struct kobject *kobj, in sysfs_service_op_store()
901 static void orangefs_obj_release(struct kobject *kobj) in orangefs_obj_release()
948 static void acache_orangefs_obj_release(struct kobject *kobj) in acache_orangefs_obj_release()
995 static void capcache_orangefs_obj_release(struct kobject *kobj) in capcache_orangefs_obj_release()
1042 static void ccache_orangefs_obj_release(struct kobject *kobj) in ccache_orangefs_obj_release()
[all …]
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-sysfs.c19 static void rtrs_clt_path_release(struct kobject *kobj) in rtrs_clt_path_release()
33 static void rtrs_clt_path_stats_release(struct kobject *kobj) in rtrs_clt_path_stats_release()
198 static ssize_t rtrs_clt_state_show(struct kobject *kobj, in rtrs_clt_state_show()
213 static ssize_t rtrs_clt_reconnect_show(struct kobject *kobj, in rtrs_clt_reconnect_show()
219 static ssize_t rtrs_clt_reconnect_store(struct kobject *kobj, in rtrs_clt_reconnect_store()
243 static ssize_t rtrs_clt_disconnect_show(struct kobject *kobj, in rtrs_clt_disconnect_show()
249 static ssize_t rtrs_clt_disconnect_store(struct kobject *kobj, in rtrs_clt_disconnect_store()
270 static ssize_t rtrs_clt_remove_path_show(struct kobject *kobj, in rtrs_clt_remove_path_show()
276 static ssize_t rtrs_clt_remove_path_store(struct kobject *kobj, in rtrs_clt_remove_path_store()
333 static ssize_t rtrs_clt_hca_port_show(struct kobject *kobj, in rtrs_clt_hca_port_show()
[all …]
H A Drtrs-srv-sysfs.c16 static void rtrs_srv_release(struct kobject *kobj) in rtrs_srv_release()
29 static ssize_t rtrs_srv_disconnect_show(struct kobject *kobj, in rtrs_srv_disconnect_show()
35 static ssize_t rtrs_srv_disconnect_store(struct kobject *kobj, in rtrs_srv_disconnect_store()
66 static ssize_t rtrs_srv_hca_port_show(struct kobject *kobj, in rtrs_srv_hca_port_show()
82 static ssize_t rtrs_srv_hca_name_show(struct kobject *kobj, in rtrs_srv_hca_name_show()
96 static ssize_t rtrs_srv_src_addr_show(struct kobject *kobj, in rtrs_srv_src_addr_show()
112 static ssize_t rtrs_srv_dst_addr_show(struct kobject *kobj, in rtrs_srv_dst_addr_show()
216 static void rtrs_srv_path_stats_release(struct kobject *kobj) in rtrs_srv_path_stats_release()
/linux/drivers/parisc/
H A Dpdc_stable.c93 struct kobject kobj; member
433 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show()
453 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store()
516 static ssize_t pdcs_size_read(struct kobject *kobj, in pdcs_size_read()
538 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read()
565 static ssize_t pdcs_autoboot_read(struct kobject *kobj, in pdcs_autoboot_read()
577 static ssize_t pdcs_autosearch_read(struct kobject *kobj, in pdcs_autosearch_read()
591 static ssize_t pdcs_timer_read(struct kobject *kobj, in pdcs_timer_read()
618 static ssize_t pdcs_osid_read(struct kobject *kobj, in pdcs_osid_read()
640 static ssize_t pdcs_osdep1_read(struct kobject *kobj, in pdcs_osdep1_read()
[all …]
/linux/drivers/block/rnbd/
H A Drnbd-clt-sysfs.c225 static ssize_t state_show(struct kobject *kobj, in state_show()
250 static ssize_t nr_poll_queues_show(struct kobject *kobj, in nr_poll_queues_show()
263 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show()
276 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show()
289 static ssize_t rnbd_clt_unmap_dev_show(struct kobject *kobj, in rnbd_clt_unmap_dev_show()
296 static ssize_t rnbd_clt_unmap_dev_store(struct kobject *kobj, in rnbd_clt_unmap_dev_store()
359 static ssize_t rnbd_clt_resize_dev_show(struct kobject *kobj, in rnbd_clt_resize_dev_show()
367 static ssize_t rnbd_clt_resize_dev_store(struct kobject *kobj, in rnbd_clt_resize_dev_store()
392 static ssize_t rnbd_clt_remap_dev_show(struct kobject *kobj, in rnbd_clt_remap_dev_show()
398 static ssize_t rnbd_clt_remap_dev_store(struct kobject *kobj, in rnbd_clt_remap_dev_store()
[all …]
H A Drnbd-srv-sysfs.c27 static void rnbd_srv_dev_release(struct kobject *kobj) in rnbd_srv_dev_release()
85 static ssize_t read_only_show(struct kobject *kobj, struct kobj_attribute *attr, in read_only_show()
98 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show()
113 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show()
126 static ssize_t rnbd_srv_dev_session_force_close_show(struct kobject *kobj, in rnbd_srv_dev_session_force_close_show()
133 static ssize_t rnbd_srv_dev_session_force_close_store(struct kobject *kobj, in rnbd_srv_dev_session_force_close_store()
179 static void rnbd_srv_sess_dev_release(struct kobject *kobj) in rnbd_srv_sess_dev_release()
/linux/drivers/cpuidle/
H A Dsysfs.c156 struct kobject kobj; member
159 static inline struct cpuidle_device *to_cpuidle_device(struct kobject *kobj) in to_cpuidle_device()
167 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show()
182 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store()
202 static void cpuidle_sysfs_release(struct kobject *kobj) in cpuidle_sysfs_release()
351 struct kobject kobj; member
385 static void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_add_s2idle_attr_group()
397 static void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_remove_s2idle_attr_group()
403 static inline void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_add_s2idle_attr_group()
404 static inline void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_remove_s2idle_attr_group()
[all …]

12345678910>>...23