| /OK3568_Linux_fs/kernel/mm/ |
| H A D | cma_sysfs.c | 30 static inline struct cma *cma_from_kobj(struct kobject *kobj) in cma_from_kobj() 35 static ssize_t alloc_pages_success_show(struct kobject *kobj, in alloc_pages_success_show() 45 static ssize_t alloc_pages_fail_show(struct kobject *kobj, in alloc_pages_fail_show() 54 static void cma_kobj_release(struct kobject *kobj) in cma_kobj_release()
|
| H A D | ksm.c | 2840 static ssize_t sleep_millisecs_show(struct kobject *kobj, in sleep_millisecs_show() 2846 static ssize_t sleep_millisecs_store(struct kobject *kobj, in sleep_millisecs_store() 2864 static ssize_t pages_to_scan_show(struct kobject *kobj, in pages_to_scan_show() 2870 static ssize_t pages_to_scan_store(struct kobject *kobj, in pages_to_scan_store() 2887 static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr, in run_show() 2893 static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr, in run_store() 2936 static ssize_t merge_across_nodes_show(struct kobject *kobj, in merge_across_nodes_show() 2942 static ssize_t merge_across_nodes_store(struct kobject *kobj, in merge_across_nodes_store() 2993 static ssize_t use_zero_pages_show(struct kobject *kobj, in use_zero_pages_show() 2998 static ssize_t use_zero_pages_store(struct kobject *kobj, in use_zero_pages_store() [all …]
|
| H A D | khugepaged.c | 123 static ssize_t scan_sleep_millisecs_show(struct kobject *kobj, in scan_sleep_millisecs_show() 130 static ssize_t scan_sleep_millisecs_store(struct kobject *kobj, in scan_sleep_millisecs_store() 151 static ssize_t alloc_sleep_millisecs_show(struct kobject *kobj, in alloc_sleep_millisecs_show() 158 static ssize_t alloc_sleep_millisecs_store(struct kobject *kobj, in alloc_sleep_millisecs_store() 179 static ssize_t pages_to_scan_show(struct kobject *kobj, in pages_to_scan_show() 185 static ssize_t pages_to_scan_store(struct kobject *kobj, in pages_to_scan_store() 204 static ssize_t pages_collapsed_show(struct kobject *kobj, in pages_collapsed_show() 213 static ssize_t full_scans_show(struct kobject *kobj, in full_scans_show() 222 static ssize_t khugepaged_defrag_show(struct kobject *kobj, in khugepaged_defrag_show() 228 static ssize_t khugepaged_defrag_store(struct kobject *kobj, in khugepaged_defrag_store() [all …]
|
| /OK3568_Linux_fs/kernel/samples/kobject/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/fs/xfs/ |
| H A 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() 44 struct xfs_kobj *kobj) in xfs_sysfs_del()
|
| /OK3568_Linux_fs/kernel/drivers/pci/hotplug/ |
| H A D | rpadlpar_sysfs.c | 27 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, in add_slot_store() 50 static ssize_t add_slot_show(struct kobject *kobj, in add_slot_show() 56 static ssize_t remove_slot_store(struct kobject *kobj, in remove_slot_store() 80 static ssize_t remove_slot_show(struct kobject *kobj, in remove_slot_show()
|
| /OK3568_Linux_fs/kernel/fs/sysfs/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/firmware/efi/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/kernel/power/ |
| H A D | hibernate.c | 1059 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show() 1094 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store() 1145 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show() 1152 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store() 1182 static ssize_t resume_offset_show(struct kobject *kobj, in resume_offset_show() 1188 static ssize_t resume_offset_store(struct kobject *kobj, in resume_offset_store() 1205 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show() 1211 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store() 1226 static ssize_t reserved_size_show(struct kobject *kobj, in reserved_size_show() 1232 static ssize_t reserved_size_store(struct kobject *kobj, in reserved_size_store()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | sysfs.c | 60 static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj, in read_cc_table_bin() 93 static void port_release(struct kobject *kobj) in port_release() 109 static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj, in read_cc_setting_bin() 171 static ssize_t cc_attr_show(struct kobject *kobj, struct attribute *attr, in cc_attr_show() 182 static ssize_t cc_attr_store(struct kobject *kobj, struct attribute *attr, in cc_attr_store() 290 static ssize_t sc2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sc2vl_attr_show() 395 static ssize_t sl2sc_attr_show(struct kobject *kobj, struct attribute *attr, in sl2sc_attr_show() 469 static ssize_t vl2mtu_attr_show(struct kobject *kobj, struct attribute *attr, in vl2mtu_attr_show() 657 struct kobject *kobj) in hfi1_create_port_files() 758 static ssize_t sde_show(struct kobject *kobj, struct attribute *attr, char *buf) in sde_show() [all …]
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-mq-sysfs.c | 18 static void blk_mq_sysfs_release(struct kobject *kobj) in blk_mq_sysfs_release() 26 static void blk_mq_ctx_sysfs_release(struct kobject *kobj) in blk_mq_ctx_sysfs_release() 34 static void blk_mq_hw_sysfs_release(struct kobject *kobj) in blk_mq_hw_sysfs_release() 60 static ssize_t blk_mq_sysfs_show(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_show() 81 static ssize_t blk_mq_sysfs_store(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_store() 102 static ssize_t blk_mq_hw_sysfs_show(struct kobject *kobj, in blk_mq_hw_sysfs_show() 123 static ssize_t blk_mq_hw_sysfs_store(struct kobject *kobj, in blk_mq_hw_sysfs_store()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/ |
| H A D | opal-elog.c | 21 struct kobject kobj; member 95 static ssize_t elog_attr_show(struct kobject *kobj, in elog_attr_show() 111 static ssize_t elog_attr_store(struct kobject *kobj, in elog_attr_store() 132 static void elog_release(struct kobject *kobj) in elog_release() 157 static ssize_t raw_attr_read(struct file *filep, struct kobject *kobj, in raw_attr_read() 270 struct kobject *kobj; in elog_event() local
|
| H A D | opal-flash.c | 150 static ssize_t validate_show(struct kobject *kobj, in validate_show() 190 static ssize_t validate_store(struct kobject *kobj, in validate_store() 235 static ssize_t manage_show(struct kobject *kobj, in manage_show() 252 static ssize_t manage_store(struct kobject *kobj, in manage_store() 320 static ssize_t update_show(struct kobject *kobj, in update_show() 332 static ssize_t update_store(struct kobject *kobj, in update_store() 434 static ssize_t image_data_write(struct file *filp, struct kobject *kobj, in image_data_write()
|
| H A D | opal-dump.c | 21 struct kobject kobj; member 159 static ssize_t dump_attr_show(struct kobject *kobj, in dump_attr_show() 175 static ssize_t dump_attr_store(struct kobject *kobj, in dump_attr_store() 196 static void dump_release(struct kobject *kobj) in dump_release() 287 static ssize_t dump_attr_read(struct file *filep, struct kobject *kobj, in dump_attr_read() 393 struct kobject *kobj; in process_dump() local
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_sysfs.c | 267 static ssize_t qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_crb() 284 static ssize_t qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_crb() 313 static ssize_t qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_mem() 335 static ssize_t qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_mem() 399 struct kobject *kobj, in qlcnic_sysfs_write_pm_config() 449 struct kobject *kobj, in qlcnic_sysfs_read_pm_config() 542 struct kobject *kobj, in qlcnic_sysfs_write_esw_config() 626 struct kobject *kobj, in qlcnic_sysfs_read_esw_config() 678 struct kobject *kobj, in qlcnic_sysfs_write_npar_config() 725 struct kobject *kobj, in qlcnic_sysfs_read_npar_config() [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/kernel/ |
| H A D | uv.c | 354 static ssize_t uv_query_facilities(struct kobject *kobj, in uv_query_facilities() 367 static ssize_t uv_query_feature_indications(struct kobject *kobj, in uv_query_feature_indications() 376 static ssize_t uv_query_max_guest_cpus(struct kobject *kobj, in uv_query_max_guest_cpus() 386 static ssize_t uv_query_max_guest_vms(struct kobject *kobj, in uv_query_max_guest_vms() 396 static ssize_t uv_query_max_guest_addr(struct kobject *kobj, in uv_query_max_guest_addr()
|
| /OK3568_Linux_fs/kernel/drivers/pci/ |
| H A D | pci-sysfs.c | 659 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config() 736 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj, in pci_write_config() 815 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io() 840 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io() 864 static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_mem() 884 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io() 1003 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource() 1027 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc() 1034 static int pci_mmap_resource_wc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_wc() 1041 static ssize_t pci_resource_io(struct file *filp, struct kobject *kobj, in pci_resource_io() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | cpufreq_governor_attr_set.c | 11 static inline struct gov_attr_set *to_gov_attr_set(struct kobject *kobj) in to_gov_attr_set() 21 static ssize_t governor_show(struct kobject *kobj, struct attribute *attr, in governor_show() 29 static ssize_t governor_store(struct kobject *kobj, struct attribute *attr, in governor_store()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | iscsi_boot_sysfs.c | 32 static ssize_t iscsi_boot_show_attribute(struct kobject *kobj, in iscsi_boot_show_attribute() 54 static void iscsi_boot_kobj_release(struct kobject *kobj) in iscsi_boot_kobj_release() 107 static umode_t iscsi_boot_tgt_attr_is_visible(struct kobject *kobj, in iscsi_boot_tgt_attr_is_visible() 190 static umode_t iscsi_boot_eth_attr_is_visible(struct kobject *kobj, in iscsi_boot_eth_attr_is_visible() 265 static umode_t iscsi_boot_ini_attr_is_visible(struct kobject *kobj, in iscsi_boot_ini_attr_is_visible() 314 static umode_t iscsi_boot_acpitbl_attr_is_visible(struct kobject *kobj, in iscsi_boot_acpitbl_attr_is_visible()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/esas2r/ |
| H A D | esas2r_main.c | 60 static struct esas2r_adapter *esas2r_adapter_from_kobj(struct kobject *kobj) in esas2r_adapter_from_kobj() 68 static ssize_t read_fw(struct file *file, struct kobject *kobj, in read_fw() 77 static ssize_t write_fw(struct file *file, struct kobject *kobj, in write_fw() 86 static ssize_t read_fs(struct file *file, struct kobject *kobj, in read_fs() 95 static ssize_t write_fs(struct file *file, struct kobject *kobj, in write_fs() 111 static ssize_t read_vda(struct file *file, struct kobject *kobj, in read_vda() 120 static ssize_t write_vda(struct file *file, struct kobject *kobj, in write_vda() 129 static ssize_t read_live_nvram(struct file *file, struct kobject *kobj, in read_live_nvram() 140 static ssize_t write_live_nvram(struct file *file, struct kobject *kobj, in write_live_nvram() 160 static ssize_t read_default_nvram(struct file *file, struct kobject *kobj, in read_default_nvram() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/crypto/ |
| H A D | pkey_api.c | 1617 struct kobject *kobj, in protkey_aes_128_read() 1627 struct kobject *kobj, in protkey_aes_192_read() 1637 struct kobject *kobj, in protkey_aes_256_read() 1647 struct kobject *kobj, in protkey_aes_128_xts_read() 1657 struct kobject *kobj, in protkey_aes_256_xts_read() 1721 struct kobject *kobj, in ccadata_aes_128_read() 1731 struct kobject *kobj, in ccadata_aes_192_read() 1741 struct kobject *kobj, in ccadata_aes_256_read() 1751 struct kobject *kobj, in ccadata_aes_128_xts_read() 1761 struct kobject *kobj, in ccadata_aes_256_xts_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/vfio/mdev/ |
| H A D | mdev_sysfs.c | 21 static ssize_t mdev_type_attr_show(struct kobject *kobj, in mdev_type_attr_show() 33 static ssize_t mdev_type_attr_store(struct kobject *kobj, in mdev_type_attr_store() 51 static ssize_t create_store(struct kobject *kobj, struct device *dev, in create_store() 79 static void mdev_type_release(struct kobject *kobj) in mdev_type_release()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | sysfs.c | 52 struct kobject kobj; member 57 struct kobject kobj; member 100 static ssize_t port_attr_show(struct kobject *kobj, in port_attr_show() 113 static ssize_t port_attr_store(struct kobject *kobj, in port_attr_store() 131 static ssize_t gid_attr_show(struct kobject *kobj, in gid_attr_show() 672 static void ib_port_release(struct kobject *kobj) in ib_port_release() 700 static void ib_port_gid_attr_release(struct kobject *kobj) in ib_port_gid_attr_release() 826 static ssize_t show_hw_stats(struct kobject *kobj, struct attribute *attr, in show_hw_stats() 856 static ssize_t show_stats_lifespan(struct kobject *kobj, in show_stats_lifespan() 883 static ssize_t set_stats_lifespan(struct kobject *kobj, in set_stats_lifespan() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | kobject.h | 94 static inline const char *kobject_name(const struct kobject *kobj) in kobject_name() 137 static inline bool kobject_has_children(struct kobject *kobj) in kobject_has_children() 206 struct kobject kobj; member 222 static inline struct kset *to_kset(struct kobject *kobj) in to_kset() 237 static inline struct kobj_type *get_ktype(struct kobject *kobj) in get_ktype()
|