Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/sched_ext/
H A Dpeek_dsq.bpf.c26 int insert_test_cpu = -1; /* Set to the cpu that performs the test */ variable
115 last_insert_test_cpu = __sync_val_compare_and_swap(&insert_test_cpu, -1, cpu); in BPF_STRUCT_OPS()
147 if (insert_test_cpu == cpu && dsq_peek_result2 == -1) { in BPF_STRUCT_OPS()
185 insert_test_cpu = -1; in BPF_STRUCT_OPS_SLEEPABLE()
H A Dpeek_dsq.c150 printf("DSQ insert test done on cpu: %d\n", skel->data->insert_test_cpu); in run()
151 if (skel->data->insert_test_cpu != -1) in run()