Home
last modified time | relevance | path

Searched refs:attr (Results 1951 - 1975 of 8095) sorted by relevance

1...<<71727374757677787980>>...324

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec_fs.h12 struct mlx5e_ipsec_rx_create_attr *attr);
21 struct mlx5e_ipsec_tx_create_attr *attr);
25 struct mlx5e_ipsec_rx_create_attr *attr) {} in mlx5_esw_ipsec_rx_create_attr_set()
48 struct mlx5e_ipsec_tx_create_attr *attr) {} in mlx5_esw_ipsec_tx_create_attr_set()
24 mlx5_esw_ipsec_rx_create_attr_set(struct mlx5e_ipsec *ipsec, struct mlx5e_ipsec_rx_create_attr *attr) mlx5_esw_ipsec_rx_create_attr_set() argument
47 mlx5_esw_ipsec_tx_create_attr_set(struct mlx5e_ipsec *ipsec, struct mlx5e_ipsec_tx_create_attr *attr) mlx5_esw_ipsec_tx_create_attr_set() argument
/kernel/linux/linux-6.6/drivers/scsi/qedi/
H A Dqedi_sysfs.c20 struct device_attribute *attr, in port_state_show()
32 struct device_attribute *attr, char *buf) in speed_show()
46 &dev_attr_port_state.attr,
47 &dev_attr_speed.attr,
19 port_state_show(struct device *dev, struct device_attribute *attr, char *buf) port_state_show() argument
31 speed_show(struct device *dev, struct device_attribute *attr, char *buf) speed_show() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dmirred_nic.c11 struct mlx5_flow_attr *attr) in tc_act_can_offload_mirred_nic()
39 struct mlx5_flow_attr *attr) in tc_act_parse_mirred_nic()
41 attr->parse_attr->mirred_ifindex[0] = act->dev->ifindex; in tc_act_parse_mirred_nic()
43 attr->action |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in tc_act_parse_mirred_nic()
8 tc_act_can_offload_mirred_nic(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, int act_index, struct mlx5_flow_attr *attr) tc_act_can_offload_mirred_nic() argument
36 tc_act_parse_mirred_nic(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, struct mlx5e_priv *priv, struct mlx5_flow_attr *attr) tc_act_parse_mirred_nic() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dsample.h29 struct mlx5_flow_attr *attr);
34 struct mlx5_flow_attr *attr);
47 struct mlx5_flow_attr *attr) in mlx5e_tc_sample_offload()
53 struct mlx5_flow_attr *attr) {} in mlx5e_tc_sample_unoffload()
45 mlx5e_tc_sample_offload(struct mlx5e_tc_psample *tc_psample, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr) mlx5e_tc_sample_offload() argument
51 mlx5e_tc_sample_unoffload(struct mlx5e_tc_psample *tc_psample, struct mlx5_flow_handle *rule, struct mlx5_flow_attr *attr) mlx5e_tc_sample_unoffload() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.h11 struct mlx5_flow_attr *attr,
16 struct mlx5_flow_attr *attr,
35 struct mlx5_flow_attr *attr,
40 struct mlx5_flow_attr *attr);
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmmcra_bhrb_cond_test.c39 event.attr.sample_regs_intr = platform_extended_mask; in mmcra_bhrb_cond_test()
40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_cond_test()
41 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_COND; in mmcra_bhrb_cond_test()
42 event.attr.exclude_kernel = 1; in mmcra_bhrb_cond_test()
H A Dmmcra_bhrb_ind_call_test.c39 event.attr.sample_regs_intr = platform_extended_mask; in mmcra_bhrb_ind_call_test()
40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_ind_call_test()
41 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_IND_CALL; in mmcra_bhrb_ind_call_test()
42 event.attr.exclude_kernel = 1; in mmcra_bhrb_ind_call_test()
H A Dmmcra_bhrb_any_test.c35 event.attr.sample_regs_intr = platform_extended_mask; in mmcra_bhrb_any_test()
36 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_any_test()
37 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_ANY; in mmcra_bhrb_any_test()
38 event.attr.exclude_kernel = 1; in mmcra_bhrb_any_test()
H A Dmmcra_bhrb_disable_test.c36 event.attr.sample_regs_intr = platform_extended_mask; in mmcra_bhrb_disable_test()
37 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_disable_test()
38 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_ANY; in mmcra_bhrb_disable_test()
39 event.attr.exclude_kernel = 1; in mmcra_bhrb_disable_test()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_101.c61 pthread_attr_t attr; in Testcase() local
63 pthread_attr_init(&attr); in Testcase()
64 attr.detachstate = PTHREAD_CREATE_DETACHED; in Testcase()
68 ret = pthread_create(&newTh2, &attr, PthreadF01, NULL); in Testcase()
H A DIt_posix_pthread_197.c42 pthread_attr_t attr; in Testcase() local
48 ret = pthread_attr_init(&attr); in Testcase()
52 ret = pthread_attr_setschedpolicy(&attr, g_pthreadSchedPolicy); in Testcase()
60 ret = pthread_attr_setschedparam(&attr, &param); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/mqueue/
H A DIt_posix_queue_001.c40 struct mq_attr attr = {0}; in Testcase() local
43 attr.mq_msgsize = MQUEUE_STANDARD_NAME_LENGTH; in Testcase()
44 attr.mq_maxmsg = 0; in Testcase()
49 mqueue = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/mutex/
H A DIt_posix_mutex_034.c48 pthread_attr_t attr; in Testcase() local
53 ret = PosixPthreadInit(&attr, 4); // 4, Set thread priority. in Testcase()
56 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
70 ret = PosixPthreadDestroy(&attr, newTh); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/pthread/
H A DIt_posix_pthread_008.c37 pthread_attr_t attr; in Testcase() local
43 ret = pthread_attr_init(&attr); in Testcase()
47 ret = pthread_attr_setschedpolicy(&attr, g_pthreadSchedPolicy); in Testcase()
55 ret = pthread_attr_setschedparam(&attr, &param); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/smoke/
H A DIt_posix_queue_001.cpp40 struct mq_attr attr = {0}; in Testcase() local
43 attr.mq_msgsize = MQUEUE_STANDARD_NAME_LENGTH; in Testcase()
44 attr.mq_maxmsg = 0; in Testcase()
49 mqueue = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in Testcase()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/
H A D2-1.c32 struct mq_attr attr; in main() local
36 attr.mq_msgsize = MSGSIZE; in main()
37 attr.mq_maxmsg = MSGSIZE; in main()
39 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/speculative/
H A D3-2.c30 pthread_attr_t attr; in main() local
36 rc = pthread_attr_init(&attr); in main()
42 rc = pthread_attr_setschedpolicy(&attr, policy); in main()
55 rc = pthread_attr_setschedparam(&attr, &param); in main()
H A D3-1.c30 pthread_attr_t attr; in main() local
36 rc = pthread_attr_init(&attr); in main()
42 rc = pthread_attr_setschedpolicy(&attr, policy); in main()
55 rc = pthread_attr_setschedparam(&attr, &param); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
H A D5-1.c34 pthread_attr_t attr; in set_policy() local
36 rc = pthread_attr_init(&attr); in set_policy()
43 rc = pthread_attr_setschedpolicy(&attr, policy); in set_policy()
49 (void)pthread_attr_destroy(&attr); in set_policy()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
H A D15-1.c36 pthread_attr_t attr; in main() local
42 if (pthread_attr_init(&attr) != 0) { in main()
46 result = pthread_attr_setscope(&attr, PTHREAD_SCOPE_PROCESS); in main()
54 if (pthread_create(&tid, &attr, runner, NULL) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/
H A D4-1.c11 * 1. Initialize pthread_attr_t object (attr)
33 pthread_attr_t attr; in main() local
38 /* Initialize attr */ in main()
39 rc = pthread_attr_init(&attr); in main()
53 rc = pthread_attr_setstacksize(&attr, stack_size); in main()
59 rc = pthread_attr_destroy(&attr); in main()
/kernel/linux/linux-5.10/drivers/block/zram/
H A Dzram_drv.c181 struct device_attribute *attr, char *buf) in initstate_show()
194 struct device_attribute *attr, char *buf) in disksize_show()
202 struct device_attribute *attr, const char *buf, size_t len) in mem_limit_store()
220 struct device_attribute *attr, const char *buf, size_t len) in mem_used_max_store()
241 struct device_attribute *attr, const char *buf, size_t len) in idle_store()
275 struct device_attribute *attr, const char *buf, size_t len) in writeback_limit_enable_store()
295 struct device_attribute *attr, char *buf) in writeback_limit_enable_show()
310 struct device_attribute *attr, const char *buf, size_t len) in writeback_limit_store()
330 struct device_attribute *attr, char *buf) in writeback_limit_show()
366 struct device_attribute *attr, cha in backing_dev_show()
180 initstate_show(struct device *dev, struct device_attribute *attr, char *buf) initstate_show() argument
193 disksize_show(struct device *dev, struct device_attribute *attr, char *buf) disksize_show() argument
201 mem_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) mem_limit_store() argument
219 mem_used_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) mem_used_max_store() argument
240 idle_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) idle_store() argument
274 writeback_limit_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) writeback_limit_enable_store() argument
294 writeback_limit_enable_show(struct device *dev, struct device_attribute *attr, char *buf) writeback_limit_enable_show() argument
309 writeback_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) writeback_limit_store() argument
329 writeback_limit_show(struct device *dev, struct device_attribute *attr, char *buf) writeback_limit_show() argument
365 backing_dev_show(struct device *dev, struct device_attribute *attr, char *buf) backing_dev_show() argument
395 backing_dev_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) backing_dev_store() argument
572 writeback_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) writeback_store() argument
916 max_comp_streams_show(struct device *dev, struct device_attribute *attr, char *buf) max_comp_streams_show() argument
922 max_comp_streams_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) max_comp_streams_store() argument
928 comp_algorithm_show(struct device *dev, struct device_attribute *attr, char *buf) comp_algorithm_show() argument
941 comp_algorithm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) comp_algorithm_store() argument
969 compact_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) compact_store() argument
986 io_stat_show(struct device *dev, struct device_attribute *attr, char *buf) io_stat_show() argument
1004 mm_stat_show(struct device *dev, struct device_attribute *attr, char *buf) mm_stat_show() argument
1041 bd_stat_show(struct device *dev, struct device_attribute *attr, char *buf) bd_stat_show() argument
1059 debug_stat_show(struct device *dev, struct device_attribute *attr, char *buf) debug_stat_show() argument
1085 group_show(struct device *dev, struct device_attribute *attr, char *buf) group_show() argument
1103 group_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) group_store() argument
1746 disksize_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) disksize_store() argument
1795 reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) reset_store() argument
2063 hot_add_show(struct class *class, struct class_attribute *attr, char *buf) hot_add_show() argument
2080 hot_remove_store(struct class *class, struct class_attribute *attr, const char *buf, size_t count) hot_remove_store() argument
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dw83793.c312 vrm_show(struct device *dev, struct device_attribute *attr, char *buf) in vrm_show() argument
319 show_vid(struct device *dev, struct device_attribute *attr, char *buf) in show_vid() argument
323 to_sensor_dev_attr_2(attr); in show_vid()
330 vrm_store(struct device *dev, struct device_attribute *attr, in vrm_store() argument
351 show_alarm_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_alarm_beep() argument
355 to_sensor_dev_attr_2(attr); in show_alarm_beep()
371 store_beep(struct device *dev, struct device_attribute *attr, in store_beep() argument
377 to_sensor_dev_attr_2(attr); in store_beep()
402 show_beep_enable(struct device *dev, struct device_attribute *attr, char *buf) in show_beep_enable() argument
409 store_beep_enable(struct device *dev, struct device_attribute *attr, in store_beep_enable() argument
436 store_chassis_clear(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_chassis_clear() argument
463 show_fan(struct device *dev, struct device_attribute *attr, char *buf) show_fan() argument
481 store_fan_min(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_fan_min() argument
508 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_pwm() argument
526 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm() argument
562 show_temp(struct device *dev, struct device_attribute *attr, char *buf) show_temp() argument
579 store_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp() argument
621 show_temp_mode(struct device *dev, struct device_attribute *attr, char *buf) show_temp_mode() argument
644 store_temp_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp_mode() argument
690 show_sf_setup(struct device *dev, struct device_attribute *attr, char *buf) show_sf_setup() argument
711 store_sf_setup(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sf_setup() argument
787 show_sf_ctrl(struct device *dev, struct device_attribute *attr, char *buf) show_sf_ctrl() argument
811 store_sf_ctrl(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sf_ctrl() argument
871 show_sf2_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_sf2_pwm() argument
883 store_sf2_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sf2_pwm() argument
911 show_sf2_temp(struct device *dev, struct device_attribute *attr, char *buf) show_sf2_temp() argument
924 store_sf2_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sf2_temp() argument
953 show_in(struct device *dev, struct device_attribute *attr, char *buf) show_in() argument
972 store_in(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_in() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dw83793.c312 vrm_show(struct device *dev, struct device_attribute *attr, char *buf) in vrm_show() argument
319 show_vid(struct device *dev, struct device_attribute *attr, char *buf) in show_vid() argument
323 to_sensor_dev_attr_2(attr); in show_vid()
330 vrm_store(struct device *dev, struct device_attribute *attr, in vrm_store() argument
351 show_alarm_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_alarm_beep() argument
355 to_sensor_dev_attr_2(attr); in show_alarm_beep()
371 store_beep(struct device *dev, struct device_attribute *attr, in store_beep() argument
377 to_sensor_dev_attr_2(attr); in store_beep()
402 show_beep_enable(struct device *dev, struct device_attribute *attr, char *buf) in show_beep_enable() argument
409 store_beep_enable(struct device *dev, struct device_attribute *attr, in store_beep_enable() argument
436 store_chassis_clear(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_chassis_clear() argument
463 show_fan(struct device *dev, struct device_attribute *attr, char *buf) show_fan() argument
481 store_fan_min(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_fan_min() argument
508 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_pwm() argument
526 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm() argument
562 show_temp(struct device *dev, struct device_attribute *attr, char *buf) show_temp() argument
579 store_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp() argument
621 show_temp_mode(struct device *dev, struct device_attribute *attr, char *buf) show_temp_mode() argument
644 store_temp_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp_mode() argument
690 show_sf_setup(struct device *dev, struct device_attribute *attr, char *buf) show_sf_setup() argument
711 store_sf_setup(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sf_setup() argument
787 show_sf_ctrl(struct device *dev, struct device_attribute *attr, char *buf) show_sf_ctrl() argument
811 store_sf_ctrl(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sf_ctrl() argument
871 show_sf2_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_sf2_pwm() argument
883 store_sf2_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sf2_pwm() argument
911 show_sf2_temp(struct device *dev, struct device_attribute *attr, char *buf) show_sf2_temp() argument
924 store_sf2_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sf2_temp() argument
953 show_in(struct device *dev, struct device_attribute *attr, char *buf) show_in() argument
972 store_in(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_in() argument
[all...]
/kernel/linux/linux-5.10/drivers/edac/
H A Dedac_device.c67 unsigned instance, block, attr; in edac_device_alloc_ctl_info() local
188 for (attr = 0; attr < nr_attrib; attr++) { in edac_device_alloc_ctl_info()
189 attrib = &attrib_p[attr]; in edac_device_alloc_ctl_info()
194 attrib->attr = attrib_spec[attr].attr; in edac_device_alloc_ctl_info()
195 attrib->show = attrib_spec[attr].show; in edac_device_alloc_ctl_info()
196 attrib->store = attrib_spec[attr] in edac_device_alloc_ctl_info()
[all...]

Completed in 12 milliseconds

1...<<71727374757677787980>>...324