Searched refs:atomic_swap (Results 1 - 11 of 11) sorted by relevance
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_count.c | 25 res->hits = atomic_swap(&ctx->hits.value, 0); 60 res->hits += atomic_swap(&ctx->hits[i].value, 0);
|
H A D | bench_bpf_loop.c | 67 res->hits = atomic_swap(&ctx.skel->bss->hits, 0);
|
H A D | bench_ringbufs.c | 131 res->hits = atomic_swap(&buf_hits.value, 0); 132 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0); 222 res->hits = atomic_swap(&buf_hits.value, 0); 223 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0); 351 res->hits = atomic_swap(&buf_hits.value, 0); 352 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0);
|
H A D | bench_local_storage_rcu_tasks_trace.c | 193 res->gp_ct = atomic_swap(&ctx.skel->bss->gp_hits, 0); 194 res->gp_ns = atomic_swap(&ctx.skel->bss->gp_times, 0);
|
H A D | bench_rename.c | 43 res->hits = atomic_swap(&ctx.hits.value, 0);
|
H A D | bench_strncmp.c | 133 res->hits = atomic_swap(&ctx.skel->bss->hits, 0);
|
H A D | bench_local_storage.c | 224 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); 225 res->important_hits = atomic_swap(&ctx.skel->bss->important_hits, 0);
|
H A D | bench_local_storage_create.c | 142 res->hits = atomic_swap(&skel->bss->create_cnts, 0); 143 res->drops = atomic_swap(&skel->bss->kmalloc_cnts, 0);
|
H A D | bench_trigger.c | 33 res->hits = atomic_swap(&base_hits.value, 0); 45 res->hits = atomic_swap(&ctx.skel->bss->hits, 0);
|
H A D | bench_htab_mem.c | 295 res->hits = atomic_swap(&ctx.skel->bss->op_cnt, 0) / env.producer_cnt;
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | bench.h | 94 static inline long atomic_swap(long *value, long n) function
|
Completed in 155 milliseconds