/Linux-v4.19/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() 120 static int get_kobj_path_length(struct kobject *kobj) in get_kobj_path_length() 138 static void fill_kobj_path(struct kobject *kobj, char *path, int length) in fill_kobj_path() 163 char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask) in kobject_get_path() 181 static void kobj_kset_join(struct kobject *kobj) in kobj_kset_join() 193 static void kobj_kset_leave(struct kobject *kobj) in kobj_kset_leave() 204 static void kobject_init_internal(struct kobject *kobj) in kobject_init_internal() [all …]
|
/Linux-v4.19/kernel/ |
D | ksysfs.c | 33 static ssize_t uevent_seqnum_show(struct kobject *kobj, in uevent_seqnum_show() 42 static ssize_t uevent_helper_show(struct kobject *kobj, in uevent_helper_show() 47 static ssize_t uevent_helper_store(struct kobject *kobj, in uevent_helper_store() 63 static ssize_t profiling_show(struct kobject *kobj, in profiling_show() 68 static ssize_t profiling_store(struct kobject *kobj, in profiling_store() 94 static ssize_t kexec_loaded_show(struct kobject *kobj, in kexec_loaded_show() 101 static ssize_t kexec_crash_loaded_show(struct kobject *kobj, in kexec_crash_loaded_show() 108 static ssize_t kexec_crash_size_show(struct kobject *kobj, in kexec_crash_size_show() 113 static ssize_t kexec_crash_size_store(struct kobject *kobj, in kexec_crash_size_store() 132 static ssize_t vmcoreinfo_show(struct kobject *kobj, in vmcoreinfo_show() [all …]
|
/Linux-v4.19/fs/sysfs/ |
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 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 173 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify() 256 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() local 322 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() 170 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() 190 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups() 229 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() 244 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group() 279 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups() 300 int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() 334 void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group() 356 int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name, in sysfs_add_link_to_group() [all …]
|
D | symlink.c | 66 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target, in sysfs_do_create_link() 88 int sysfs_create_link(struct kobject *kobj, struct kobject *target, in sysfs_create_link() 104 int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, in sysfs_create_link_nowarn() 120 void sysfs_delete_link(struct kobject *kobj, struct kobject *targ, in sysfs_delete_link() 142 void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link() 165 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() 79 void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() 105 int sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, in sysfs_rename_dir_ns() 117 int sysfs_move_dir_ns(struct kobject *kobj, struct kobject *new_parent_kobj, in sysfs_move_dir_ns()
|
/Linux-v4.19/include/linux/ |
D | sysfs.h | 304 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() 309 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() 313 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns() 319 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns() 337 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns() 344 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files() 350 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file() 357 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection() 367 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns() 373 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self() [all …]
|
/Linux-v4.19/kernel/power/ |
D | main.c | 87 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show() 93 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store() 111 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show() 153 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store() 194 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show() 215 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store() 355 static ssize_t pm_print_times_show(struct kobject *kobj, in pm_print_times_show() 361 static ssize_t pm_print_times_store(struct kobject *kobj, in pm_print_times_store() 384 static ssize_t pm_wakeup_irq_show(struct kobject *kobj, in pm_wakeup_irq_show() 395 static ssize_t pm_debug_messages_show(struct kobject *kobj, in pm_debug_messages_show() [all …]
|
D | hibernate.c | 951 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show() 986 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store() 1037 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show() 1044 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store() 1073 static ssize_t resume_offset_show(struct kobject *kobj, in resume_offset_show() 1079 static ssize_t resume_offset_store(struct kobject *kobj, in resume_offset_store() 1096 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show() 1102 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store() 1117 static ssize_t reserved_size_show(struct kobject *kobj, in reserved_size_show() 1123 static ssize_t reserved_size_store(struct kobject *kobj, in reserved_size_store()
|
/Linux-v4.19/fs/btrfs/ |
D | sysfs.c | 78 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show() 94 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store() 162 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible() 224 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show() 258 static ssize_t global_rsv_size_show(struct kobject *kobj, in global_rsv_size_show() 267 static ssize_t global_rsv_reserved_show(struct kobject *kobj, in global_rsv_reserved_show() 284 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show() 310 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj() 331 static ssize_t btrfs_space_info_show_total_bytes_pinned(struct kobject *kobj, in btrfs_space_info_show_total_bytes_pinned() 366 static void space_info_release(struct kobject *kobj) in space_info_release() [all …]
|
/Linux-v4.19/drivers/parisc/ |
D | pdc_stable.c | 106 struct kobject kobj; member 448 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show() 468 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store() 528 static ssize_t pdcs_size_read(struct kobject *kobj, in pdcs_size_read() 548 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read() 573 static ssize_t pdcs_autoboot_read(struct kobject *kobj, in pdcs_autoboot_read() 583 static ssize_t pdcs_autosearch_read(struct kobject *kobj, in pdcs_autosearch_read() 595 static ssize_t pdcs_timer_read(struct kobject *kobj, in pdcs_timer_read() 620 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-v4.19/drivers/staging/greybus/ |
D | audio_manager_sysfs.c | 15 struct kobject *kobj, struct kobj_attribute *attr, in manager_sysfs_add_store() 40 struct kobject *kobj, struct kobj_attribute *attr, in manager_sysfs_remove_store() 61 struct kobject *kobj, struct kobj_attribute *attr, in manager_sysfs_dump_store() 85 struct kobject *kobj, struct kobj_attribute *kattr) in manager_sysfs_init_attribute() 96 void gb_audio_manager_sysfs_init(struct kobject *kobj) in gb_audio_manager_sysfs_init()
|
/Linux-v4.19/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() 330 struct kobject kobj; member 363 static void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_add_s2idle_attr_group() 375 static void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_remove_s2idle_attr_group() 381 static inline void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_add_s2idle_attr_group() 382 static inline void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_remove_s2idle_attr_group() [all …]
|
/Linux-v4.19/drivers/w1/slaves/ |
D | w1_ds2408.c | 69 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read() 81 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read() 94 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read() 107 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read() 121 struct kobject *kobj, in cond_search_polarity_read() 131 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read() 141 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-v4.19/arch/s390/kernel/ |
D | ipl.c | 257 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show() 310 static ssize_t ipl_vm_parm_show(struct kobject *kobj, in ipl_vm_parm_show() 377 static ssize_t sys_ipl_device_show(struct kobject *kobj, in sys_ipl_device_show() 396 static ssize_t ipl_parameter_read(struct file *filp, struct kobject *kobj, in ipl_parameter_read() 407 static ssize_t ipl_scp_data_read(struct file *filp, struct kobject *kobj, in ipl_scp_data_read() 436 static ssize_t ipl_ccw_loadparm_show(struct kobject *kobj, in ipl_ccw_loadparm_show() 604 static ssize_t reipl_nss_vmparm_show(struct kobject *kobj, in reipl_nss_vmparm_show() 610 static ssize_t reipl_nss_vmparm_store(struct kobject *kobj, in reipl_nss_vmparm_store() 618 static ssize_t reipl_ccw_vmparm_show(struct kobject *kobj, in reipl_ccw_vmparm_show() 624 static ssize_t reipl_ccw_vmparm_store(struct kobject *kobj, in reipl_ccw_vmparm_store() [all …]
|
/Linux-v4.19/arch/x86/kernel/ |
D | ksysfs.c | 23 static ssize_t version_show(struct kobject *kobj, in version_show() 31 static ssize_t boot_params_data_read(struct file *fp, struct kobject *kobj, in boot_params_data_read() 63 static int kobj_to_setup_data_nr(struct kobject *kobj, int *nr) in kobj_to_setup_data_nr() 116 static ssize_t type_show(struct kobject *kobj, in type_show() 140 struct kobject *kobj, in setup_data_data_read() 215 struct kobject *kobj; in create_setup_data_node() local 239 static void __init cleanup_setup_data_node(struct kobject *kobj) in cleanup_setup_data_node()
|
/Linux-v4.19/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() 225 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show() 261 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, in keymap_store() 328 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, in silent_store() 367 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show() 382 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store() 408 static ssize_t synth_direct_store(struct kobject *kobj, in synth_direct_store() 439 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show() 455 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show() [all …]
|
/Linux-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/drivers/firmware/efi/ |
D | runtime-map.c | 19 struct kobject kobj; /* kobject for each entry */ member 52 static inline struct efi_runtime_map_entry *to_map_entry(struct kobject *kobj) in to_map_entry() 57 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show() 88 static void map_release(struct kobject *kobj) in map_release() 105 add_sysfs_runtime_map_entry(struct kobject *kobj, int nr, in add_sysfs_runtime_map_entry()
|
/Linux-v4.19/net/batman-adv/ |
D | sysfs.c | 421 static ssize_t batadv_show_bat_algo(struct kobject *kobj, in batadv_show_bat_algo() 436 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode() 467 static ssize_t batadv_store_gw_mode(struct kobject *kobj, in batadv_store_gw_mode() 542 static ssize_t batadv_show_gw_sel_class(struct kobject *kobj, in batadv_show_gw_sel_class() 560 static ssize_t batadv_store_gw_sel_class(struct kobject *kobj, in batadv_store_gw_sel_class() 586 static ssize_t batadv_show_gw_bwidth(struct kobject *kobj, in batadv_show_gw_bwidth() 599 static ssize_t batadv_store_gw_bwidth(struct kobject *kobj, in batadv_store_gw_bwidth() 620 static ssize_t batadv_show_isolation_mark(struct kobject *kobj, in batadv_show_isolation_mark() 639 static ssize_t batadv_store_isolation_mark(struct kobject *kobj, in batadv_store_isolation_mark() 893 static ssize_t batadv_show_mesh_iface(struct kobject *kobj, in batadv_show_mesh_iface() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | opal-elog.c | 25 struct kobject kobj; member 94 static ssize_t elog_attr_show(struct kobject *kobj, in elog_attr_show() 110 static ssize_t elog_attr_store(struct kobject *kobj, in elog_attr_store() 131 static void elog_release(struct kobject *kobj) in elog_release() 156 static ssize_t raw_attr_read(struct file *filep, struct kobject *kobj, in raw_attr_read() 250 struct kobject *kobj; in elog_event() local
|