Home
last modified time | relevance | path

Searched refs:ret_attr (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/x86/
H A Dsrso.c14 struct perf_event_attr ret_attr, mret_attr; in main() local
27 memset(&ret_attr, 0, sizeof(struct perf_event_attr)); in main()
30 ret_attr.type = mret_attr.type = PERF_TYPE_RAW; in main()
31 ret_attr.size = mret_attr.size = sizeof(struct perf_event_attr); in main()
32 ret_attr.config = 0xc8; in main()
34 ret_attr.disabled = mret_attr.disabled = 1; in main()
35 ret_attr.exclude_user = mret_attr.exclude_user = 1; in main()
36 ret_attr.exclude_hv = mret_attr.exclude_hv = 1; in main()
38 rrets_fd = syscall(SYS_perf_event_open, &ret_attr, 0, -1, -1, 0); in main()
/linux/drivers/net/ethernet/ibm/
H A Dibmveth.c770 unsigned long set_attr, clr_attr, ret_attr; in ibmveth_set_csum_offload() local
797 (ret_attr & IBMVETH_ILLAN_PADDED_PKT_CSUM)) { in ibmveth_set_csum_offload()
799 set_attr, &ret_attr); in ibmveth_set_csum_offload()
807 set_attr, clr_attr, &ret_attr); in ibmveth_set_csum_offload()
817 clr_attr6, set_attr6, &ret_attr); in ibmveth_set_csum_offload()
825 set_attr6, clr_attr6, &ret_attr); in ibmveth_set_csum_offload()
841 ret_attr); in ibmveth_set_csum_offload()
853 unsigned long set_attr, clr_attr, ret_attr; in ibmveth_set_tso() local
876 set_attr, &ret_attr); in ibmveth_set_tso()
883 set_attr, clr_attr, &ret_attr); in ibmveth_set_tso()
[all …]