/openbmc/linux/lib/ |
H A D | kobject.c | 67 static int create_dir(struct kobject *kobj) in create_dir() 174 static void kobj_kset_join(struct kobject *kobj) in kobj_kset_join() 186 static void kobj_kset_leave(struct kobject *kobj) in kobj_kset_leave() 586 static void __kobject_del(struct kobject *kobj) in __kobject_del() 619 void kobject_del(struct kobject *kobj) in kobject_del() 636 struct kobject *kobject_get(struct kobject *kobj) in kobject_get() 663 static void kobject_cleanup(struct kobject *kobj) in kobject_cleanup() 730 void kobject_put(struct kobject *kobj) in kobject_put() 766 struct kobject *kobj; in kobject_create() local 791 struct kobject *kobj; in kobject_create_and_add() local [all …]
|
/openbmc/linux/kernel/ |
H A D | ksysfs.c | 39 static ssize_t uevent_seqnum_show(struct kobject *kobj, in uevent_seqnum_show() 47 static ssize_t cpu_byteorder_show(struct kobject *kobj, in cpu_byteorder_show() 55 static ssize_t address_bits_show(struct kobject *kobj, in address_bits_show() 64 static ssize_t uevent_helper_show(struct kobject *kobj, in uevent_helper_show() 85 static ssize_t profiling_show(struct kobject *kobj, in profiling_show() 90 static ssize_t profiling_store(struct kobject *kobj, in profiling_store() 116 static ssize_t kexec_loaded_show(struct kobject *kobj, in kexec_loaded_show() 159 static ssize_t vmcoreinfo_show(struct kobject *kobj, in vmcoreinfo_show() 183 static ssize_t fscaps_show(struct kobject *kobj, in fscaps_show() 209 static ssize_t rcu_normal_show(struct kobject *kobj, in rcu_normal_show() [all …]
|
/openbmc/linux/include/linux/ |
H A D | sysfs.h | 368 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() 372 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns() 378 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns() 403 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files() 409 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file() 416 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection() 454 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link() 483 static inline int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() 501 static inline int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() 528 static inline int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H 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() 141 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store() 201 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() 363 heartbeat_store(struct kobject *kobj, struct kobj_attribute *attr, in heartbeat_store() 417 static void kobj_engine_release(struct kobject *kobj) in kobj_engine_release() [all …]
|
H A D | intel_gt_sysfs_pm.c | 193 static ssize_t rc6_enable_show(struct kobject *kobj, in rc6_enable_show() 291 static int __intel_gt_sysfs_create_group(struct kobject *kobj, in __intel_gt_sysfs_create_group() 444 static ssize_t punit_req_freq_mhz_show(struct kobject *kobj, in punit_req_freq_mhz_show() 454 static ssize_t slpc_ignore_eff_freq_show(struct kobject *kobj, in slpc_ignore_eff_freq_show() 572 static ssize_t freq_factor_scale_show(struct kobject *kobj, in freq_factor_scale_show() 585 static ssize_t media_freq_factor_show(struct kobject *kobj, in media_freq_factor_show() 616 static ssize_t media_freq_factor_store(struct kobject *kobj, in media_freq_factor_store() 645 static ssize_t media_RP0_freq_mhz_show(struct kobject *kobj, in media_RP0_freq_mhz_show() 666 static ssize_t media_RPn_freq_mhz_show(struct kobject *kobj, in media_RPn_freq_mhz_show() 800 default_rps_up_threshold_pct_show(struct kobject *kobj, in default_rps_up_threshold_pct_show() [all …]
|
/openbmc/linux/fs/sysfs/ |
H A D | group.c | 175 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() 215 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups() 233 int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups() 258 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() 273 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group() 308 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups() 329 int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() 363 void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group() 430 int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj, in compat_only_sysfs_link_entry_to_kobj() 520 int sysfs_group_change_owner(struct kobject *kobj, in sysfs_group_change_owner() [all …]
|
H 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 472 struct kobject *kobj = kn->parent->priv; in sysfs_unbreak_active_protection() local 560 int sysfs_create_bin_file(struct kobject *kobj, in sysfs_create_bin_file() [all …]
|
H 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()
|
/openbmc/linux/kernel/power/ |
H A D | main.c | 249 static ssize_t sync_on_suspend_show(struct kobject *kobj, in sync_on_suspend_show() 543 static ssize_t pm_print_times_show(struct kobject *kobj, in pm_print_times_show() 572 static ssize_t pm_wakeup_irq_show(struct kobject *kobj, in pm_wakeup_irq_show() 750 static ssize_t wakeup_count_show(struct kobject *kobj, in wakeup_count_show() 760 static ssize_t wakeup_count_store(struct kobject *kobj, in wakeup_count_store() 792 static ssize_t autosleep_show(struct kobject *kobj, in autosleep_show() 813 static ssize_t autosleep_store(struct kobject *kobj, in autosleep_store() 835 static ssize_t wake_lock_show(struct kobject *kobj, in wake_lock_show() 842 static ssize_t wake_lock_store(struct kobject *kobj, in wake_lock_store() 852 static ssize_t wake_unlock_show(struct kobject *kobj, in wake_unlock_show() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | sysfs.c | 58 struct kobject kobj; member 260 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible() 343 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show() 676 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show() 708 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj() 946 static void space_info_release(struct kobject *kobj) in space_info_release() 969 static ssize_t btrfs_label_show(struct kobject *kobj, in btrfs_label_show() 983 static ssize_t btrfs_label_store(struct kobject *kobj, in btrfs_label_store() 1631 struct kobject *kobj; in btrfs_sysfs_remove_space_info() local 2159 static void qgroups_release(struct kobject *kobj) in qgroups_release() [all …]
|
/openbmc/linux/mm/damon/ |
H A D | sysfs-schemes.c | 17 struct kobject kobj; member 117 struct kobject kobj; member 185 struct kobject kobj; member 284 struct kobject kobj; member 305 static ssize_t type_show(struct kobject *kobj, in type_show() 489 struct kobject kobj; member 608 struct kobject kobj; member 783 struct kobject kobj; member 894 struct kobject kobj; member 1025 struct kobject kobj; member [all …]
|
H A D | sysfs.c | 19 struct kobject kobj; member 95 struct kobject kobj; member 212 struct kobject kobj; member 291 struct kobject kobj; member 416 struct kobject kobj; member 544 struct kobject kobj; member 633 struct kobject kobj; member 814 struct kobject kobj; member 940 struct kobject kobj; member 1612 struct kobject kobj; member [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | think-lmi.c | 420 static ssize_t new_password_store(struct kobject *kobj, in new_password_store() 542 static ssize_t encoding_store(struct kobject *kobj, in encoding_store() 568 static ssize_t kbdlang_store(struct kobject *kobj, in kbdlang_store() 604 static ssize_t index_store(struct kobject *kobj, in index_store() 632 static ssize_t level_store(struct kobject *kobj, in level_store() 734 static ssize_t certificate_store(struct kobject *kobj, in certificate_store() 807 static ssize_t signature_store(struct kobject *kobj, in signature_store() 836 static ssize_t save_signature_store(struct kobject *kobj, in save_signature_store() 865 static umode_t auth_attr_is_visible(struct kobject *kobj, in auth_attr_is_visible() 976 static ssize_t current_value_store(struct kobject *kobj, in current_value_store() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | uv.c | 485 static ssize_t uv_query_facilities(struct kobject *kobj, in uv_query_facilities() 498 static ssize_t uv_query_supp_se_hdr_ver(struct kobject *kobj, in uv_query_supp_se_hdr_ver() 507 static ssize_t uv_query_supp_se_hdr_pcf(struct kobject *kobj, in uv_query_supp_se_hdr_pcf() 516 static ssize_t uv_query_dump_cpu_len(struct kobject *kobj, in uv_query_dump_cpu_len() 552 static ssize_t uv_query_max_guest_cpus(struct kobject *kobj, in uv_query_max_guest_cpus() 561 static ssize_t uv_query_max_guest_vms(struct kobject *kobj, in uv_query_max_guest_vms() 570 static ssize_t uv_query_max_guest_addr(struct kobject *kobj, in uv_query_max_guest_addr() 588 static ssize_t uv_query_supp_att_pflags(struct kobject *kobj, in uv_query_supp_att_pflags() 624 static ssize_t uv_query_max_secrets(struct kobject *kobj, in uv_query_max_secrets() 657 static ssize_t uv_is_prot_virt_guest(struct kobject *kobj, in uv_is_prot_virt_guest() [all …]
|
H A D | ipl.c | 320 static ssize_t ipl_secure_show(struct kobject *kobj, in ipl_secure_show() 338 static ssize_t ipl_vm_parm_show(struct kobject *kobj, in ipl_vm_parm_show() 1246 static ssize_t reipl_type_show(struct kobject *kobj, in reipl_type_show() 1734 static ssize_t dump_type_show(struct kobject *kobj, in dump_type_show() 2075 static ssize_t on_reboot_show(struct kobject *kobj, in on_reboot_show() 2101 static ssize_t on_panic_show(struct kobject *kobj, in on_panic_show() 2107 static ssize_t on_panic_store(struct kobject *kobj, in on_panic_store() 2163 static ssize_t on_halt_show(struct kobject *kobj, in on_halt_show() 2169 static ssize_t on_halt_store(struct kobject *kobj, in on_halt_store() 2189 static ssize_t on_poff_show(struct kobject *kobj, in on_poff_show() [all …]
|
/openbmc/linux/net/sunrpc/ |
H 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(const 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() 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() 361 static void rpc_sysfs_client_release(struct kobject *kobj) in rpc_sysfs_client_release() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | sysfs.c | 23 static void nfs_kset_release(struct kobject *kobj) in nfs_kset_release() 30 const struct kobject *kobj) in nfs_netns_object_child_ns_type() 73 static ssize_t nfs_netns_identifier_show(struct kobject *kobj, in nfs_netns_identifier_show() 95 static ssize_t nfs_netns_identifier_store(struct kobject *kobj, in nfs_netns_identifier_store() 120 static void nfs_netns_client_release(struct kobject *kobj) in nfs_netns_client_release() 129 static const void *nfs_netns_client_namespace(const struct kobject *kobj) in nfs_netns_client_namespace() 150 static void nfs_netns_object_release(struct kobject *kobj) in nfs_netns_object_release() 158 static const void *nfs_netns_namespace(const struct kobject *kobj) in nfs_netns_namespace() 232 shutdown_show(struct kobject *kobj, struct kobj_attribute *attr, in shutdown_show() 241 shutdown_store(struct kobject *kobj, struct kobj_attribute *attr, in shutdown_store() [all …]
|
/openbmc/linux/fs/orangefs/ |
H A D | orangefs-sysfs.c | 176 static ssize_t orangefs_attr_show(struct kobject *kobj, in orangefs_attr_show() 188 static ssize_t orangefs_attr_store(struct kobject *kobj, in orangefs_attr_store() 210 static ssize_t sysfs_int_show(struct kobject *kobj, in sysfs_int_show() 280 static ssize_t sysfs_int_store(struct kobject *kobj, in sysfs_int_store() 320 static ssize_t sysfs_service_op_show(struct kobject *kobj, in sysfs_service_op_show() 535 static ssize_t sysfs_service_op_store(struct kobject *kobj, in sysfs_service_op_store() 901 static void orangefs_obj_release(struct kobject *kobj) in orangefs_obj_release() 948 static void acache_orangefs_obj_release(struct kobject *kobj) in acache_orangefs_obj_release() 1042 static void ccache_orangefs_obj_release(struct kobject *kobj) in ccache_orangefs_obj_release() 1129 static void pc_orangefs_obj_release(struct kobject *kobj) in pc_orangefs_obj_release() [all …]
|
/openbmc/linux/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-clt-sysfs.c | 19 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() 333 static ssize_t rtrs_clt_hca_port_show(struct kobject *kobj, in rtrs_clt_hca_port_show() 347 static ssize_t rtrs_clt_hca_name_show(struct kobject *kobj, in rtrs_clt_hca_name_show() 376 static ssize_t rtrs_clt_src_addr_show(struct kobject *kobj, in rtrs_clt_src_addr_show() [all …]
|
H 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() 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() 216 static void rtrs_srv_path_stats_release(struct kobject *kobj) in rtrs_srv_path_stats_release()
|
/openbmc/linux/drivers/parisc/ |
H A D | pdc_stable.c | 93 struct kobject kobj; member 516 static ssize_t pdcs_size_read(struct kobject *kobj, in pdcs_size_read() 538 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read() 565 static ssize_t pdcs_autoboot_read(struct kobject *kobj, in pdcs_autoboot_read() 591 static ssize_t pdcs_timer_read(struct kobject *kobj, in pdcs_timer_read() 618 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() 724 static ssize_t pdcs_osdep2_read(struct kobject *kobj, in pdcs_osdep2_read() 762 static ssize_t pdcs_auto_write(struct kobject *kobj, in pdcs_auto_write() 871 static ssize_t pdcs_osdep1_write(struct kobject *kobj, in pdcs_osdep1_write() [all …]
|
/openbmc/linux/drivers/block/rnbd/ |
H A D | rnbd-srv-sysfs.c | 27 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() 98 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show() 113 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show() 126 static ssize_t rnbd_srv_dev_session_force_close_show(struct kobject *kobj, in rnbd_srv_dev_session_force_close_show() 133 static ssize_t rnbd_srv_dev_session_force_close_store(struct kobject *kobj, in rnbd_srv_dev_session_force_close_store() 179 static void rnbd_srv_sess_dev_release(struct kobject *kobj) in rnbd_srv_sess_dev_release()
|
H A D | rnbd-clt-sysfs.c | 225 static ssize_t state_show(struct kobject *kobj, in state_show() 250 static ssize_t nr_poll_queues_show(struct kobject *kobj, in nr_poll_queues_show() 263 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show() 276 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show() 289 static ssize_t rnbd_clt_unmap_dev_show(struct kobject *kobj, in rnbd_clt_unmap_dev_show() 296 static ssize_t rnbd_clt_unmap_dev_store(struct kobject *kobj, in rnbd_clt_unmap_dev_store() 359 static ssize_t rnbd_clt_resize_dev_show(struct kobject *kobj, in rnbd_clt_resize_dev_show() 367 static ssize_t rnbd_clt_resize_dev_store(struct kobject *kobj, in rnbd_clt_resize_dev_store() 392 static ssize_t rnbd_clt_remap_dev_show(struct kobject *kobj, in rnbd_clt_remap_dev_show() 398 static ssize_t rnbd_clt_remap_dev_store(struct kobject *kobj, in rnbd_clt_remap_dev_store() [all …]
|
/openbmc/linux/drivers/staging/greybus/ |
H 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()
|
/openbmc/linux/drivers/cpuidle/ |
H A D | sysfs.c | 156 struct kobject kobj; member 159 static inline struct cpuidle_device *to_cpuidle_device(struct kobject *kobj) in to_cpuidle_device() 167 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show() 182 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store() 202 static void cpuidle_sysfs_release(struct kobject *kobj) in cpuidle_sysfs_release() 351 struct kobject kobj; member 385 static void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_add_s2idle_attr_group() 450 static void cpuidle_state_sysfs_release(struct kobject *kobj) in cpuidle_state_sysfs_release() 479 struct cpuidle_state_kobj *kobj; in cpuidle_add_state_sysfs() local 539 struct kobject kobj; member [all …]
|