Home
last modified time | relevance | path

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

12345678910>>...142

/kernel/liteos_a/compat/posix/src/
Dpthread_attr.c36 int pthread_attr_init(pthread_attr_t *attr) in pthread_attr_init()
59 int pthread_attr_destroy(pthread_attr_t *attr) in pthread_attr_destroy()
69 int pthread_attr_setdetachstate(pthread_attr_t *attr, int detachState) in pthread_attr_setdetachstate()
79 int pthread_attr_getdetachstate(const pthread_attr_t *attr, int *detachState) in pthread_attr_getdetachstate()
90 int pthread_attr_setscope(pthread_attr_t *attr, int scope) in pthread_attr_setscope()
108 int pthread_attr_getscope(const pthread_attr_t *attr, int *scope) in pthread_attr_getscope()
119 int pthread_attr_setinheritsched(pthread_attr_t *attr, int inherit) in pthread_attr_setinheritsched()
129 int pthread_attr_getinheritsched(const pthread_attr_t *attr, int *inherit) in pthread_attr_getinheritsched()
140 int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) in pthread_attr_setschedpolicy()
150 int pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy) in pthread_attr_getschedpolicy()
[all …]
/kernel/liteos_m/kal/posix/src/
Dpthread_attr.c39 int pthread_attr_init(pthread_attr_t *attr) in pthread_attr_init()
58 int pthread_attr_destroy(pthread_attr_t *attr) in pthread_attr_destroy()
69 int pthread_attr_setdetachstate(pthread_attr_t *attr, int detachState) in pthread_attr_setdetachstate()
79 int pthread_attr_getdetachstate(const pthread_attr_t *attr, int *detachState) in pthread_attr_getdetachstate()
90 int pthread_attr_setscope(pthread_attr_t *attr, int scope) in pthread_attr_setscope()
108 int pthread_attr_getscope(const pthread_attr_t *attr, int *scope) in pthread_attr_getscope()
119 int pthread_attr_setinheritsched(pthread_attr_t *attr, int inherit) in pthread_attr_setinheritsched()
129 int pthread_attr_getinheritsched(const pthread_attr_t *attr, int *inherit) in pthread_attr_getinheritsched()
140 int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) in pthread_attr_setschedpolicy()
150 int pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy) in pthread_attr_getschedpolicy()
[all …]
/kernel/linux/linux-4.19/net/bridge/
Dbr_sysfs_br.c60 struct device_attribute *attr, char *buf) in forward_delay_show()
67 struct device_attribute *attr, in forward_delay_store()
74 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show()
82 struct device_attribute *attr, const char *buf, in hello_time_store()
89 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show()
96 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store()
104 struct device_attribute *attr, char *buf) in ageing_time_show()
116 struct device_attribute *attr, in ageing_time_store()
124 struct device_attribute *attr, char *buf) in stp_state_show()
139 struct device_attribute *attr, const char *buf, in stp_state_store()
[all …]
/kernel/linux/linux-5.10/net/bridge/
Dbr_sysfs_br.c56 struct device_attribute *attr, char *buf) in forward_delay_show()
63 struct device_attribute *attr, in forward_delay_store()
70 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show()
78 struct device_attribute *attr, const char *buf, in hello_time_store()
85 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show()
92 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store()
100 struct device_attribute *attr, char *buf) in ageing_time_show()
112 struct device_attribute *attr, in ageing_time_store()
120 struct device_attribute *attr, char *buf) in stp_state_show()
133 struct device_attribute *attr, const char *buf, in stp_state_store()
[all …]
/kernel/linux/linux-4.19/tools/perf/util/intel-pt-decoder/
Dinat.h124 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix()
130 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix()
135 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix()
140 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix()
145 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id()
153 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix()
160 static inline int inat_is_evex_prefix(insn_attr_t attr) in inat_is_evex_prefix()
165 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix()
170 static inline int inat_is_escape(insn_attr_t attr) in inat_is_escape()
175 static inline int inat_escape_id(insn_attr_t attr) in inat_escape_id()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dinat.h110 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix()
116 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix()
121 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix()
126 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix()
131 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id()
139 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix()
146 static inline int inat_is_evex_prefix(insn_attr_t attr) in inat_is_evex_prefix()
151 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix()
156 static inline int inat_is_escape(insn_attr_t attr) in inat_is_escape()
161 static inline int inat_escape_id(insn_attr_t attr) in inat_escape_id()
[all …]
/kernel/linux/linux-4.19/arch/x86/include/asm/
Dinat.h124 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix()
130 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix()
135 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix()
140 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix()
145 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id()
153 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix()
160 static inline int inat_is_evex_prefix(insn_attr_t attr) in inat_is_evex_prefix()
165 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix()
170 static inline int inat_is_escape(insn_attr_t attr) in inat_is_escape()
175 static inline int inat_escape_id(insn_attr_t attr) in inat_escape_id()
[all …]
/kernel/linux/linux-4.19/tools/objtool/arch/x86/include/asm/
Dinat.h124 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix()
130 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix()
135 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix()
140 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix()
145 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id()
153 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix()
160 static inline int inat_is_evex_prefix(insn_attr_t attr) in inat_is_evex_prefix()
165 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix()
170 static inline int inat_is_escape(insn_attr_t attr) in inat_is_escape()
175 static inline int inat_escape_id(insn_attr_t attr) in inat_escape_id()
[all …]
/kernel/linux/linux-5.10/tools/arch/x86/include/asm/
Dinat.h110 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix()
116 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix()
121 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix()
126 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix()
131 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id()
139 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix()
146 static inline int inat_is_evex_prefix(insn_attr_t attr) in inat_is_evex_prefix()
151 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix()
156 static inline int inat_is_escape(insn_attr_t attr) in inat_is_escape()
161 static inline int inat_escape_id(insn_attr_t attr) in inat_escape_id()
[all …]
/kernel/linux/linux-5.10/fs/nilfs2/
Dsysfs.c108 nilfs_snapshot_inodes_count_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_inodes_count_show()
116 nilfs_snapshot_blocks_count_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_blocks_count_show()
129 nilfs_snapshot_README_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_README_show()
147 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
158 struct attribute *attr, in nilfs_snapshot_attr_store()
230 nilfs_mounted_snapshots_README_show(struct nilfs_mounted_snapshots_attr *attr, in nilfs_mounted_snapshots_README_show()
252 nilfs_checkpoints_checkpoints_number_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_checkpoints_number_show()
275 nilfs_checkpoints_snapshots_number_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_snapshots_number_show()
298 nilfs_checkpoints_last_seg_checkpoint_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_last_seg_checkpoint_show()
312 nilfs_checkpoints_next_checkpoint_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_next_checkpoint_show()
[all …]
/kernel/linux/linux-4.19/fs/nilfs2/
Dsysfs.c110 nilfs_snapshot_inodes_count_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_inodes_count_show()
118 nilfs_snapshot_blocks_count_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_blocks_count_show()
131 nilfs_snapshot_README_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_README_show()
149 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
160 struct attribute *attr, in nilfs_snapshot_attr_store()
232 nilfs_mounted_snapshots_README_show(struct nilfs_mounted_snapshots_attr *attr, in nilfs_mounted_snapshots_README_show()
254 nilfs_checkpoints_checkpoints_number_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_checkpoints_number_show()
277 nilfs_checkpoints_snapshots_number_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_snapshots_number_show()
300 nilfs_checkpoints_last_seg_checkpoint_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_last_seg_checkpoint_show()
314 nilfs_checkpoints_next_checkpoint_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_next_checkpoint_show()
[all …]
/kernel/linux/linux-4.19/drivers/net/bonding/
Dbond_sysfs.c51 struct class_attribute *attr, in bonding_show_bonds()
95 struct class_attribute *attr, in bonding_store_bonds()
158 struct device_attribute *attr, in bonding_sysfs_store_option()
182 struct device_attribute *attr, char *buf) in bonding_show_slaves()
215 struct device_attribute *attr, char *buf) in bonding_show_mode()
228 struct device_attribute *attr, in bonding_show_xmit_hash()
243 struct device_attribute *attr, in bonding_show_arp_validate()
259 struct device_attribute *attr, in bonding_show_arp_all_targets()
275 struct device_attribute *attr, in bonding_show_fail_over_mac()
291 struct device_attribute *attr, in bonding_show_arp_interval()
[all …]
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_sysfs.c35 struct class_attribute *attr, in bonding_show_bonds()
79 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()
199 struct device_attribute *attr, char *buf) in bonding_show_mode()
212 struct device_attribute *attr, in bonding_show_xmit_hash()
227 struct device_attribute *attr, in bonding_show_arp_validate()
243 struct device_attribute *attr, in bonding_show_arp_all_targets()
259 struct device_attribute *attr, in bonding_show_fail_over_mac()
275 struct device_attribute *attr, in bonding_show_arp_interval()
[all …]
/kernel/linux/linux-4.19/drivers/base/power/
Dsysfs.c101 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show()
108 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store()
125 struct device_attribute *attr, char *buf) in runtime_active_time_show()
138 struct device_attribute *attr, char *buf) in runtime_suspended_time_show()
152 struct device_attribute *attr, char *buf) in runtime_status_show()
184 struct device_attribute *attr, char *buf) 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 …]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c57 struct device_attribute *attr, in nr_pe_cmp_show()
69 struct device_attribute *attr, in nr_addr_cmp_show()
81 struct device_attribute *attr, in nr_cntr_show()
93 struct device_attribute *attr, in nr_ext_inp_show()
105 struct device_attribute *attr, in numcidc_show()
117 struct device_attribute *attr, in numvmidc_show()
129 struct device_attribute *attr, in nrseqstate_show()
141 struct device_attribute *attr, in nr_resource_show()
153 struct device_attribute *attr, in nr_ss_cmp_show()
165 struct device_attribute *attr, in reset_store()
[all …]
/kernel/linux/linux-5.10/drivers/s390/net/
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 …]
/kernel/linux/linux-4.19/drivers/s390/net/
Dqeth_core_sys.c20 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
48 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
60 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
71 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
97 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
109 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
119 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
155 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
161 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
174 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
/kernel/linux/linux-5.10/drivers/base/power/
Dsysfs.c101 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show()
108 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store()
125 struct device_attribute *attr, in runtime_active_time_show()
138 struct device_attribute *attr, in runtime_suspended_time_show()
151 struct device_attribute *attr, char *buf) in runtime_status_show()
183 struct device_attribute *attr, in autosuspend_delay_ms_show()
193 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
212 struct device_attribute *attr, in pm_qos_resume_latency_us_show()
226 struct device_attribute *attr, in pm_qos_resume_latency_us_store()
256 struct device_attribute *attr, in pm_qos_latency_tolerance_us_show()
[all …]
/kernel/linux/linux-5.10/drivers/xen/
Dsys-hypervisor.c32 struct attribute attr; member
38 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show()
50 static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) in guest_type_show()
80 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show()
90 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show()
100 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show()
137 static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show_fallback()
158 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show()
178 static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) in compiler_show()
196 static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) in compiled_by_show()
[all …]
/kernel/linux/linux-4.19/drivers/xen/
Dsys-hypervisor.c35 struct attribute attr; member
41 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show()
53 static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) in guest_type_show()
83 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show()
93 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show()
103 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show()
140 static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show_fallback()
161 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show()
181 static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) in compiler_show()
199 static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) in compiled_by_show()
[all …]
/kernel/linux/linux-4.19/drivers/misc/mic/cosm/
Dcosm_sysfs.c67 family_show(struct device *dev, struct device_attribute *attr, char *buf) in family_show()
79 stepping_show(struct device *dev, struct device_attribute *attr, char *buf) in stepping_show()
91 state_show(struct device *dev, struct device_attribute *attr, char *buf) in state_show()
103 state_store(struct device *dev, struct device_attribute *attr, in state_store()
134 struct device_attribute *attr, char *buf) in shutdown_status_show()
148 struct device_attribute *attr, char *buf) in heartbeat_enable_show()
160 struct device_attribute *attr, in heartbeat_enable_store()
187 cmdline_show(struct device *dev, struct device_attribute *attr, char *buf) in cmdline_show()
203 cmdline_store(struct device *dev, struct device_attribute *attr, in cmdline_store()
233 firmware_show(struct device *dev, struct device_attribute *attr, char *buf) in firmware_show()
[all …]
/kernel/linux/linux-4.19/kernel/
Dksysfs.c34 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
43 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
48 struct kobj_attribute *attr, in uevent_helper_store()
64 struct kobj_attribute *attr, char *buf) in profiling_show()
69 struct kobj_attribute *attr, in profiling_store()
95 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
102 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
109 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
114 struct kobj_attribute *attr, in kexec_crash_size_store()
133 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
/kernel/linux/linux-5.10/kernel/
Dksysfs.c32 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
41 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
46 struct kobj_attribute *attr, in uevent_helper_store()
62 struct kobj_attribute *attr, char *buf) in profiling_show()
67 struct kobj_attribute *attr, in profiling_store()
93 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
100 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
107 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
112 struct kobj_attribute *attr, in kexec_crash_size_store()
131 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
/kernel/linux/linux-4.19/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c57 struct device_attribute *attr, in nr_pe_cmp_show()
69 struct device_attribute *attr, in nr_addr_cmp_show()
81 struct device_attribute *attr, in nr_cntr_show()
93 struct device_attribute *attr, in nr_ext_inp_show()
105 struct device_attribute *attr, in numcidc_show()
117 struct device_attribute *attr, in numvmidc_show()
129 struct device_attribute *attr, in nrseqstate_show()
141 struct device_attribute *attr, in nr_resource_show()
153 struct device_attribute *attr, in nr_ss_cmp_show()
165 struct device_attribute *attr, in reset_store()
[all …]
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()
96 struct device_attribute *attr, char *buf) in mode_show()
107 struct device_attribute *attr, in mode_store()
181 struct device_attribute *attr, char *buf) in trigger_event_show()
192 struct device_attribute *attr, in trigger_event_store()
211 struct device_attribute *attr, char *buf) in enable_event_show()
[all …]

12345678910>>...142