Home
last modified time | relevance | path

Searched defs:attr (Results 1 – 25 of 1987) sorted by relevance

12345678910>>...80

/linux/tools/arch/x86/include/asm/
H A Dinat.h121 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix()
127 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix()
132 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix()
137 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix()
142 static inline int inat_is_rex2_prefix(insn_attr_t attr) in inat_is_rex2_prefix()
147 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id()
155 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix()
162 static inline int inat_is_evex_prefix(insn_attr_t attr) in inat_is_evex_prefix()
167 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix()
172 static inline int inat_is_xop_prefix(insn_attr_t attr) in inat_is_xop_prefix()
[all …]
/linux/arch/x86/include/asm/
H A Dinat.h121 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix()
127 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix()
132 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix()
137 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix()
142 static inline int inat_is_rex2_prefix(insn_attr_t attr) in inat_is_rex2_prefix()
147 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id()
155 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix()
162 static inline int inat_is_evex_prefix(insn_attr_t attr) in inat_is_evex_prefix()
167 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix()
172 static inline int inat_is_xop_prefix(insn_attr_t attr) in inat_is_xop_prefix()
[all …]
/linux/fs/nilfs2/
H A Dsysfs.c95 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/net/bridge/
H A Dbr_sysfs_br.c67 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 Dsysfs.c21 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/ufs/core/
H A Dufs-sysfs.c133 struct device_attribute *attr, in ufs_sysfs_pm_lvl_store()
162 struct device_attribute *attr, char *buf) in rpm_lvl_show()
170 struct device_attribute *attr, const char *buf, size_t count) in rpm_lvl_store()
176 struct device_attribute *attr, char *buf) in rpm_target_dev_state_show()
185 struct device_attribute *attr, char *buf) in rpm_target_link_state_show()
194 struct device_attribute *attr, char *buf) in spm_lvl_show()
202 struct device_attribute *attr, const char *buf, size_t count) in spm_lvl_store()
208 struct device_attribute *attr, char *buf) in spm_target_dev_state_show()
217 struct device_attribute *attr, char *buf) in spm_target_link_state_show()
268 struct device_attribute *attr, char *buf) in auto_hibern8_show()
[all …]
/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c215 struct device_attribute *attr, in amdgpu_get_power_dpm_state()
237 struct device_attribute *attr, in amdgpu_set_power_dpm_state()
327 struct device_attribute *attr, in amdgpu_get_power_dpm_force_performance_level()
357 struct device_attribute *attr, in amdgpu_set_power_dpm_force_performance_level()
410 struct device_attribute *attr, in amdgpu_get_pp_num_states()
440 struct device_attribute *attr, in amdgpu_get_pp_cur_state()
474 struct device_attribute *attr, in amdgpu_get_pp_force_state()
487 struct device_attribute *attr, in amdgpu_set_pp_force_state()
552 struct device_attribute *attr, in amdgpu_get_pp_table()
580 struct device_attribute *attr, in amdgpu_set_pp_table()
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm3x-sysfs.c14 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 …]
/linux/drivers/nvme/host/
H A Dsysfs.c14 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/base/power/
H A Dsysfs.c100 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show()
107 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store()
124 struct device_attribute *attr, in runtime_active_time_show()
137 struct device_attribute *attr, in runtime_suspended_time_show()
150 struct device_attribute *attr, char *buf) in runtime_status_show()
182 struct device_attribute *attr, in autosuspend_delay_ms_show()
192 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
211 struct device_attribute *attr, in pm_qos_resume_latency_us_show()
225 struct device_attribute *attr, in pm_qos_resume_latency_us_store()
255 struct device_attribute *attr, in pm_qos_latency_tolerance_us_show()
[all …]
/linux/drivers/s390/net/
H A Dqeth_core_sys.c20 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 Dqeth_l3_sys.c59 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/usb/core/
H A Dsysfs.c53 struct device_attribute *attr, char *buf) in bMaxPower_show()
72 struct device_attribute *attr, char *buf) in configuration_show()
94 struct device_attribute *attr, in bConfigurationValue_store()
113 static ssize_t devspec_show(struct device *dev, struct device_attribute *attr, in devspec_show()
145 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, in speed_show()
180 static ssize_t rx_lanes_show(struct device *dev, struct device_attribute *attr, in rx_lanes_show()
190 static ssize_t tx_lanes_show(struct device *dev, struct device_attribute *attr, in tx_lanes_show()
200 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, in busnum_show()
210 static ssize_t devnum_show(struct device *dev, struct device_attribute *attr, in devnum_show()
220 static ssize_t devpath_show(struct device *dev, struct device_attribute *attr, in devpath_show()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c41 struct attribute *attr, in xe_hw_engine_class_sysfs_attr_show()
59 struct attribute *attr, in xe_hw_engine_class_sysfs_attr_store()
93 struct kobj_attribute *attr, in job_timeout_max_store()
118 struct kobj_attribute *attr, char *buf) in job_timeout_max_show()
129 struct kobj_attribute *attr, in job_timeout_min_store()
154 struct kobj_attribute *attr, char *buf) in job_timeout_min_show()
165 struct kobj_attribute *attr, in job_timeout_store()
187 struct kobj_attribute *attr, char *buf) in job_timeout_show()
198 struct kobj_attribute *attr, char *buf) in job_timeout_default()
209 struct kobj_attribute *attr, char *buf) in job_timeout_min_default()
[all …]
/linux/drivers/xen/
H A Dsys-hypervisor.c31 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/video/fbdev/core/
H A Dfbsysfs.c56 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/media/pci/mgb4/
H A Dmgb4_sysfs_out.c53 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/usb/typec/
H A Dpd.c37 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/scsi/qla4xxx/
H A Dql4_attr.c119 const 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/tools/net/ynl/lib/
H A Dynl-priv.h190 static inline unsigned int ynl_attr_type(const struct nlattr *attr) in ynl_attr_type()
195 static inline unsigned int ynl_attr_data_len(const struct nlattr *attr) in ynl_attr_data_len()
200 static inline void *ynl_attr_data(const struct nlattr *attr) in ynl_attr_data()
205 static inline void *ynl_attr_data_end(const struct nlattr *attr) in ynl_attr_data_end()
210 #define ynl_attr_for_each(attr, nlh, fixed_hdr_sz) \ argument
215 #define ynl_attr_for_each_nested_off(attr, outer, offset) \ argument
221 #define ynl_attr_for_each_nested(attr, outer) \ argument
224 #define ynl_attr_for_each_payload(start, len, attr) \ argument
229 ynl_attr_if_good(const void *end, struct nlattr *attr) in ynl_attr_if_good()
241 struct nlattr *attr; in ynl_attr_next() local
[all …]
/linux/kernel/power/
H A Dmain.c136 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
142 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
160 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
205 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
242 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
248 struct kobj_attribute *attr, in sync_on_suspend_store()
278 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
299 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
443 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
457 struct kobj_attribute *attr, char *buf) in last_failed_errno_show()
[all …]
/linux/kernel/
H A Dfail_function.c58 struct fei_attr *attr; in fei_attr_new() local
75 static void fei_attr_free(struct fei_attr *attr) in fei_attr_free()
85 struct fei_attr *attr; in fei_attr_lookup() local
97 struct fei_attr *attr; in fei_attr_is_valid() local
109 struct fei_attr *attr = data; in fei_retval_set() local
139 struct fei_attr *attr = data; in fei_retval_get() local
155 static void fei_debugfs_add_attr(struct fei_attr *attr) in fei_debugfs_add_attr()
164 static void fei_debugfs_remove_attr(struct fei_attr *attr) in fei_debugfs_remove_attr()
171 struct fei_attr *attr = container_of(kp, struct fei_attr, kp); in fei_kprobe_handler() local
201 struct fei_attr *attr = list_entry(v, struct fei_attr, list); in fei_seq_show() local
[all …]
/linux/drivers/staging/iio/addac/
H A Dadt7316.c213 struct device_attribute *attr, in adt7316_show_enabled()
243 struct device_attribute *attr, in adt7316_store_enabled()
268 struct device_attribute *attr, in adt7316_show_select_ex_temp()
281 struct device_attribute *attr, in adt7316_store_select_ex_temp()
312 struct device_attribute *attr, in adt7316_show_mode()
325 struct device_attribute *attr, in adt7316_store_mode()
353 struct device_attribute *attr, in adt7316_show_all_modes()
362 struct device_attribute *attr, in adt7316_show_ad_channel()
400 struct device_attribute *attr, in adt7316_store_ad_channel()
446 struct device_attribute *attr, in adt7316_show_all_ad_channels()
[all …]
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-sysfs.c50 struct device_attribute *attr, in max_reconnect_attempts_show()
61 struct device_attribute *attr, in max_reconnect_attempts_store()
92 struct device_attribute *attr, in mpath_policy_show()
115 struct device_attribute *attr, in mpath_policy_store()
157 struct device_attribute *attr, char *page) in add_path_show()
165 struct device_attribute *attr, in add_path_store()
199 struct kobj_attribute *attr, char *page) in rtrs_clt_state_show()
214 struct kobj_attribute *attr, char *buf) in rtrs_clt_reconnect_show()
220 struct kobj_attribute *attr, in rtrs_clt_reconnect_store()
244 struct kobj_attribute *attr, char *buf) in rtrs_clt_disconnect_show()
[all …]
/linux/drivers/pcmcia/
H A Dsocket_sysfs.c34 static ssize_t pccard_show_type(struct device *dev, struct device_attribute *attr, in pccard_show_type()
47 static ssize_t pccard_show_voltage(struct device *dev, struct device_attribute *attr, in pccard_show_voltage()
61 static ssize_t pccard_show_vpp(struct device *dev, struct device_attribute *attr, in pccard_show_vpp()
71 static ssize_t pccard_show_vcc(struct device *dev, struct device_attribute *attr, in pccard_show_vcc()
82 static ssize_t pccard_store_insert(struct device *dev, struct device_attribute *attr, in pccard_store_insert()
98 struct device_attribute *attr, in pccard_show_card_pm_state()
106 struct device_attribute *attr, in pccard_store_card_pm_state()
129 struct device_attribute *attr, in pccard_store_eject()
145 struct device_attribute *attr, in pccard_show_irq_mask()
153 struct device_attribute *attr, in pccard_store_irq_mask()
[all …]

12345678910>>...80