/linux/lib/ |
A D | kobject.c | 28 const void *kobject_namespace(struct kobject *kobj) in kobject_namespace() 66 static int populate_dir(struct kobject *kobj) in populate_dir() 83 static int create_dir(struct kobject *kobj) in create_dir() 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() 602 static void __kobject_del(struct kobject *kobj) in __kobject_del() 635 void kobject_del(struct kobject *kobj) in kobject_del() 746 void kobject_put(struct kobject *kobj) in kobject_put() 782 struct kobject *kobj; in kobject_create() local 807 struct kobject *kobj; in kobject_create_and_add() local [all …]
|
/linux/kernel/ |
A D | ksysfs.c | 31 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() 130 static ssize_t vmcoreinfo_show(struct kobject *kobj, in vmcoreinfo_show() 142 static ssize_t fscaps_show(struct kobject *kobj, in fscaps_show() 151 static ssize_t rcu_expedited_show(struct kobject *kobj, in rcu_expedited_show() 168 static ssize_t rcu_normal_show(struct kobject *kobj, in rcu_normal_show() [all …]
|
/linux/include/linux/ |
A D | sysfs.h | 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() 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() 438 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link() 467 static inline int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() 485 static inline int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() 512 static inline int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | sysfs_engines.c | 19 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() 143 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store() 202 timeslice_store(struct kobject *kobj, struct kobj_attribute *attr, in timeslice_store() 255 stop_store(struct kobject *kobj, struct kobj_attribute *attr, in stop_store() 361 heartbeat_store(struct kobject *kobj, struct kobj_attribute *attr, in heartbeat_store() 414 static void kobj_engine_release(struct kobject *kobj) in kobj_engine_release() [all …]
|
/linux/fs/sysfs/ |
A D | group.c | 171 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() 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() 359 void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group() 426 int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj, in compat_only_sysfs_link_entry_to_kobj() 516 int sysfs_group_change_owner(struct kobject *kobj, in sysfs_group_change_owner() [all …]
|
A D | file.c | 28 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 258 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() local 470 struct kobject *kobj = kn->parent->priv; in sysfs_unbreak_active_protection() local 558 int sysfs_create_bin_file(struct kobject *kobj, in sysfs_create_bin_file() [all …]
|
A D | symlink.c | 67 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/kernel/power/ |
A D | main.c | 202 static ssize_t sync_on_suspend_show(struct kobject *kobj, in sync_on_suspend_show() 474 static ssize_t pm_print_times_show(struct kobject *kobj, in pm_print_times_show() 503 static ssize_t pm_wakeup_irq_show(struct kobject *kobj, in pm_wakeup_irq_show() 701 static ssize_t wakeup_count_show(struct kobject *kobj, in wakeup_count_show() 711 static ssize_t wakeup_count_store(struct kobject *kobj, in wakeup_count_store() 743 static ssize_t autosleep_show(struct kobject *kobj, in autosleep_show() 764 static ssize_t autosleep_store(struct kobject *kobj, in autosleep_store() 786 static ssize_t wake_lock_show(struct kobject *kobj, in wake_lock_show() 793 static ssize_t wake_lock_store(struct kobject *kobj, in wake_lock_store() 803 static ssize_t wake_unlock_show(struct kobject *kobj, in wake_unlock_show() [all …]
|
/linux/fs/btrfs/ |
A D | sysfs.c | 54 struct kobject kobj; member 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() 658 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show() 690 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj() 742 static void space_info_release(struct kobject *kobj) in space_info_release() 765 static ssize_t btrfs_label_show(struct kobject *kobj, in btrfs_label_show() 779 static ssize_t btrfs_label_store(struct kobject *kobj, in btrfs_label_store() 816 static ssize_t btrfs_nodesize_show(struct kobject *kobj, in btrfs_nodesize_show() 1389 struct kobject *kobj; in btrfs_sysfs_remove_space_info() local [all …]
|
/linux/net/sunrpc/ |
A D | sysfs.c | 28 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() 127 static ssize_t rpc_sysfs_xprt_info_show(struct kobject *kobj, in rpc_sysfs_xprt_info_show() 157 static ssize_t rpc_sysfs_xprt_state_show(struct kobject *kobj, in rpc_sysfs_xprt_state_show() 366 static void rpc_sysfs_client_release(struct kobject *kobj) in rpc_sysfs_client_release() [all …]
|
/linux/drivers/platform/x86/ |
A D | think-lmi.c | 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() 424 static ssize_t encoding_store(struct kobject *kobj, in encoding_store() 442 static ssize_t kbdlang_show(struct kobject *kobj, struct kobj_attribute *attr, in kbdlang_show() 450 static ssize_t kbdlang_store(struct kobject *kobj, in kbdlang_store() 469 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, in role_show() 534 static ssize_t current_value_store(struct kobject *kobj, in current_value_store() 615 static ssize_t tlmi_attr_show(struct kobject *kobj, struct attribute *attr, in tlmi_attr_show() 626 static ssize_t tlmi_attr_store(struct kobject *kobj, struct attribute *attr, in tlmi_attr_store() 642 static void tlmi_attr_setting_release(struct kobject *kobj) in tlmi_attr_setting_release() [all …]
|
/linux/arch/s390/kernel/ |
A D | ipl.c | 298 static ssize_t ipl_secure_show(struct kobject *kobj, in ipl_secure_show() 316 static ssize_t ipl_vm_parm_show(struct kobject *kobj, in ipl_vm_parm_show() 1086 static ssize_t reipl_type_show(struct kobject *kobj, in reipl_type_show() 1482 static ssize_t dump_type_show(struct kobject *kobj, in dump_type_show() 1776 static ssize_t on_reboot_show(struct kobject *kobj, in on_reboot_show() 1802 static ssize_t on_panic_show(struct kobject *kobj, in on_panic_show() 1808 static ssize_t on_panic_store(struct kobject *kobj, in on_panic_store() 1864 static ssize_t on_halt_show(struct kobject *kobj, in on_halt_show() 1870 static ssize_t on_halt_store(struct kobject *kobj, in on_halt_store() 1890 static ssize_t on_poff_show(struct kobject *kobj, in on_poff_show() [all …]
|
/linux/drivers/infiniband/ulp/rtrs/ |
A D | rtrs-clt-sysfs.c | 19 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() 332 static ssize_t rtrs_clt_hca_port_show(struct kobject *kobj, in rtrs_clt_hca_port_show() 346 static ssize_t rtrs_clt_hca_name_show(struct kobject *kobj, in rtrs_clt_hca_name_show() 375 static ssize_t rtrs_clt_src_addr_show(struct kobject *kobj, in rtrs_clt_src_addr_show() [all …]
|
A D | rtrs-srv-sysfs.c | 16 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/fs/nfs/ |
A D | sysfs.c | 23 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/drivers/parisc/ |
A D | pdc_stable.c | 93 struct kobject kobj; member 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() 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() 705 static ssize_t pdcs_osdep2_read(struct kobject *kobj, in pdcs_osdep2_read() 741 static ssize_t pdcs_auto_write(struct kobject *kobj, in pdcs_auto_write() 845 static ssize_t pdcs_osdep1_write(struct kobject *kobj, in pdcs_osdep1_write() [all …]
|
/linux/drivers/block/rnbd/ |
A D | rnbd-clt-sysfs.c | 223 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 …]
|
A D | rnbd-srv-sysfs.c | 27 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/drivers/staging/greybus/ |
A D | audio_manager_sysfs.c | 14 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/cpuidle/ |
A D | sysfs.c | 149 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() 442 static void cpuidle_state_sysfs_release(struct kobject *kobj) in cpuidle_state_sysfs_release() 471 struct cpuidle_state_kobj *kobj; in cpuidle_add_state_sysfs() local 531 struct kobject kobj; member [all …]
|
/linux/drivers/w1/slaves/ |
A D | w1_ds2408.c | 67 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/accessibility/speakup/ |
A D | kobjects.c | 29 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() 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() 459 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show() 499 static ssize_t punc_store(struct kobject *kobj, struct kobj_attribute *attr, in punc_store() 546 ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr, in spk_var_show() 622 ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr, in spk_var_store() [all …]
|
/linux/arch/x86/kernel/ |
A D | ksysfs.c | 22 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/drivers/platform/x86/dell/dell-wmi-sysman/ |
A D | passobj-attributes.c | 15 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()
|
/linux/drivers/s390/char/ |
A D | sclp_cpi_sys.c | 220 static ssize_t system_name_show(struct kobject *kobj, in system_name_show() 231 static ssize_t system_name_store(struct kobject *kobj, in system_name_store() 252 static ssize_t sysplex_name_show(struct kobject *kobj, in sysplex_name_show() 263 static ssize_t sysplex_name_store(struct kobject *kobj, in sysplex_name_store() 284 static ssize_t system_type_show(struct kobject *kobj, in system_type_show() 295 static ssize_t system_type_store(struct kobject *kobj, in system_type_store() 316 static ssize_t system_level_show(struct kobject *kobj, in system_level_show() 327 static ssize_t system_level_store(struct kobject *kobj, in system_level_store() 353 static ssize_t set_store(struct kobject *kobj, in set_store()
|