/linux/fs/nilfs2/ |
H A D | sysfs.c | 95 nilfs_snapshot_inodes_count_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_inodes_count_show() 103 nilfs_snapshot_blocks_count_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_blocks_count_show() 116 nilfs_snapshot_README_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_README_show() 135 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show() 146 struct attribute *attr, in nilfs_snapshot_attr_store() 218 nilfs_mounted_snapshots_README_show(struct nilfs_mounted_snapshots_attr *attr, in nilfs_mounted_snapshots_README_show() 241 nilfs_checkpoints_checkpoints_number_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_checkpoints_number_show() 264 nilfs_checkpoints_snapshots_number_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_snapshots_number_show() 287 nilfs_checkpoints_last_seg_checkpoint_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_last_seg_checkpoint_show() 301 nilfs_checkpoints_next_checkpoint_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_next_checkpoint_show() [all …]
|
/linux/tools/arch/x86/include/asm/ |
H A D | inat.h | 121 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix() argument 126 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_rex_prefix() argument 131 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_last_prefix_id() argument 110 inat_is_legacy_prefix(insn_attr_t attr) inat_is_legacy_prefix() argument 116 inat_is_address_size_prefix(insn_attr_t attr) inat_is_address_size_prefix() argument 139 inat_is_vex_prefix(insn_attr_t attr) inat_is_vex_prefix() argument 146 inat_is_evex_prefix(insn_attr_t attr) inat_is_evex_prefix() argument 151 inat_is_vex3_prefix(insn_attr_t attr) inat_is_vex3_prefix() argument 156 inat_is_escape(insn_attr_t attr) inat_is_escape() argument 161 inat_escape_id(insn_attr_t attr) inat_escape_id() argument 166 inat_is_group(insn_attr_t attr) inat_is_group() argument 171 inat_group_id(insn_attr_t attr) inat_group_id() argument 176 inat_group_common_attribute(insn_attr_t attr) inat_group_common_attribute() argument 181 inat_has_immediate(insn_attr_t attr) inat_has_immediate() argument 186 inat_immediate_size(insn_attr_t attr) inat_immediate_size() argument 191 inat_has_modrm(insn_attr_t attr) inat_has_modrm() argument 196 inat_is_force64(insn_attr_t attr) inat_is_force64() argument 201 inat_has_second_immediate(insn_attr_t attr) inat_has_second_immediate() argument 206 inat_has_moffset(insn_attr_t attr) inat_has_moffset() argument 211 inat_has_variant(insn_attr_t attr) inat_has_variant() argument 216 inat_accept_vex(insn_attr_t attr) inat_accept_vex() argument 221 inat_must_vex(insn_attr_t attr) inat_must_vex() argument 226 inat_must_evex(insn_attr_t attr) inat_must_evex() argument [all...] |
/linux/net/bridge/ |
H A D | br_sysfs_br.c | 67 struct device_attribute *attr, char *buf) in forward_delay_show() 80 struct device_attribute *attr, in forward_delay_store() 87 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show() 101 struct device_attribute *attr, const char *buf, in hello_time_store() 108 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show() 121 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store() 129 struct device_attribute *attr, char *buf) in ageing_time_show() 142 struct device_attribute *attr, in ageing_time_store() 150 struct device_attribute *attr, char *buf) in stp_state_show() 164 struct device_attribute *attr, const char *buf, in stp_state_store() [all …]
|
/linux/drivers/dma/idxd/ |
H A D | sysfs.c | 21 struct device_attribute *attr, char *buf) in engine_group_id_show() 32 struct device_attribute *attr, in engine_group_id_store() 116 struct device_attribute *attr, in group_read_buffers_reserved_show() 125 struct device_attribute *attr, in group_tokens_reserved_show() 133 struct device_attribute *attr, in group_read_buffers_reserved_store() 166 struct device_attribute *attr, in group_tokens_reserved_store() 182 struct device_attribute *attr, in group_read_buffers_allowed_show() 191 struct device_attribute *attr, in group_tokens_allowed_show() 199 struct device_attribute *attr, in group_read_buffers_allowed_store() 229 struct device_attribute *attr, in group_tokens_allowed_store() [all …]
|
/linux/drivers/net/bonding/ |
H A D | bond_sysfs.c | 35 const struct class_attribute *attr, in bonding_show_bonds() 79 const struct class_attribute *attr, in bonding_store_bonds() 142 struct device_attribute *attr, in bonding_sysfs_store_option() 166 struct device_attribute *attr, char *buf) in bonding_show_slaves() 198 struct device_attribute *attr, char *buf) in bonding_show_mode() 211 struct device_attribute *attr, in bonding_show_xmit_hash() 226 struct device_attribute *attr, in bonding_show_arp_validate() 242 struct device_attribute *attr, in bonding_show_arp_all_targets() 258 struct device_attribute *attr, in bonding_show_fail_over_mac() 274 struct device_attribute *attr, in bonding_show_arp_interval() [all …]
|
/linux/drivers/ufs/core/ |
H A D | ufs-sysfs.c | 85 struct device_attribute *attr, in ufs_sysfs_pm_lvl_store() 114 struct device_attribute *attr, char *buf) in rpm_lvl_show() 122 struct device_attribute *attr, const char *buf, size_t count) in rpm_lvl_store() 128 struct device_attribute *attr, char *buf) in rpm_target_dev_state_show() 137 struct device_attribute *attr, char *buf) in rpm_target_link_state_show() 146 struct device_attribute *attr, char *buf) in spm_lvl_show() 154 struct device_attribute *attr, const char *buf, size_t count) in spm_lvl_store() 160 struct device_attribute *attr, char *buf) in spm_target_dev_state_show() 169 struct device_attribute *attr, char *buf) in spm_target_link_state_show() 220 struct device_attribute *attr, char *buf) in auto_hibern8_show() [all …]
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm3x-sysfs.c | 14 struct device_attribute *attr, char *buf) in nr_addr_cmp_show() 25 struct device_attribute *attr, char *buf) in nr_cntr_show() 35 struct device_attribute *attr, char *buf) in nr_ctxid_cmp_show() 46 struct device_attribute *attr, char *buf) in etmsr_show() 66 struct device_attribute *attr, in reset_store() 97 struct device_attribute *attr, char *buf) in mode_show() 108 struct device_attribute *attr, in mode_store() 182 struct device_attribute *attr, char *buf) in trigger_event_show() 193 struct device_attribute *attr, in trigger_event_store() 212 struct device_attribute *attr, char *buf) in enable_event_show() [all …]
|
H A D | coresight-etm4x-sysfs.c | 58 struct device_attribute *attr, in nr_pe_cmp_show() 70 struct device_attribute *attr, in nr_addr_cmp_show() 82 struct device_attribute *attr, in nr_cntr_show() 94 struct device_attribute *attr, in nr_ext_inp_show() 106 struct device_attribute *attr, in numcidc_show() 118 struct device_attribute *attr, in numvmidc_show() 130 struct device_attribute *attr, in nrseqstate_show() 142 struct device_attribute *attr, in nr_resource_show() 154 struct device_attribute *attr, in nr_ss_cmp_show() 166 struct device_attribute *attr, in reset_store() [all …]
|
H A D | coresight-cti-sysfs.c | 80 struct device_attribute *attr, in enable_show() 100 struct device_attribute *attr, in enable_store() 131 struct device_attribute *attr, in powered_show() 146 struct device_attribute *attr, char *buf) in ctmid_show() 155 struct device_attribute *attr, in nr_trigger_cons_show() 177 struct device_attribute *attr, char *buf) in coresight_cti_reg_show() 194 struct device_attribute *attr, in coresight_cti_reg_store() 330 struct device_attribute *attr, in inout_sel_show() 341 struct device_attribute *attr, in inout_sel_store() 360 struct device_attribute *attr, in inen_show() [all …]
|
/linux/drivers/nvme/host/ |
H A D | sysfs.c | 14 struct device_attribute *attr, const char *buf, in nvme_sysfs_reset() 28 struct device_attribute *attr, const char *buf, in nvme_sysfs_rescan() 39 struct device_attribute *attr, char *buf) in nvme_adm_passthru_err_log_enabled_show() 48 struct device_attribute *attr, const char *buf, size_t count) in nvme_adm_passthru_err_log_enabled_store() 73 struct device_attribute *attr, char *buf) in nvme_io_passthru_err_log_enabled_show() 81 struct device_attribute *attr, const char *buf, size_t count) in nvme_io_passthru_err_log_enabled_store() 103 static ssize_t wwid_show(struct device *dev, struct device_attribute *attr, in wwid_show() 134 static ssize_t nguid_show(struct device *dev, struct device_attribute *attr, in nguid_show() 141 static ssize_t uuid_show(struct device *dev, struct device_attribute *attr, in uuid_show() 158 static ssize_t eui_show(struct device *dev, struct device_attribute *attr, in eui_show() [all …]
|
/linux/drivers/s390/net/ |
H A D | qeth_core_sys.c | 20 struct device_attribute *attr, char *buf) in qeth_dev_state_show() 41 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show() 51 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show() 61 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show() 85 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show() 95 struct device_attribute *attr, char *buf) in qeth_dev_portno_show() 103 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store() 135 struct device_attribute *attr, char *buf) in qeth_dev_portname_show() 141 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store() 154 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show() [all …]
|
H A D | qeth_l3_sys.c | 59 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show() 105 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store() 117 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show() 125 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store() 137 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show() 145 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store() 193 struct device_attribute *attr, char *buf) in qeth_l3_dev_hsuid_show() 207 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_hsuid_store() 284 struct device_attribute *attr, char *buf) in qeth_l3_dev_ipato_enable_show() 292 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_ipato_enable_store() [all …]
|
/linux/drivers/accel/habanalabs/common/ |
H A D | sysfs.c | 13 static ssize_t clk_max_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf) in clk_max_freq_mhz_show() 30 static ssize_t clk_max_freq_mhz_store(struct device *dev, struct device_attribute *attr, in clk_max_freq_mhz_store() 56 static ssize_t clk_cur_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf) in clk_cur_freq_mhz_show() 80 static ssize_t vrm_ver_show(struct device *dev, struct device_attribute *attr, char *buf) in vrm_ver_show() 116 static ssize_t uboot_ver_show(struct device *dev, struct device_attribute *attr, in uboot_ver_show() 125 struct device_attribute *attr, char *buf) in armcp_kernel_ver_show() 132 static ssize_t armcp_ver_show(struct device *dev, struct device_attribute *attr, in armcp_ver_show() 140 static ssize_t cpld_ver_show(struct device *dev, struct device_attribute *attr, in cpld_ver_show() 151 struct device_attribute *attr, char *buf) in cpucp_kernel_ver_show() 158 static ssize_t cpucp_ver_show(struct device *dev, struct device_attribute *attr, in cpucp_ver_show() [all …]
|
/linux/kernel/ |
H A D | ksysfs.c | 40 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show() 48 struct kobj_attribute *attr, char *buf) in cpu_byteorder_show() 56 struct kobj_attribute *attr, char *buf) in address_bits_show() 65 struct kobj_attribute *attr, char *buf) in uevent_helper_show() 70 struct kobj_attribute *attr, in uevent_helper_store() 86 struct kobj_attribute *attr, char *buf) in profiling_show() 91 struct kobj_attribute *attr, in profiling_store() 124 struct kobj_attribute *attr, char *buf) in kexec_loaded_show() 132 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show() 139 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show() [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_hw_engine_class_sysfs.c | 46 struct kobj_attribute *attr, in job_timeout_max_store() 71 struct kobj_attribute *attr, char *buf) in job_timeout_max_show() 82 struct kobj_attribute *attr, in job_timeout_min_store() 107 struct kobj_attribute *attr, char *buf) in job_timeout_min_show() 118 struct kobj_attribute *attr, in job_timeout_store() 140 struct kobj_attribute *attr, char *buf) in job_timeout_show() 151 struct kobj_attribute *attr, char *buf) in job_timeout_default() 162 struct kobj_attribute *attr, char *buf) in job_timeout_min_default() 173 struct kobj_attribute *attr, char *buf) in job_timeout_max_default() 184 struct kobj_attribute *attr, in timeslice_duration_store() [all …]
|
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_sysfs_in.c | 20 struct device_attribute *attr, char *buf) in input_id_show() 29 struct device_attribute *attr, char *buf) in oldi_lane_width_show() 66 struct device_attribute *attr, in oldi_lane_width_store() 118 struct device_attribute *attr, char *buf) in color_mapping_show() 133 struct device_attribute *attr, in color_mapping_store() 164 struct device_attribute *attr, char *buf) in link_status_show() 175 struct device_attribute *attr, char *buf) in stream_status_show() 187 struct device_attribute *attr, char *buf) in video_width_show() 198 struct device_attribute *attr, char *buf) in video_height_show() 209 struct device_attribute *attr, char *buf) in hsync_status_show() [all …]
|
H A D | mgb4_sysfs_out.c | 53 struct device_attribute *attr, char *buf) in output_id_show() 62 struct device_attribute *attr, char *buf) in video_source_show() 85 struct device_attribute *attr, in video_source_store() 147 struct device_attribute *attr, char *buf) in display_width_show() 158 struct device_attribute *attr, in display_width_store() 187 struct device_attribute *attr, char *buf) in display_height_show() 198 struct device_attribute *attr, in display_height_store() 227 struct device_attribute *attr, char *buf) in frame_rate_show() 242 struct device_attribute *attr, const char *buf, in frame_rate_store() 262 struct device_attribute *attr, char *buf) in hsync_width_show() [all …]
|
/linux/drivers/video/fbdev/core/ |
H A D | fbsysfs.c | 56 static ssize_t store_mode(struct device *device, struct device_attribute *attr, in store_mode() 85 static ssize_t show_mode(struct device *device, struct device_attribute *attr, in show_mode() 97 struct device_attribute *attr, in store_modes() 125 static ssize_t show_modes(struct device *device, struct device_attribute *attr, in show_modes() 141 static ssize_t store_bpp(struct device *device, struct device_attribute *attr, in store_bpp() 156 static ssize_t show_bpp(struct device *device, struct device_attribute *attr, in show_bpp() 164 struct device_attribute *attr, in store_rotate() 183 struct device_attribute *attr, char *buf) in show_rotate() 191 struct device_attribute *attr, in store_virtual() 212 struct device_attribute *attr, char *buf) in show_virtual() [all …]
|
/linux/drivers/xen/ |
H A D | sys-hypervisor.c | 31 struct attribute attr; member 40 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show() 52 static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) in guest_type_show() 82 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show() 92 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show() 102 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show() 139 static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show_fallback() 160 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show() 180 static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) in compiler_show() 198 static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) in compiled_by_show() [all …]
|
/linux/drivers/usb/typec/ |
H A D | pd.c | 37 dual_role_power_show(struct device *dev, struct device_attribute *attr, char *buf) in dual_role_power_show() 44 usb_suspend_supported_show(struct device *dev, struct device_attribute *attr, char *buf) in usb_suspend_supported_show() 51 higher_capability_show(struct device *dev, struct device_attribute *attr, char *buf) in higher_capability_show() 58 unconstrained_power_show(struct device *dev, struct device_attribute *attr, char *buf) in unconstrained_power_show() 65 usb_communication_capable_show(struct device *dev, struct device_attribute *attr, char *buf) in usb_communication_capable_show() 72 dual_role_data_show(struct device *dev, struct device_attribute *attr, char *buf) in dual_role_data_show() 80 struct device_attribute *attr, char *buf) in unchunked_extended_messages_supported_show() 87 peak_current_show(struct device *dev, struct device_attribute *attr, char *buf) in peak_current_show() 94 fast_role_swap_current_show(struct device *dev, struct device_attribute *attr, char *buf) in fast_role_swap_current_show() 100 static ssize_t voltage_show(struct device *dev, struct device_attribute *attr, char *buf) in voltage_show() [all …]
|
/linux/drivers/misc/cxl/ |
H A D | sysfs.c | 18 struct device_attribute *attr, in caia_version_show() 28 struct device_attribute *attr, in psl_revision_show() 37 struct device_attribute *attr, in base_image_show() 46 struct device_attribute *attr, in image_loaded_show() 57 struct device_attribute *attr, in psl_timebase_synced_show() 78 struct device_attribute *attr, in tunneled_ops_supported_show() 87 struct device_attribute *attr, in reset_adapter_store() 123 struct device_attribute *attr, in load_image_on_perst_show() 137 struct device_attribute *attr, in load_image_on_perst_store() 161 struct device_attribute *attr, in perst_reloads_same_image_show() [all …]
|
/linux/kernel/power/ |
H A D | main.c | 115 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show() 121 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store() 139 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show() 184 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store() 221 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show() 227 struct kobj_attribute *attr, in sync_on_suspend_store() 257 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show() 278 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store() 422 struct kobj_attribute *attr, char *buf) in last_failed_dev_show() 436 struct kobj_attribute *attr, char *buf) in last_failed_errno_show() [all …]
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_attr.c | 119 struct bin_attribute *attr; member 154 struct device_attribute *attr, char *buf) in qla4xxx_fw_version_show() 169 qla4xxx_serial_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_serial_num_show() 177 qla4xxx_iscsi_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_version_show() 186 qla4xxx_optrom_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_optrom_version_show() 196 qla4xxx_board_id_show(struct device *dev, struct device_attribute *attr, in qla4xxx_board_id_show() 204 qla4xxx_fw_state_show(struct device *dev, struct device_attribute *attr, in qla4xxx_fw_state_show() 215 qla4xxx_phy_port_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_cnt_show() 227 qla4xxx_phy_port_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_num_show() 239 qla4xxx_iscsi_func_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_func_cnt_show() [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | sysfs_engines.c | 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() 121 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show() 132 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in all_caps_show() 141 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store() 179 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show() 190 max_spin_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_default() 201 timeslice_store(struct kobject *kobj, struct kobj_attribute *attr, in timeslice_store() [all …]
|
/linux/tools/net/ynl/lib/ |
H A D | ynl-priv.h | 182 static inline unsigned int ynl_attr_type(const struct nlattr *attr) in ynl_attr_type() 187 static inline unsigned int ynl_attr_data_len(const struct nlattr *attr) in ynl_attr_data_len() 192 static inline void *ynl_attr_data(const struct nlattr *attr) in ynl_attr_data() 197 static inline void *ynl_attr_data_end(const struct nlattr *attr) in ynl_attr_data_end() 202 #define ynl_attr_for_each(attr, nlh, fixed_hdr_sz) \ argument 207 #define ynl_attr_for_each_nested(attr, outer) \ argument 212 #define ynl_attr_for_each_payload(start, len, attr) \ argument 217 ynl_attr_if_good(const void *end, struct nlattr *attr) in ynl_attr_if_good() 229 struct nlattr *attr; in ynl_attr_next() local 238 struct nlattr *attr; in ynl_attr_first() local [all …]
|