Home
last modified time | relevance | path

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

12345678910>>...18

/linux/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c35 static void xe_hw_engine_sysfs_kobj_release(struct kobject *kobj) in xe_hw_engine_sysfs_kobj_release()
40 static ssize_t xe_hw_engine_class_sysfs_attr_show(struct kobject *kobj, in xe_hw_engine_class_sysfs_attr_show()
58 static ssize_t xe_hw_engine_class_sysfs_attr_store(struct kobject *kobj, in xe_hw_engine_class_sysfs_attr_store()
92 static ssize_t job_timeout_max_store(struct kobject *kobj, in job_timeout_max_store()
117 static ssize_t job_timeout_max_show(struct kobject *kobj, in job_timeout_max_show()
128 static ssize_t job_timeout_min_store(struct kobject *kobj, in job_timeout_min_store()
153 static ssize_t job_timeout_min_show(struct kobject *kobj, in job_timeout_min_show()
164 static ssize_t job_timeout_store(struct kobject *kobj, in job_timeout_store()
186 static ssize_t job_timeout_show(struct kobject *kobj, in job_timeout_show()
197 static ssize_t job_timeout_default(struct kobject *kobj, in job_timeout_default()
[all …]
/linux/mm/damon/
H A Dsysfs-schemes.c18 struct kobject kobj; member
42 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
51 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
60 static ssize_t nr_accesses_show(struct kobject *kobj, in nr_accesses_show()
69 static ssize_t age_show(struct kobject *kobj, struct kobj_attribute *attr, in age_show()
78 static ssize_t sz_filter_passed_show(struct kobject *kobj, in sz_filter_passed_show()
87 static void damon_sysfs_scheme_region_release(struct kobject *kobj) in damon_sysfs_scheme_region_release()
132 struct kobject kobj; member
154 static ssize_t total_bytes_show(struct kobject *kobj, in total_bytes_show()
175 static void damon_sysfs_scheme_regions_release(struct kobject *kobj) in damon_sysfs_scheme_regions_release()
[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 …]
H A Dsysfs-common.c34 static ssize_t min_show(struct kobject *kobj, struct kobj_attribute *attr, in min_show()
43 static ssize_t min_store(struct kobject *kobj, struct kobj_attribute *attr, in min_store()
59 static ssize_t max_show(struct kobject *kobj, struct kobj_attribute *attr, in max_show()
68 static ssize_t max_store(struct kobject *kobj, struct kobj_attribute *attr, in max_store()
84 void damon_sysfs_ul_range_release(struct kobject *kobj) in damon_sysfs_ul_range_release()
/linux/include/linux/
H A Dsysfs.h505 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
510 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir()
514 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns()
520 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns()
538 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns()
545 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files()
551 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file()
558 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection()
568 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns()
574 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self()
[all …]
/linux/fs/sysfs/
H A Dgroup.c34 static umode_t __first_visible(const struct attribute_group *grp, struct kobject *kobj) in __first_visible()
48 static int create_files(struct kernfs_node *parent, struct kobject *kobj, in create_files()
129 static int internal_create_group(struct kobject *kobj, int update, in internal_create_group()
212 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
219 static int internal_create_groups(struct kobject *kobj, int update, in internal_create_groups()
252 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups()
270 int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups()
295 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
310 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group()
344 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/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_client_kobj_get_clnt(struct kobject *kobj) in rpc_sysfs_client_kobj_get_clnt()
73 rpc_sysfs_xprt_kobj_get_xprt(struct kobject *kobj) in rpc_sysfs_xprt_kobj_get_xprt()
82 rpc_sysfs_xprt_kobj_get_xprt_switch(struct kobject *kobj) in rpc_sysfs_xprt_kobj_get_xprt_switch()
91 rpc_sysfs_xprt_switch_kobj_get_xprt(struct kobject *kobj) in rpc_sysfs_xprt_switch_kobj_get_xprt()
99 static ssize_t rpc_sysfs_clnt_version_show(struct kobject *kobj, in rpc_sysfs_clnt_version_show()
114 static ssize_t rpc_sysfs_clnt_program_show(struct kobject *kobj, in rpc_sysfs_clnt_program_show()
129 static ssize_t rpc_sysfs_clnt_max_connect_show(struct kobject *kobj, in rpc_sysfs_clnt_max_connect_show()
[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()
124 static ssize_t vmcoreinfo_show(struct kobject *kobj, in vmcoreinfo_show()
136 static ssize_t fscaps_show(struct kobject *kobj, in fscaps_show()
145 static ssize_t rcu_expedited_show(struct kobject *kobj, in rcu_expedited_show()
[all …]
/linux/kernel/power/
H A Dmain.c193 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
199 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
217 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
262 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
298 static ssize_t sync_on_suspend_show(struct kobject *kobj, in sync_on_suspend_show()
304 static ssize_t sync_on_suspend_store(struct kobject *kobj, in sync_on_suspend_store()
335 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
356 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
499 static ssize_t last_failed_dev_show(struct kobject *kobj, in last_failed_dev_show()
513 static ssize_t last_failed_errno_show(struct kobject *kobj, in last_failed_errno_show()
[all …]
/linux/drivers/platform/x86/lenovo/
H A Dthink-lmi.c237 static inline struct tlmi_pwd_setting *to_tlmi_pwd_setting(struct kobject *kobj) in to_tlmi_pwd_setting()
242 static inline struct tlmi_attr_setting *to_tlmi_attr_setting(struct kobject *kobj) in to_tlmi_attr_setting()
424 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
434 static ssize_t current_password_store(struct kobject *kobj, in current_password_store()
454 static ssize_t new_password_store(struct kobject *kobj, in new_password_store()
545 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
555 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
564 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
575 static ssize_t encoding_show(struct kobject *kobj, struct kobj_attribute *attr, in encoding_show()
583 static ssize_t encoding_store(struct kobject *kobj, in encoding_store()
[all …]
/linux/mm/
H A Dhugetlb_sysfs.c28 static struct hstate *kobj_to_hstate(struct kobject *kobj, int *nidp) in kobj_to_hstate()
42 static ssize_t nr_hugepages_show_common(struct kobject *kobj, in nr_hugepages_show_common()
59 struct kobject *kobj, const char *buf, in nr_hugepages_store_common()
75 static ssize_t nr_hugepages_show(struct kobject *kobj, in nr_hugepages_show()
81 static ssize_t nr_hugepages_store(struct kobject *kobj, in nr_hugepages_store()
94 static ssize_t nr_hugepages_mempolicy_show(struct kobject *kobj, in nr_hugepages_mempolicy_show()
101 static ssize_t nr_hugepages_mempolicy_store(struct kobject *kobj, in nr_hugepages_mempolicy_store()
110 static ssize_t nr_overcommit_hugepages_show(struct kobject *kobj, in nr_overcommit_hugepages_show()
117 static ssize_t nr_overcommit_hugepages_store(struct kobject *kobj, in nr_overcommit_hugepages_store()
139 static ssize_t free_hugepages_show(struct kobject *kobj, in free_hugepages_show()
[all …]
/linux/fs/nfs/
H A Dsysfs.c24 static void nfs_kset_release(struct kobject *kobj) in nfs_kset_release()
31 const struct kobject *kobj) in nfs_netns_object_child_ns_type()
74 static ssize_t nfs_netns_identifier_show(struct kobject *kobj, in nfs_netns_identifier_show()
96 static ssize_t nfs_netns_identifier_store(struct kobject *kobj, in nfs_netns_identifier_store()
121 static void nfs_netns_client_release(struct kobject *kobj) in nfs_netns_client_release()
130 static const void *nfs_netns_client_namespace(const struct kobject *kobj) in nfs_netns_client_namespace()
151 static void nfs_netns_object_release(struct kobject *kobj) in nfs_netns_object_release()
159 static const void *nfs_netns_namespace(const struct kobject *kobj) in nfs_netns_namespace()
253 shutdown_show(struct kobject *kobj, struct kobj_attribute *attr, in shutdown_show()
262 shutdown_store(struct kobject *kobj, struct kobj_attribute *attr, in shutdown_store()
[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/staging/greybus/
H A Daudio_manager_sysfs.c14 static ssize_t manager_sysfs_add_store(struct kobject *kobj, in manager_sysfs_add_store()
39 static ssize_t manager_sysfs_remove_store(struct kobject *kobj, in manager_sysfs_remove_store()
60 static ssize_t manager_sysfs_dump_store(struct kobject *kobj, in manager_sysfs_dump_store()
84 static void manager_sysfs_init_attribute(struct kobject *kobj, in manager_sysfs_init_attribute()
96 void gb_audio_manager_sysfs_init(struct kobject *kobj) in gb_audio_manager_sysfs_init()
/linux/drivers/w1/slaves/
H A Dw1_ds2408.c67 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read()
79 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read()
92 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read()
105 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read()
119 struct kobject *kobj, in cond_search_polarity_read()
129 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read()
162 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write()
212 static ssize_t activity_write(struct file *filp, struct kobject *kobj, in activity_write()
242 static ssize_t status_control_write(struct file *filp, struct kobject *kobj, in status_control_write()
/linux/drivers/platform/x86/
H A Dasus-armoury.c121 static ssize_t pending_reboot_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in pending_reboot_show()
277 ssize_t armoury_attr_uint_store(struct kobject *kobj, struct kobj_attribute *attr, in armoury_attr_uint_store()
305 ssize_t armoury_attr_uint_show(struct kobject *kobj, struct kobj_attribute *attr, in armoury_attr_uint_show()
318 static ssize_t enum_type_show(struct kobject *kobj, struct kobj_attribute *attr, in enum_type_show()
324 static ssize_t int_type_show(struct kobject *kobj, struct kobj_attribute *attr, in int_type_show()
345 static ssize_t mini_led_mode_current_value_show(struct kobject *kobj, in mini_led_mode_current_value_show()
383 static ssize_t mini_led_mode_current_value_store(struct kobject *kobj, in mini_led_mode_current_value_store()
422 static ssize_t mini_led_mode_possible_values_show(struct kobject *kobj, in mini_led_mode_possible_values_show()
436 static ssize_t gpu_mux_mode_current_value_store(struct kobject *kobj, in gpu_mux_mode_current_value_store()
480 static ssize_t dgpu_disable_current_value_store(struct kobject *kobj, in dgpu_disable_current_value_store()
[all …]
/linux/drivers/accessibility/speakup/
H A Dkobjects.c29 static ssize_t chars_chartab_show(struct kobject *kobj, in chars_chartab_show()
109 static ssize_t chars_chartab_store(struct kobject *kobj, in chars_chartab_store()
229 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show()
265 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, in keymap_store()
332 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, in silent_store()
371 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show()
386 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store()
412 static ssize_t synth_direct_store(struct kobject *kobj, in synth_direct_store()
440 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
456 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show()
[all …]
/linux/arch/powerpc/kernel/
H A Dsecvar-sysfs.c21 static ssize_t format_show(struct kobject *kobj, struct kobj_attribute *attr, in format_show()
38 static ssize_t size_show(struct kobject *kobj, struct kobj_attribute *attr, in size_show()
54 static ssize_t data_read(struct file *filep, struct kobject *kobj, in data_read()
87 static ssize_t update_write(struct file *filep, struct kobject *kobj, in update_write()
148 static __init int secvar_sysfs_config(struct kobject *kobj) in secvar_sysfs_config()
163 struct kobject *kobj; in add_var() local
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_sysfs.c21 bool is_object_gt(struct kobject *kobj) in is_object_gt()
26 struct intel_gt *intel_gt_sysfs_get_drvdata(struct kobject *kobj, in intel_gt_sysfs_get_drvdata()
54 static ssize_t id_show(struct kobject *kobj, in id_show()
71 static void kobj_gt_release(struct kobject *kobj) in kobj_gt_release()
/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dspmobj-attributes.c128 static ssize_t statusbin(struct kobject *kobj, in statusbin()
145 static ssize_t status_show(struct kobject *kobj, struct kobj_attribute in status_show()
212 static ssize_t key_mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in key_mechanism_show()
221 static ssize_t sk_store(struct kobject *kobj, in sk_store()
256 static ssize_t kek_store(struct kobject *kobj, in kek_store()
293 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, in role_show()
301 static ssize_t auth_token_store(struct kobject *kobj, in auth_token_store()

12345678910>>...18