Home
last modified time | relevance | path

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

12345678910>>...20

/linux-5.19.10/lib/
Dkobject.c28 const void *kobject_namespace(struct kobject *kobj) in kobject_namespace()
48 void kobject_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid) in kobject_get_ownership()
57 static int create_dir(struct kobject *kobj) in create_dir()
97 static int get_kobj_path_length(struct kobject *kobj) in get_kobj_path_length()
115 static void fill_kobj_path(struct kobject *kobj, char *path, int length) in fill_kobj_path()
139 char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask) in kobject_get_path()
157 static void kobj_kset_join(struct kobject *kobj) in kobj_kset_join()
169 static void kobj_kset_leave(struct kobject *kobj) in kobj_kset_leave()
180 static void kobject_init_internal(struct kobject *kobj) in kobject_init_internal()
193 static int kobject_add_internal(struct kobject *kobj) in kobject_add_internal()
[all …]
/linux-5.19.10/include/linux/
Dsysfs.h347 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
352 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir()
356 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns()
362 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns()
380 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns()
387 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files()
393 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file()
400 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection()
410 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns()
416 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self()
[all …]
/linux-5.19.10/kernel/
Dksysfs.c30 static ssize_t uevent_seqnum_show(struct kobject *kobj, in uevent_seqnum_show()
39 static ssize_t uevent_helper_show(struct kobject *kobj, in uevent_helper_show()
44 static ssize_t uevent_helper_store(struct kobject *kobj, in uevent_helper_store()
60 static ssize_t profiling_show(struct kobject *kobj, in profiling_show()
65 static ssize_t profiling_store(struct kobject *kobj, in profiling_store()
91 static ssize_t kexec_loaded_show(struct kobject *kobj, in kexec_loaded_show()
98 static ssize_t kexec_crash_loaded_show(struct kobject *kobj, in kexec_crash_loaded_show()
105 static ssize_t kexec_crash_size_show(struct kobject *kobj, in kexec_crash_size_show()
110 static ssize_t kexec_crash_size_store(struct kobject *kobj, in kexec_crash_size_store()
129 static ssize_t vmcoreinfo_show(struct kobject *kobj, in vmcoreinfo_show()
[all …]
/linux-5.19.10/drivers/gpu/drm/i915/gt/
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()
123 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
134 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in all_caps_show()
143 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store()
180 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show()
191 max_spin_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_default()
[all …]
Dintel_gt_sysfs.c20 bool is_object_gt(struct kobject *kobj) in is_object_gt()
25 static struct intel_gt *kobj_to_gt(struct kobject *kobj) in kobj_to_gt()
33 struct kobject *kobj = &dev->kobj; in intel_gt_sysfs_get_drvdata() local
76 static void kobj_gt_release(struct kobject *kobj) in kobj_gt_release()
/linux-5.19.10/kernel/power/
Dmain.c100 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
106 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
124 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
169 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
205 static ssize_t sync_on_suspend_show(struct kobject *kobj, in sync_on_suspend_show()
211 static ssize_t sync_on_suspend_store(struct kobject *kobj, in sync_on_suspend_store()
242 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
263 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
332 static ssize_t last_failed_dev_show(struct kobject *kobj, in last_failed_dev_show()
346 static ssize_t last_failed_errno_show(struct kobject *kobj, in last_failed_errno_show()
[all …]
/linux-5.19.10/fs/sysfs/
Dgroup.c34 static int create_files(struct kernfs_node *parent, struct kobject *kobj, in create_files()
107 static int internal_create_group(struct kobject *kobj, int update, in internal_create_group()
171 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
178 static int internal_create_groups(struct kobject *kobj, int update, in internal_create_groups()
211 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups()
229 int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups()
254 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
269 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group()
304 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups()
325 int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group()
[all …]
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 = of->kn->parent->priv; in sysfs_kf_write() local
144 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_write() local
165 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_mmap() local
180 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify()
258 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() local
345 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns()
[all …]
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-5.19.10/mm/damon/
Dsysfs.c21 struct kobject kobj; member
42 static ssize_t min_show(struct kobject *kobj, struct kobj_attribute *attr, in min_show()
51 static ssize_t min_store(struct kobject *kobj, struct kobj_attribute *attr, in min_store()
67 static ssize_t max_show(struct kobject *kobj, struct kobj_attribute *attr, in max_show()
76 static ssize_t max_store(struct kobject *kobj, struct kobj_attribute *attr, in max_store()
92 static void damon_sysfs_ul_range_release(struct kobject *kobj) in damon_sysfs_ul_range_release()
121 struct kobject kobj; member
134 static ssize_t nr_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in nr_tried_show()
143 static ssize_t sz_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in sz_tried_show()
152 static ssize_t nr_applied_show(struct kobject *kobj, in nr_applied_show()
[all …]
/linux-5.19.10/fs/btrfs/
Dsysfs.c54 struct kobject kobj; member
167 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show()
183 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store()
251 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible()
333 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show()
340 static ssize_t supported_checksums_show(struct kobject *kobj, in supported_checksums_show()
361 static ssize_t send_stream_version_show(struct kobject *kobj, in send_stream_version_show()
376 static ssize_t supported_rescue_options_show(struct kobject *kobj, in supported_rescue_options_show()
391 static ssize_t supported_sectorsizes_show(struct kobject *kobj, in supported_sectorsizes_show()
434 static ssize_t btrfs_discardable_bytes_show(struct kobject *kobj, in btrfs_discardable_bytes_show()
[all …]
/linux-5.19.10/drivers/platform/x86/
Dthink-lmi.c177 #define to_tlmi_pwd_setting(kobj) container_of(kobj, struct tlmi_pwd_setting, kobj) argument
178 #define to_tlmi_attr_setting(kobj) container_of(kobj, struct tlmi_attr_setting, kobj) argument
388 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
398 static ssize_t current_password_store(struct kobject *kobj, in current_password_store()
418 static ssize_t new_password_store(struct kobject *kobj, in new_password_store()
502 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
512 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
521 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
528 static ssize_t encoding_show(struct kobject *kobj, struct kobj_attribute *attr, in encoding_show()
536 static ssize_t encoding_store(struct kobject *kobj, in encoding_store()
[all …]
/linux-5.19.10/net/sunrpc/
Dsysfs.c28 static void rpc_sysfs_object_release(struct kobject *kobj) in rpc_sysfs_object_release()
34 rpc_sysfs_object_child_ns_type(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-5.19.10/arch/s390/kernel/
Dipl.c290 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show()
298 static ssize_t ipl_secure_show(struct kobject *kobj, in ipl_secure_show()
307 static ssize_t ipl_has_secure_show(struct kobject *kobj, in ipl_has_secure_show()
316 static ssize_t ipl_vm_parm_show(struct kobject *kobj, in ipl_vm_parm_show()
329 static ssize_t sys_ipl_device_show(struct kobject *kobj, in sys_ipl_device_show()
350 static ssize_t ipl_parameter_read(struct file *filp, struct kobject *kobj, in ipl_parameter_read()
361 static ssize_t ipl_scp_data_read(struct file *filp, struct kobject *kobj, in ipl_scp_data_read()
371 static ssize_t ipl_nvme_scp_data_read(struct file *filp, struct kobject *kobj, in ipl_nvme_scp_data_read()
420 static ssize_t ipl_ccw_loadparm_show(struct kobject *kobj, in ipl_ccw_loadparm_show()
616 static ssize_t reipl_nss_vmparm_show(struct kobject *kobj, in reipl_nss_vmparm_show()
[all …]
/linux-5.19.10/drivers/infiniband/ulp/rtrs/
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 …]
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()
217 static void rtrs_srv_path_stats_release(struct kobject *kobj) in rtrs_srv_path_stats_release()
/linux-5.19.10/drivers/parisc/
Dpdc_stable.c93 struct kobject kobj; member
435 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show()
455 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()
536 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read()
561 static ssize_t pdcs_autoboot_read(struct kobject *kobj, in pdcs_autoboot_read()
571 static ssize_t pdcs_autosearch_read(struct kobject *kobj, in pdcs_autosearch_read()
583 static ssize_t pdcs_timer_read(struct kobject *kobj, in pdcs_timer_read()
608 static ssize_t pdcs_osid_read(struct kobject *kobj, in pdcs_osid_read()
628 static ssize_t pdcs_osdep1_read(struct kobject *kobj, in pdcs_osdep1_read()
[all …]
/linux-5.19.10/fs/nfs/
Dsysfs.c23 static void nfs_netns_object_release(struct kobject *kobj) in nfs_netns_object_release()
29 struct kobject *kobj) in nfs_netns_object_child_ns_type()
43 struct kobject *kobj; in nfs_netns_object_alloc() local
76 static ssize_t nfs_netns_identifier_show(struct kobject *kobj, in nfs_netns_identifier_show()
98 static ssize_t nfs_netns_identifier_store(struct kobject *kobj, in nfs_netns_identifier_store()
123 static void nfs_netns_client_release(struct kobject *kobj) in nfs_netns_client_release()
133 static const void *nfs_netns_client_namespace(struct kobject *kobj) in nfs_netns_client_namespace()
/linux-5.19.10/drivers/block/rnbd/
Drnbd-clt-sysfs.c223 static ssize_t state_show(struct kobject *kobj, in state_show()
248 static ssize_t nr_poll_queues_show(struct kobject *kobj, in nr_poll_queues_show()
261 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show()
274 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show()
287 static ssize_t rnbd_clt_unmap_dev_show(struct kobject *kobj, in rnbd_clt_unmap_dev_show()
294 static ssize_t rnbd_clt_unmap_dev_store(struct kobject *kobj, in rnbd_clt_unmap_dev_store()
357 static ssize_t rnbd_clt_resize_dev_show(struct kobject *kobj, in rnbd_clt_resize_dev_show()
365 static ssize_t rnbd_clt_resize_dev_store(struct kobject *kobj, in rnbd_clt_resize_dev_store()
390 static ssize_t rnbd_clt_remap_dev_show(struct kobject *kobj, in rnbd_clt_remap_dev_show()
396 static ssize_t rnbd_clt_remap_dev_store(struct kobject *kobj, in rnbd_clt_remap_dev_store()
[all …]
Drnbd-srv-sysfs.c26 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()
99 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show()
114 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show()
127 static ssize_t rnbd_srv_dev_session_force_close_show(struct kobject *kobj, in rnbd_srv_dev_session_force_close_show()
134 static ssize_t rnbd_srv_dev_session_force_close_store(struct kobject *kobj, in rnbd_srv_dev_session_force_close_store()
180 static void rnbd_srv_sess_dev_release(struct kobject *kobj) in rnbd_srv_sess_dev_release()
/linux-5.19.10/drivers/staging/greybus/
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-5.19.10/drivers/cpuidle/
Dsysfs.c149 struct kobject kobj; member
152 static inline struct cpuidle_device *to_cpuidle_device(struct kobject *kobj) in to_cpuidle_device()
160 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show()
175 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store()
195 static void cpuidle_sysfs_release(struct kobject *kobj) in cpuidle_sysfs_release()
344 struct kobject kobj; member
378 static void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_add_s2idle_attr_group()
390 static void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_remove_s2idle_attr_group()
396 static inline void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_add_s2idle_attr_group()
397 static inline void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_remove_s2idle_attr_group()
[all …]
/linux-5.19.10/drivers/w1/slaves/
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-5.19.10/drivers/accessibility/speakup/
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()
443 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
459 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show()
[all …]
/linux-5.19.10/arch/x86/kernel/
Dksysfs.c22 static ssize_t version_show(struct kobject *kobj, in version_show()
30 static ssize_t boot_params_data_read(struct file *fp, struct kobject *kobj, in boot_params_data_read()
62 static int kobj_to_setup_data_nr(struct kobject *kobj, int *nr) in kobj_to_setup_data_nr()
135 static ssize_t type_show(struct kobject *kobj, in type_show()
174 struct kobject *kobj, in setup_data_data_read()
276 struct kobject *kobj; in create_setup_data_node() local
300 static void __init cleanup_setup_data_node(struct kobject *kobj) in cleanup_setup_data_node()

12345678910>>...20