Home
last modified time | relevance | path

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

12345678910>>...19

/Linux-v5.15/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()
66 static int populate_dir(struct kobject *kobj) in populate_dir()
83 static int create_dir(struct kobject *kobj) in create_dir()
129 static int get_kobj_path_length(struct kobject *kobj) in get_kobj_path_length()
147 static void fill_kobj_path(struct kobject *kobj, char *path, int length) in fill_kobj_path()
171 char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask) in kobject_get_path()
189 static void kobj_kset_join(struct kobject *kobj) in kobj_kset_join()
201 static void kobj_kset_leave(struct kobject *kobj) in kobj_kset_leave()
212 static void kobject_init_internal(struct kobject *kobj) in kobject_init_internal()
[all …]
/Linux-v5.15/kernel/
Dksysfs.c31 static ssize_t uevent_seqnum_show(struct kobject *kobj, in uevent_seqnum_show()
40 static ssize_t uevent_helper_show(struct kobject *kobj, in uevent_helper_show()
45 static ssize_t uevent_helper_store(struct kobject *kobj, in uevent_helper_store()
61 static ssize_t profiling_show(struct kobject *kobj, in profiling_show()
66 static ssize_t profiling_store(struct kobject *kobj, in profiling_store()
92 static ssize_t kexec_loaded_show(struct kobject *kobj, in kexec_loaded_show()
99 static ssize_t kexec_crash_loaded_show(struct kobject *kobj, in kexec_crash_loaded_show()
106 static ssize_t kexec_crash_size_show(struct kobject *kobj, in kexec_crash_size_show()
111 static ssize_t kexec_crash_size_store(struct kobject *kobj, in kexec_crash_size_store()
130 static ssize_t vmcoreinfo_show(struct kobject *kobj, in vmcoreinfo_show()
[all …]
/Linux-v5.15/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-v5.15/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 …]
/Linux-v5.15/fs/sysfs/
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
84 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_read() local
108 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_read() local
134 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_write() local
147 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_write() local
168 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_mmap() local
183 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify()
267 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() local
333 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns()
[all …]
Dgroup.c34 static int create_files(struct kernfs_node *parent, struct kobject *kobj, in create_files()
108 static int internal_create_group(struct kobject *kobj, int update, in internal_create_group()
172 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
179 static int internal_create_groups(struct kobject *kobj, int update, in internal_create_groups()
212 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups()
230 int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups()
255 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
270 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group()
305 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups()
326 int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group()
[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-v5.15/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()
166 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
202 static ssize_t sync_on_suspend_show(struct kobject *kobj, in sync_on_suspend_show()
208 static ssize_t sync_on_suspend_store(struct kobject *kobj, in sync_on_suspend_store()
239 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
260 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
329 static ssize_t last_failed_dev_show(struct kobject *kobj, in last_failed_dev_show()
343 static ssize_t last_failed_errno_show(struct kobject *kobj, in last_failed_errno_show()
[all …]
/Linux-v5.15/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()
330 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show()
337 static ssize_t supported_checksums_show(struct kobject *kobj, in supported_checksums_show()
358 static ssize_t send_stream_version_show(struct kobject *kobj, in send_stream_version_show()
373 static ssize_t supported_rescue_options_show(struct kobject *kobj, in supported_rescue_options_show()
389 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-v5.15/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()
103 static ssize_t rpc_sysfs_xprt_srcaddr_show(struct kobject *kobj, in rpc_sysfs_xprt_srcaddr_show()
125 static ssize_t rpc_sysfs_xprt_info_show(struct kobject *kobj, in rpc_sysfs_xprt_info_show()
153 static ssize_t rpc_sysfs_xprt_state_show(struct kobject *kobj, in rpc_sysfs_xprt_state_show()
[all …]
/Linux-v5.15/drivers/platform/x86/
Dthink-lmi.c133 #define to_tlmi_pwd_setting(kobj) container_of(kobj, struct tlmi_pwd_setting, kobj) argument
134 #define to_tlmi_attr_setting(kobj) container_of(kobj, struct tlmi_attr_setting, kobj) argument
311 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
321 static ssize_t current_password_store(struct kobject *kobj, in current_password_store()
343 static ssize_t new_password_store(struct kobject *kobj, in new_password_store()
390 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
400 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
409 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
416 static ssize_t encoding_show(struct kobject *kobj, struct kobj_attribute *attr, in encoding_show()
424 static ssize_t encoding_store(struct kobject *kobj, in encoding_store()
[all …]
/Linux-v5.15/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 …]
Duv.c333 static ssize_t uv_query_facilities(struct kobject *kobj, in uv_query_facilities()
346 static ssize_t uv_query_feature_indications(struct kobject *kobj, in uv_query_feature_indications()
355 static ssize_t uv_query_max_guest_cpus(struct kobject *kobj, in uv_query_max_guest_cpus()
365 static ssize_t uv_query_max_guest_vms(struct kobject *kobj, in uv_query_max_guest_vms()
375 static ssize_t uv_query_max_guest_addr(struct kobject *kobj, in uv_query_max_guest_addr()
398 static ssize_t uv_is_prot_virt_guest(struct kobject *kobj, in uv_is_prot_virt_guest()
409 static ssize_t uv_is_prot_virt_host(struct kobject *kobj, in uv_is_prot_virt_host()
/Linux-v5.15/drivers/infiniband/ulp/rtrs/
Drtrs-clt-sysfs.c19 static void rtrs_clt_sess_release(struct kobject *kobj) in rtrs_clt_sess_release()
33 static void rtrs_clt_sess_stats_release(struct kobject *kobj) in rtrs_clt_sess_stats_release()
197 static ssize_t rtrs_clt_state_show(struct kobject *kobj, in rtrs_clt_state_show()
212 static ssize_t rtrs_clt_reconnect_show(struct kobject *kobj, in rtrs_clt_reconnect_show()
218 static ssize_t rtrs_clt_reconnect_store(struct kobject *kobj, in rtrs_clt_reconnect_store()
242 static ssize_t rtrs_clt_disconnect_show(struct kobject *kobj, in rtrs_clt_disconnect_show()
248 static ssize_t rtrs_clt_disconnect_store(struct kobject *kobj, in rtrs_clt_disconnect_store()
269 static ssize_t rtrs_clt_remove_path_show(struct kobject *kobj, in rtrs_clt_remove_path_show()
275 static ssize_t rtrs_clt_remove_path_store(struct kobject *kobj, in rtrs_clt_remove_path_store()
327 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()
65 static ssize_t rtrs_srv_hca_port_show(struct kobject *kobj, in rtrs_srv_hca_port_show()
81 static ssize_t rtrs_srv_hca_name_show(struct kobject *kobj, in rtrs_srv_hca_name_show()
95 static ssize_t rtrs_srv_src_addr_show(struct kobject *kobj, in rtrs_srv_src_addr_show()
111 static ssize_t rtrs_srv_dst_addr_show(struct kobject *kobj, in rtrs_srv_dst_addr_show()
216 static void rtrs_srv_sess_stats_release(struct kobject *kobj) in rtrs_srv_sess_stats_release()
/Linux-v5.15/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-v5.15/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()
515 static ssize_t pdcs_size_read(struct kobject *kobj, in pdcs_size_read()
535 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read()
560 static ssize_t pdcs_autoboot_read(struct kobject *kobj, in pdcs_autoboot_read()
570 static ssize_t pdcs_autosearch_read(struct kobject *kobj, in pdcs_autosearch_read()
582 static ssize_t pdcs_timer_read(struct kobject *kobj, in pdcs_timer_read()
607 static ssize_t pdcs_osid_read(struct kobject *kobj, in pdcs_osid_read()
627 static ssize_t pdcs_osdep1_read(struct kobject *kobj, in pdcs_osdep1_read()
[all …]
/Linux-v5.15/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.c27 static void rnbd_srv_dev_release(struct kobject *kobj) in rnbd_srv_dev_release()
86 static ssize_t read_only_show(struct kobject *kobj, struct kobj_attribute *attr, in read_only_show()
100 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show()
115 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show()
128 static ssize_t rnbd_srv_dev_session_force_close_show(struct kobject *kobj, in rnbd_srv_dev_session_force_close_show()
135 static ssize_t rnbd_srv_dev_session_force_close_store(struct kobject *kobj, in rnbd_srv_dev_session_force_close_store()
181 static void rnbd_srv_sess_dev_release(struct kobject *kobj) in rnbd_srv_sess_dev_release()
/Linux-v5.15/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-v5.15/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()
343 struct kobject kobj; member
377 static void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_add_s2idle_attr_group()
389 static void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_remove_s2idle_attr_group()
395 static inline void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_add_s2idle_attr_group()
396 static inline void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_remove_s2idle_attr_group()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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()
120 static ssize_t type_show(struct kobject *kobj, in type_show()
147 struct kobject *kobj, in setup_data_data_read()
231 struct kobject *kobj; in create_setup_data_node() local
255 static void __init cleanup_setup_data_node(struct kobject *kobj) in cleanup_setup_data_node()
/Linux-v5.15/drivers/platform/x86/dell/dell-wmi-sysman/
Dpassobj-attributes.c15 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
40 static ssize_t current_password_store(struct kobject *kobj, in current_password_store()
71 static ssize_t new_password_store(struct kobject *kobj, in new_password_store()
105 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
113 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, in role_show()

12345678910>>...19