/openbmc/linux/mm/damon/ |
H A D | sysfs-common.c | 34 static ssize_t min_show(struct kobject *kobj, struct kobj_attribute *attr, in min_show() 43 static ssize_t min_store(struct kobject *kobj, struct kobj_attribute *attr, in min_store() 59 static ssize_t max_show(struct kobject *kobj, struct kobj_attribute *attr, in max_show() 68 static ssize_t max_store(struct kobject *kobj, struct kobj_attribute *attr, in max_store() 84 void damon_sysfs_ul_range_release(struct kobject *kobj) in damon_sysfs_ul_range_release()
|
/openbmc/linux/drivers/w1/slaves/ |
H A 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()
|
H A D | w1_ds2438.c | 290 static ssize_t iad_write(struct file *filp, struct kobject *kobj, in iad_write() 312 static ssize_t iad_read(struct file *filp, struct kobject *kobj, in iad_read() 333 static ssize_t page0_read(struct file *filp, struct kobject *kobj, in page0_read() 363 static ssize_t page1_read(struct file *filp, struct kobject *kobj, in page1_read() 393 static ssize_t offset_write(struct file *filp, struct kobject *kobj, in offset_write() 412 static ssize_t temperature_read(struct file *filp, struct kobject *kobj, in temperature_read() 433 static ssize_t vad_read(struct file *filp, struct kobject *kobj, in vad_read() 454 static ssize_t vdd_read(struct file *filp, struct kobject *kobj, in vdd_read()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_sysfs.c | 21 bool is_object_gt(struct kobject *kobj) in is_object_gt() 26 struct intel_gt *intel_gt_sysfs_get_drvdata(struct kobject *kobj, in intel_gt_sysfs_get_drvdata() 54 static ssize_t id_show(struct kobject *kobj, in id_show() 71 static void kobj_gt_release(struct kobject *kobj) in kobj_gt_release()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | secvar-sysfs.c | 21 static ssize_t format_show(struct kobject *kobj, struct kobj_attribute *attr, in format_show() 38 static ssize_t size_show(struct kobject *kobj, struct kobj_attribute *attr, in size_show() 54 static ssize_t data_read(struct file *filep, struct kobject *kobj, in data_read() 87 static ssize_t update_write(struct file *filep, struct kobject *kobj, in update_write() 148 static int secvar_sysfs_config(struct kobject *kobj) in secvar_sysfs_config() 163 struct kobject *kobj; in add_var() local
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A 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() 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() 459 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show() 499 static ssize_t punc_store(struct kobject *kobj, struct kobj_attribute *attr, in punc_store() 546 ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr, in spk_var_show() 622 ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr, in spk_var_store() [all …]
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | vas-sysfs.c | 22 struct kobject kobj; member 121 static ssize_t vas_type_show(struct kobject *kobj, struct attribute *attr, in vas_type_show() 138 static ssize_t vas_type_store(struct kobject *kobj, struct attribute *attr, in vas_type_store() 154 static void vas_type_release(struct kobject *kobj) in vas_type_release() 178 struct kobject **kobj) in vas_caps_kobj_name() 201 struct kobject *kobj = NULL; in sysfs_add_vas_caps() local
|
/openbmc/linux/arch/x86/kernel/ |
H A 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() 135 static ssize_t type_show(struct kobject *kobj, in type_show() 174 struct kobject *kobj, in setup_data_data_read() 276 struct kobject *kobj; in create_setup_data_node() local 300 static void __init cleanup_setup_data_node(struct kobject *kobj) in cleanup_setup_data_node()
|
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | spmobj-attributes.c | 128 static ssize_t statusbin(struct kobject *kobj, in statusbin() 145 static ssize_t status_show(struct kobject *kobj, struct kobj_attribute in status_show() 212 static ssize_t key_mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in key_mechanism_show() 221 static ssize_t sk_store(struct kobject *kobj, in sk_store() 256 static ssize_t kek_store(struct kobject *kobj, in kek_store() 293 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, in role_show() 301 static ssize_t auth_token_store(struct kobject *kobj, in auth_token_store()
|
/openbmc/linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
H A D | passobj-attributes.c | 15 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show() 40 static ssize_t current_password_store(struct kobject *kobj, in current_password_store() 71 static ssize_t new_password_store(struct kobject *kobj, in new_password_store() 105 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show() 113 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, in role_show()
|
H A D | sysman.c | 145 static ssize_t reset_bios_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in reset_bios_show() 167 static ssize_t reset_bios_store(struct kobject *kobj, in reset_bios_store() 195 static ssize_t pending_reboot_show(struct kobject *kobj, struct kobj_attribute *attr, in pending_reboot_show() 224 static ssize_t wmi_sysman_attr_show(struct kobject *kobj, struct attribute *attr, in wmi_sysman_attr_show() 236 static ssize_t wmi_sysman_attr_store(struct kobject *kobj, struct attribute *attr, in wmi_sysman_attr_store() 253 static void attr_name_release(struct kobject *kobj) in attr_name_release()
|
/openbmc/linux/mm/ |
H A D | cma_sysfs.c | 27 static inline struct cma *cma_from_kobj(struct kobject *kobj) in cma_from_kobj() 32 static ssize_t alloc_pages_success_show(struct kobject *kobj, in alloc_pages_success_show() 42 static ssize_t alloc_pages_fail_show(struct kobject *kobj, in alloc_pages_fail_show() 51 static void cma_kobj_release(struct kobject *kobj) in cma_kobj_release()
|
/openbmc/linux/drivers/s390/char/ |
H A 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()
|
/openbmc/linux/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() 49 struct xfs_kobj *kobj) in xfs_sysfs_del()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | uv_sysfs.c | 113 struct kobject kobj; member 180 static void hub_release(struct kobject *kobj) in hub_release() 299 struct kobject kobj; member 333 static void uv_port_release(struct kobject *kobj) in uv_port_release() 451 struct kobject kobj; member 503 static void uv_pci_top_release(struct kobject *kobj) in uv_pci_top_release() 513 static ssize_t pci_top_type_show(struct kobject *kobj, in pci_top_type_show() 737 static ssize_t uv_type_show(struct kobject *kobj, in uv_type_show() 743 static ssize_t uv_archtype_show(struct kobject *kobj, in uv_archtype_show() 749 static ssize_t uv_hub_type_show(struct kobject *kobj, in uv_hub_type_show() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/fs/sysfs/ |
H A 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()
|
/openbmc/linux/arch/x86/platform/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() 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()
|
/openbmc/linux/block/ |
H A D | blk-crypto-sysfs.c | 14 struct kobject kobj; member 24 static struct blk_crypto_profile *kobj_to_crypto_profile(struct kobject *kobj) in kobj_to_crypto_profile() 69 static umode_t blk_crypto_mode_is_visible(struct kobject *kobj, in blk_crypto_mode_is_visible() 101 static ssize_t blk_crypto_attr_show(struct kobject *kobj, in blk_crypto_attr_show() 114 static void blk_crypto_release(struct kobject *kobj) in blk_crypto_release()
|
/openbmc/linux/drivers/vfio/mdev/ |
H A D | mdev_sysfs.c | 31 static ssize_t mdev_type_attr_show(struct kobject *kobj, in mdev_type_attr_show() 43 static ssize_t mdev_type_attr_store(struct kobject *kobj, in mdev_type_attr_store() 135 static umode_t mdev_types_core_is_visible(struct kobject *kobj, in mdev_types_core_is_visible() 154 static void mdev_type_release(struct kobject *kobj) in mdev_type_release() 279 struct kobject *kobj = &mdev->dev.kobj; in mdev_create_sysfs_files() local 298 struct kobject *kobj = &mdev->dev.kobj; in mdev_remove_sysfs_files() local
|
/openbmc/linux/drivers/edac/ |
H A 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() 202 static void edac_device_ctrl_master_release(struct kobject *kobj) in edac_device_ctrl_master_release() 325 static void edac_device_ctrl_instance_release(struct kobject *kobj) in edac_device_ctrl_instance_release() 346 static ssize_t edac_dev_instance_show(struct kobject *kobj, in edac_dev_instance_show() 358 static ssize_t edac_dev_instance_store(struct kobject *kobj, in edac_dev_instance_store() 415 static ssize_t block_ue_count_show(struct kobject *kobj, in block_ue_count_show() 423 static ssize_t block_ce_count_show(struct kobject *kobj, in block_ce_count_show() 432 static void edac_device_ctrl_block_release(struct kobject *kobj) in edac_device_ctrl_block_release() 449 static ssize_t edac_dev_block_show(struct kobject *kobj, in edac_dev_block_show() [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | pci-sysfs.c | 817 static umode_t pci_dev_config_attr_is_visible(struct kobject *kobj, in pci_dev_config_attr_is_visible() 916 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io() 1264 static ssize_t pci_write_rom(struct file *filp, struct kobject *kobj, in pci_write_rom() 1290 static ssize_t pci_read_rom(struct file *filp, struct kobject *kobj, in pci_read_rom() 1324 static umode_t pci_dev_rom_attr_is_visible(struct kobject *kobj, in pci_dev_rom_attr_is_visible() 1373 static umode_t pci_dev_reset_attr_is_visible(struct kobject *kobj, in pci_dev_reset_attr_is_visible() 1482 static umode_t resource_resize_is_visible(struct kobject *kobj, in resource_resize_is_visible() 1544 static umode_t pci_dev_attrs_are_visible(struct kobject *kobj, in pci_dev_attrs_are_visible() 1563 static umode_t pci_dev_hp_attrs_are_visible(struct kobject *kobj, in pci_dev_hp_attrs_are_visible() 1575 static umode_t pci_bridge_attrs_are_visible(struct kobject *kobj, in pci_bridge_attrs_are_visible() [all …]
|
/openbmc/linux/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() 158 static ssize_t raw_attr_read(struct file *filep, struct kobject *kobj, in raw_attr_read() 271 struct kobject *kobj; in elog_event() local
|
/openbmc/linux/kernel/power/ |
H A D | hibernate.c | 1065 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show() 1100 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store() 1152 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show() 1159 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store() 1212 static ssize_t resume_offset_show(struct kobject *kobj, in resume_offset_show() 1218 static ssize_t resume_offset_store(struct kobject *kobj, in resume_offset_store() 1235 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show() 1241 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store() 1256 static ssize_t reserved_size_show(struct kobject *kobj, in reserved_size_show() 1262 static ssize_t reserved_size_store(struct kobject *kobj, in reserved_size_store()
|