/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 …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_hw_engine_class_sysfs.c | 35 static void kobj_xe_hw_engine_release(struct kobject *kobj) in kobj_xe_hw_engine_release() 45 static ssize_t job_timeout_max_store(struct kobject *kobj, in job_timeout_max_store() 70 static ssize_t job_timeout_max_show(struct kobject *kobj, in job_timeout_max_show() 117 static ssize_t job_timeout_store(struct kobject *kobj, in job_timeout_store() 139 static ssize_t job_timeout_show(struct kobject *kobj, in job_timeout_show() 293 static ssize_t timeslice_default(struct kobject *kobj, in timeslice_default() 497 struct kobject *kobj = arg; in kobj_xe_hw_engine_class_fini() local 530 struct kobject *kobj = arg; in hw_engine_class_defaults_fini() local 539 struct kobject *kobj; in xe_add_hw_engine_class_defaults() local 616 struct kobject *kobj = arg; in hw_engine_class_sysfs_fini() local [all …]
|
/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() 123 static ssize_t kexec_loaded_show(struct kobject *kobj, in kexec_loaded_show() 168 static ssize_t vmcoreinfo_show(struct kobject *kobj, in vmcoreinfo_show() 192 static ssize_t fscaps_show(struct kobject *kobj, in fscaps_show() 218 static ssize_t rcu_normal_show(struct kobject *kobj, in rcu_normal_show() [all …]
|
/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 | 179 static ssize_t rc6_enable_show(struct kobject *kobj, in rc6_enable_show() 277 static int __intel_gt_sysfs_create_group(struct kobject *kobj, in __intel_gt_sysfs_create_group() 430 static ssize_t punit_req_freq_mhz_show(struct kobject *kobj, in punit_req_freq_mhz_show() 440 static ssize_t slpc_ignore_eff_freq_show(struct kobject *kobj, in slpc_ignore_eff_freq_show() 558 static ssize_t freq_factor_scale_show(struct kobject *kobj, in freq_factor_scale_show() 571 static ssize_t media_freq_factor_show(struct kobject *kobj, in media_freq_factor_show() 593 static ssize_t media_freq_factor_store(struct kobject *kobj, in media_freq_factor_store() 622 static ssize_t media_RP0_freq_mhz_show(struct kobject *kobj, in media_RP0_freq_mhz_show() 643 static ssize_t media_RPn_freq_mhz_show(struct kobject *kobj, in media_RPn_freq_mhz_show() 777 default_rps_up_threshold_pct_show(struct kobject *kobj, in default_rps_up_threshold_pct_show() [all …]
|
/linux/include/linux/ |
H A D | sysfs.h | 503 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() 513 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns() 538 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files() 544 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file() 551 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection() 589 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link() 618 static inline int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() 636 static inline int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() 663 static inline int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() 755 struct kobject *kobj, in sysfs_bin_attr_simple_read() [all …]
|
/linux/mm/damon/ |
H A D | sysfs-schemes.c | 18 struct kobject kobj; member 160 struct kobject kobj; member 231 struct kobject kobj; member 330 struct kobject kobj; member 536 struct kobject kobj; member 655 struct kobject kobj; member 830 struct kobject kobj; member 946 struct kobject kobj; member 1064 struct kobject kobj; member 1175 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 1666 struct kobject kobj; member [all …]
|
/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() 348 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show() 691 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show() 723 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj() 1042 static void space_info_release(struct kobject *kobj) in space_info_release() 1065 static ssize_t btrfs_label_show(struct kobject *kobj, in btrfs_label_show() 1079 static ssize_t btrfs_label_store(struct kobject *kobj, in btrfs_label_store() 1782 struct kobject *kobj; in btrfs_sysfs_remove_space_info() local 2338 static void qgroups_release(struct kobject *kobj) in qgroups_release() [all …]
|
/linux/fs/sysfs/ |
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 174 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_llseek() local 271 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() local 485 struct kobject *kobj = kn->parent->priv; in sysfs_unbreak_active_protection() local [all …]
|
H A D | group.c | 203 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() 243 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups() 261 int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups() 286 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() 301 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group() 335 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups() 356 int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() 390 void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group() 457 int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj, in compat_only_sysfs_link_entry_to_kobj() 547 int sysfs_group_change_owner(struct kobject *kobj, in sysfs_group_change_owner() [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()
|
/linux/kernel/power/ |
H A D | main.c | 220 static ssize_t sync_on_suspend_show(struct kobject *kobj, in sync_on_suspend_show() 571 static ssize_t pm_print_times_show(struct kobject *kobj, in pm_print_times_show() 600 static ssize_t pm_wakeup_irq_show(struct kobject *kobj, in pm_wakeup_irq_show() 780 static ssize_t wakeup_count_show(struct kobject *kobj, in wakeup_count_show() 790 static ssize_t wakeup_count_store(struct kobject *kobj, in wakeup_count_store() 822 static ssize_t autosleep_show(struct kobject *kobj, in autosleep_show() 843 static ssize_t autosleep_store(struct kobject *kobj, in autosleep_store() 865 static ssize_t wake_lock_show(struct kobject *kobj, in wake_lock_show() 872 static ssize_t wake_lock_store(struct kobject *kobj, in wake_lock_store() 882 static ssize_t wake_unlock_show(struct kobject *kobj, in wake_unlock_show() [all …]
|
/linux/drivers/platform/x86/ |
H A D | think-lmi.c | 419 static ssize_t new_password_store(struct kobject *kobj, in new_password_store() 539 static ssize_t encoding_store(struct kobject *kobj, in encoding_store() 565 static ssize_t kbdlang_store(struct kobject *kobj, in kbdlang_store() 601 static ssize_t index_store(struct kobject *kobj, in index_store() 629 static ssize_t level_store(struct kobject *kobj, in level_store() 729 static ssize_t certificate_store(struct kobject *kobj, in certificate_store() 801 static ssize_t signature_store(struct kobject *kobj, in signature_store() 828 static ssize_t save_signature_store(struct kobject *kobj, in save_signature_store() 855 static umode_t auth_attr_is_visible(struct kobject *kobj, in auth_attr_is_visible() 965 static ssize_t current_value_store(struct kobject *kobj, in current_value_store() [all …]
|
/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 …]
|
/linux/drivers/s390/crypto/ |
H A D | pkey_sysfs.c | 187 struct kobject *kobj, in protkey_aes_128_read() 197 struct kobject *kobj, in protkey_aes_192_read() 217 struct kobject *kobj, in protkey_aes_128_xts_read() 227 struct kobject *kobj, in protkey_aes_256_xts_read() 237 struct kobject *kobj, in protkey_aes_xts_128_read() 247 struct kobject *kobj, in protkey_aes_xts_256_read() 374 struct kobject *kobj, in ccadata_aes_128_xts_read() 384 struct kobject *kobj, in ccadata_aes_256_xts_read() 573 struct kobject *kobj, in ep11_aes_128_read() 583 struct kobject *kobj, in ep11_aes_192_read() [all …]
|
/linux/arch/s390/kernel/ |
H A D | uv.c | 557 static ssize_t uv_query_facilities(struct kobject *kobj, in uv_query_facilities() 570 static ssize_t uv_query_supp_se_hdr_ver(struct kobject *kobj, in uv_query_supp_se_hdr_ver() 579 static ssize_t uv_query_supp_se_hdr_pcf(struct kobject *kobj, in uv_query_supp_se_hdr_pcf() 588 static ssize_t uv_query_dump_cpu_len(struct kobject *kobj, in uv_query_dump_cpu_len() 624 static ssize_t uv_query_max_guest_cpus(struct kobject *kobj, in uv_query_max_guest_cpus() 633 static ssize_t uv_query_max_guest_vms(struct kobject *kobj, in uv_query_max_guest_vms() 642 static ssize_t uv_query_max_guest_addr(struct kobject *kobj, in uv_query_max_guest_addr() 660 static ssize_t uv_query_supp_att_pflags(struct kobject *kobj, in uv_query_supp_att_pflags() 696 static ssize_t uv_query_max_secrets(struct kobject *kobj, in uv_query_max_secrets() 729 static ssize_t uv_is_prot_virt_guest(struct kobject *kobj, in uv_is_prot_virt_guest() [all …]
|
H A D | ipl.c | 380 static ssize_t ipl_secure_show(struct kobject *kobj, in ipl_secure_show() 398 static ssize_t ipl_vm_parm_show(struct kobject *kobj, in ipl_vm_parm_show() 1171 static ssize_t reipl_type_show(struct kobject *kobj, in reipl_type_show() 1692 static ssize_t dump_type_show(struct kobject *kobj, in dump_type_show() 2034 static ssize_t on_reboot_show(struct kobject *kobj, in on_reboot_show() 2060 static ssize_t on_panic_show(struct kobject *kobj, in on_panic_show() 2066 static ssize_t on_panic_store(struct kobject *kobj, in on_panic_store() 2122 static ssize_t on_halt_show(struct kobject *kobj, in on_halt_show() 2128 static ssize_t on_halt_store(struct kobject *kobj, in on_halt_store() 2148 static ssize_t on_poff_show(struct kobject *kobj, in on_poff_show() [all …]
|
/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 …]
|
/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 …]
|
/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()
|
/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 …]
|
/linux/drivers/block/rnbd/ |
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 …]
|
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()
|