/Linux-v5.4/lib/ |
D | kobject.c | 28 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.4/kernel/ |
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() 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.4/fs/sysfs/ |
D | file.c | 27 struct kobject *kobj = kn->parent->priv; in sysfs_file_ops() local 42 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_seq_show() local 83 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_read() local 107 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_read() local 133 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_write() local 146 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_write() local 167 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_mmap() local 172 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify() 255 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() local 321 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns() [all …]
|
D | group.c | 33 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 …]
|
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()
|
D | dir.c | 40 int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() 80 void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() 106 int sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, in sysfs_rename_dir_ns() 118 int sysfs_move_dir_ns(struct kobject *kobj, struct kobject *new_parent_kobj, in sysfs_move_dir_ns()
|
/Linux-v5.4/include/linux/ |
D | sysfs.h | 315 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() 320 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() 324 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns() 330 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns() 348 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns() 355 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files() 361 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file() 368 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection() 378 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns() 384 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self() [all …]
|
/Linux-v5.4/kernel/power/ |
D | main.c | 100 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() 207 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show() 228 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store() 297 static ssize_t last_failed_dev_show(struct kobject *kobj, in last_failed_dev_show() 311 static ssize_t last_failed_errno_show(struct kobject *kobj, in last_failed_errno_show() 325 static ssize_t last_failed_step_show(struct kobject *kobj, in last_failed_step_show() 442 static ssize_t pm_print_times_show(struct kobject *kobj, in pm_print_times_show() [all …]
|
D | hibernate.c | 957 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show() 992 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store() 1043 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show() 1050 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store() 1079 static ssize_t resume_offset_show(struct kobject *kobj, in resume_offset_show() 1085 static ssize_t resume_offset_store(struct kobject *kobj, in resume_offset_store() 1102 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show() 1108 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store() 1123 static ssize_t reserved_size_show(struct kobject *kobj, in reserved_size_show() 1129 static ssize_t reserved_size_store(struct kobject *kobj, in reserved_size_store()
|
/Linux-v5.4/fs/nfs/ |
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() 93 static ssize_t nfs_netns_identifier_store(struct kobject *kobj, in nfs_netns_identifier_store() 118 static void nfs_netns_client_release(struct kobject *kobj) in nfs_netns_client_release() 129 static const void *nfs_netns_client_namespace(struct kobject *kobj) in nfs_netns_client_namespace()
|
/Linux-v5.4/drivers/parisc/ |
D | pdc_stable.c | 93 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.4/drivers/staging/greybus/ |
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-v5.4/arch/s390/kernel/ |
D | ipl.c | 268 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show() 276 static ssize_t ipl_secure_show(struct kobject *kobj, in ipl_secure_show() 285 static ssize_t ipl_has_secure_show(struct kobject *kobj, in ipl_has_secure_show() 294 static ssize_t ipl_vm_parm_show(struct kobject *kobj, in ipl_vm_parm_show() 307 static ssize_t sys_ipl_device_show(struct kobject *kobj, in sys_ipl_device_show() 325 static ssize_t ipl_parameter_read(struct file *filp, struct kobject *kobj, in ipl_parameter_read() 336 static ssize_t ipl_scp_data_read(struct file *filp, struct kobject *kobj, in ipl_scp_data_read() 365 static ssize_t ipl_ccw_loadparm_show(struct kobject *kobj, in ipl_ccw_loadparm_show() 539 static ssize_t reipl_nss_vmparm_show(struct kobject *kobj, in reipl_nss_vmparm_show() 545 static ssize_t reipl_nss_vmparm_store(struct kobject *kobj, in reipl_nss_vmparm_store() [all …]
|
/Linux-v5.4/fs/btrfs/ |
D | sysfs.c | 30 struct kobject kobj; member 143 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show() 159 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store() 227 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible() 291 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show() 344 static ssize_t global_rsv_size_show(struct kobject *kobj, in global_rsv_size_show() 353 static ssize_t global_rsv_reserved_show(struct kobject *kobj, in global_rsv_reserved_show() 370 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show() 397 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj() 418 static ssize_t btrfs_space_info_show_total_bytes_pinned(struct kobject *kobj, in btrfs_space_info_show_total_bytes_pinned() [all …]
|
/Linux-v5.4/drivers/cpuidle/ |
D | sysfs.c | 178 struct kobject kobj; member 181 static inline struct cpuidle_device *to_cpuidle_device(struct kobject *kobj) in to_cpuidle_device() 189 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show() 204 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store() 224 static void cpuidle_sysfs_release(struct kobject *kobj) in cpuidle_sysfs_release() 336 struct kobject kobj; member 370 static void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_add_s2idle_attr_group() 382 static void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_remove_s2idle_attr_group() 388 static inline void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_add_s2idle_attr_group() 389 static inline void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_remove_s2idle_attr_group() [all …]
|
/Linux-v5.4/drivers/w1/slaves/ |
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-v5.4/drivers/staging/speakup/ |
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() 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.4/arch/x86/kernel/ |
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() 115 static ssize_t type_show(struct kobject *kobj, in type_show() 139 struct kobject *kobj, in setup_data_data_read() 214 struct kobject *kobj; in create_setup_data_node() local 238 static void __init cleanup_setup_data_node(struct kobject *kobj) in cleanup_setup_data_node()
|
/Linux-v5.4/fs/xfs/ |
D | xfs_sysfs.h | 24 struct xfs_kobj *kobj = to_kobj(kobject); in xfs_sysfs_release() local 30 struct xfs_kobj *kobj, in xfs_sysfs_init() 42 struct xfs_kobj *kobj) in xfs_sysfs_del()
|
/Linux-v5.4/drivers/s390/char/ |
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()
|
/Linux-v5.4/samples/kobject/ |
D | kobject-example.c | 28 static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr, in foo_show() 34 static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr, in foo_store() 54 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, in b_show() 66 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr, in b_store()
|
/Linux-v5.4/drivers/pci/hotplug/ |
D | rpadlpar_sysfs.c | 27 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, in add_slot_store() 51 static ssize_t add_slot_show(struct kobject *kobj, in add_slot_show() 57 static ssize_t remove_slot_store(struct kobject *kobj, in remove_slot_store() 82 static ssize_t remove_slot_show(struct kobject *kobj, in remove_slot_show()
|
/Linux-v5.4/drivers/edac/ |
D | edac_device_sysfs.c | 117 static ssize_t edac_dev_ctl_info_show(struct kobject *kobj, in edac_dev_ctl_info_show() 129 static ssize_t edac_dev_ctl_info_store(struct kobject *kobj, in edac_dev_ctl_info_store() 201 static void edac_device_ctrl_master_release(struct kobject *kobj) in edac_device_ctrl_master_release() 324 static void edac_device_ctrl_instance_release(struct kobject *kobj) in edac_device_ctrl_instance_release() 345 static ssize_t edac_dev_instance_show(struct kobject *kobj, in edac_dev_instance_show() 357 static ssize_t edac_dev_instance_store(struct kobject *kobj, in edac_dev_instance_store() 413 static ssize_t block_ue_count_show(struct kobject *kobj, in block_ue_count_show() 421 static ssize_t block_ce_count_show(struct kobject *kobj, in block_ce_count_show() 430 static void edac_device_ctrl_block_release(struct kobject *kobj) in edac_device_ctrl_block_release() 447 static ssize_t edac_dev_block_show(struct kobject *kobj, in edac_dev_block_show() [all …]
|
/Linux-v5.4/net/batman-adv/ |
D | sysfs.c | 437 static ssize_t batadv_show_bat_algo(struct kobject *kobj, in batadv_show_bat_algo() 453 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode() 486 static ssize_t batadv_store_gw_mode(struct kobject *kobj, in batadv_store_gw_mode() 566 static ssize_t batadv_show_gw_sel_class(struct kobject *kobj, in batadv_show_gw_sel_class() 586 static ssize_t batadv_store_gw_sel_class(struct kobject *kobj, in batadv_store_gw_sel_class() 619 static ssize_t batadv_show_gw_bwidth(struct kobject *kobj, in batadv_show_gw_bwidth() 634 static ssize_t batadv_store_gw_bwidth(struct kobject *kobj, in batadv_store_gw_bwidth() 663 static ssize_t batadv_show_isolation_mark(struct kobject *kobj, in batadv_show_isolation_mark() 683 static ssize_t batadv_store_isolation_mark(struct kobject *kobj, in batadv_store_isolation_mark() 941 static ssize_t batadv_show_mesh_iface(struct kobject *kobj, in batadv_show_mesh_iface() [all …]
|
/Linux-v5.4/drivers/firmware/efi/ |
D | runtime-map.c | 18 struct kobject kobj; /* kobject for each entry */ member 51 static inline struct efi_runtime_map_entry *to_map_entry(struct kobject *kobj) in to_map_entry() 56 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show() 87 static void map_release(struct kobject *kobj) in map_release() 104 add_sysfs_runtime_map_entry(struct kobject *kobj, int nr, in add_sysfs_runtime_map_entry()
|