Home
last modified time | relevance | path

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

12345678910>>...82

/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-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-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-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-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-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 …]
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 …]
/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/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-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-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 …]
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()
174 struct fei_attr *attr = container_of(kp, struct fei_attr, kp); in fei_kprobe_handler() local
204 struct fei_attr *attr = list_entry(v, struct fei_attr, list); in fei_seq_show() local
[all …]
/kernel/linux/linux-5.10/drivers/usb/core/
Dsysfs.c52 struct device_attribute *attr, char *buf) in bMaxPower_show()
71 struct device_attribute *attr, char *buf) in configuration_show()
93 struct device_attribute *attr, in bConfigurationValue_store()
112 static ssize_t devspec_show(struct device *dev, struct device_attribute *attr, in devspec_show()
144 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, in speed_show()
179 static ssize_t rx_lanes_show(struct device *dev, struct device_attribute *attr, in rx_lanes_show()
189 static ssize_t tx_lanes_show(struct device *dev, struct device_attribute *attr, in tx_lanes_show()
199 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, in busnum_show()
209 static ssize_t devnum_show(struct device *dev, struct device_attribute *attr, in devnum_show()
219 static ssize_t devpath_show(struct device *dev, struct device_attribute *attr, in devpath_show()
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Ddevice_node.c183 static ssize_t sbi_cmd_show(struct kobject *kobj, struct sbi_attribute *attr, in sbi_cmd_show()
216 static ssize_t sbi_cmd_store(struct kobject *kobj, struct sbi_attribute *attr, in sbi_cmd_store()
246 static ssize_t sbi_status_show(struct kobject *kobj, struct sbi_attribute *attr, in sbi_status_show()
280 struct sbi_attribute *attr, const char *buf, in sbi_status_store()
289 static ssize_t sbi_stat_show(struct kobject *kobj, struct sbi_attribute *attr, in sbi_stat_show()
321 static ssize_t sbi_stat_store(struct kobject *kobj, struct sbi_attribute *attr, in sbi_stat_store()
349 struct sbi_attribute *attr, char *buf) in sbi_dcache_precision_show()
357 struct sbi_attribute *attr, in sbi_dcache_precision_store()
380 struct sbi_attribute *attr, char *buf) in sbi_dcache_threshold_show()
387 struct sbi_attribute *attr, in sbi_dcache_threshold_store()
[all …]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dsysfs.c102 static ssize_t uboot_ver_show(struct device *dev, struct device_attribute *attr, in uboot_ver_show()
111 struct device_attribute *attr, char *buf) in armcp_kernel_ver_show()
118 static ssize_t armcp_ver_show(struct device *dev, struct device_attribute *attr, in armcp_ver_show()
126 static ssize_t cpld_ver_show(struct device *dev, struct device_attribute *attr, in cpld_ver_show()
136 struct device_attribute *attr, char *buf) in cpucp_kernel_ver_show()
143 static ssize_t cpucp_ver_show(struct device *dev, struct device_attribute *attr, in cpucp_ver_show()
152 struct device_attribute *attr, char *buf) in infineon_ver_show()
160 static ssize_t fuse_ver_show(struct device *dev, struct device_attribute *attr, in fuse_ver_show()
169 struct device_attribute *attr, char *buf) in thermal_ver_show()
177 struct device_attribute *attr, char *buf) in preboot_btl_ver_show()
[all …]
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf.c62 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf()
68 static inline int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size) in sys_bpf_prog_load()
81 union bpf_attr attr; in bpf_create_map_xattr() local
161 union bpf_attr attr; in bpf_create_map_in_map_node() local
221 union bpf_attr attr; in bpf_load_program_xattr() local
353 union bpf_attr attr; in bpf_verify_program() local
373 union bpf_attr attr; in bpf_map_update_elem() local
386 union bpf_attr attr; in bpf_map_lookup_elem() local
398 union bpf_attr attr; in bpf_map_lookup_elem_flags() local
411 union bpf_attr attr; in bpf_map_lookup_and_delete_elem() local
[all …]
/kernel/linux/linux-5.10/kernel/power/
Dmain.c100 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
106 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
124 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
166 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
203 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
209 struct kobj_attribute *attr, in sync_on_suspend_store()
239 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
260 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
330 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
344 struct kobj_attribute *attr, char *buf) in last_failed_errno_show()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c116 struct device_attribute *attr, in amdgpu_get_power_dpm_state()
153 struct device_attribute *attr, in amdgpu_set_power_dpm_state()
260 struct device_attribute *attr, in amdgpu_get_power_dpm_force_performance_level()
300 struct device_attribute *attr, in amdgpu_set_power_dpm_force_performance_level()
406 struct device_attribute *attr, in amdgpu_get_pp_num_states()
448 struct device_attribute *attr, in amdgpu_get_pp_cur_state()
493 struct device_attribute *attr, in amdgpu_get_pp_force_state()
509 struct device_attribute *attr, in amdgpu_set_pp_force_state()
571 struct device_attribute *attr, in amdgpu_get_pp_table()
615 struct device_attribute *attr, in amdgpu_set_pp_table()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfbsysfs.c125 static ssize_t store_mode(struct device *device, struct device_attribute *attr, in store_mode()
156 static ssize_t show_mode(struct device *device, struct device_attribute *attr, in show_mode()
168 struct device_attribute *attr, in store_modes()
196 static ssize_t show_modes(struct device *device, struct device_attribute *attr, in show_modes()
214 static ssize_t store_bpp(struct device *device, struct device_attribute *attr, in store_bpp()
229 static ssize_t show_bpp(struct device *device, struct device_attribute *attr, in show_bpp()
237 struct device_attribute *attr, in store_rotate()
256 struct device_attribute *attr, char *buf) in show_rotate()
264 struct device_attribute *attr, in store_virtual()
285 struct device_attribute *attr, char *buf) in show_virtual()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
Dql4_attr.c119 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 …]
/kernel/linux/linux-5.10/drivers/base/
Dcpu.c88 struct device_attribute *attr, in cpu_probe_store()
106 struct device_attribute *attr, in cpu_release_store()
143 struct device_attribute *attr, in crash_notes_show()
165 struct device_attribute *attr, in crash_notes_size_show()
185 struct device_attribute *attr, char *buf) in isolate_show()
234 struct device_attribute attr; member
239 struct device_attribute *attr, in show_cpus_attr()
264 struct device_attribute *attr, char *buf) in print_cpus_kernel_max()
274 struct device_attribute *attr, char *buf) in print_cpus_offline()
304 struct device_attribute *attr, char *buf) in print_cpus_isolated()
[all …]
/kernel/linux/linux-5.10/drivers/pcmcia/
Dsocket_sysfs.c33 static ssize_t pccard_show_type(struct device *dev, struct device_attribute *attr, in pccard_show_type()
46 static ssize_t pccard_show_voltage(struct device *dev, struct device_attribute *attr, in pccard_show_voltage()
60 static ssize_t pccard_show_vpp(struct device *dev, struct device_attribute *attr, in pccard_show_vpp()
70 static ssize_t pccard_show_vcc(struct device *dev, struct device_attribute *attr, in pccard_show_vcc()
81 static ssize_t pccard_store_insert(struct device *dev, struct device_attribute *attr, in pccard_store_insert()
97 struct device_attribute *attr, in pccard_show_card_pm_state()
105 struct device_attribute *attr, in pccard_store_card_pm_state()
128 struct device_attribute *attr, in pccard_store_eject()
144 struct device_attribute *attr, in pccard_show_irq_mask()
152 struct device_attribute *attr, in pccard_store_irq_mask()
[all …]
/kernel/linux/linux-5.10/drivers/dma/idxd/
Dsysfs.c392 struct device_attribute *attr, char *buf) in engine_group_id_show()
404 struct device_attribute *attr, in engine_group_id_store()
476 struct device_attribute *attr, in group_tokens_reserved_show()
486 struct device_attribute *attr, in group_tokens_reserved_store()
521 struct device_attribute *attr, in group_tokens_allowed_show()
531 struct device_attribute *attr, in group_tokens_allowed_store()
563 struct device_attribute *attr, in group_use_token_limit_show()
573 struct device_attribute *attr, in group_use_token_limit_store()
604 struct device_attribute *attr, char *buf) in group_engines_show()
633 struct device_attribute *attr, char *buf) in group_work_queues_show()
[all …]

12345678910>>...82