Home
last modified time | relevance | path

Searched refs:READ_ONCE (Results 1 – 25 of 27) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c44 return READ_ONCE(stop); in is_stopped()
49 return READ_ONCE(nr_sk_threads_err); in threads_err()
67 return READ_ONCE(nr_sk_threads_done); in threads_done()
99 while (READ_ONCE(sk_storage_map) == -1 && !is_stopped()) in wait_for_map()
107 while (READ_ONCE(sk_storage_map) != -1 && !is_stopped()) in wait_for_map_close()
185 map_fd = READ_ONCE(sk_storage_map); in insert_close_thread()
287 int map_fd = READ_ONCE(sk_storage_map); in update_thread()
311 int map_fd = READ_ONCE(sk_storage_map); in delete_thread()
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/tests/store_buffering/
Dtest.c21 __unbuffered_tpr_y = READ_ONCE(y); in rcu_reader()
41 __unbuffered_tpr_x = READ_ONCE(x); in thread_update()
/external/mesa3d/src/gallium/drivers/iris/
Diris_pipe_control.c212 const uint64_t seqno = READ_ONCE(bo->last_seqnos[i]); in iris_emit_buffer_barrier_for()
236 const uint64_t seqno = READ_ONCE(bo->last_seqnos[i]); in iris_emit_buffer_barrier_for()
252 const uint64_t seqno = READ_ONCE(bo->last_seqnos[i]); in iris_emit_buffer_barrier_for()
Diris_fine_fence.h102 return !sq || (READ_ONCE(*sq->map) >= sq->seqno); in iris_fine_fence_signaled()
Diris_query.c593 if (!q->ready && READ_ONCE(q->map->snapshots_landed)) { in iris_check_query_no_flush()
631 while (!READ_ONCE(q->map->snapshots_landed)) { in iris_get_query_result()
638 assert(READ_ONCE(q->map->snapshots_landed)); in iris_get_query_result()
685 if (!q->ready && READ_ONCE(q->map->snapshots_landed)) { in iris_get_query_result_resource()
Diris_screen.h47 #define READ_ONCE(x) (*(volatile __typeof__(x) *)&(x)) macro
Diris_batch.c235 unsigned index = READ_ONCE(bo->index); in find_validation_entry()
/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c102 *(uint64_t *)addr = READ_ONCE(iteration); in guest_code()
108 addr += (READ_ONCE(random_array[i]) % guest_num_pages) in guest_code()
111 *(uint64_t *)addr = READ_ONCE(iteration); in guest_code()
161 while (!READ_ONCE(host_quit)) { in vcpu_worker()
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dbarriers.h38 #define READ_ONCE(x) (*(volatile typeof(x) *) &(x)) macro
/external/igt-gpu-tools/tests/i915/
Dgem_exec_capture.c152 igt_assert(!READ_ONCE(*seqno)); in __capture1()
156 while (READ_ONCE(*seqno) != 0xc0ffee) in __capture1()
300 igt_assert(!READ_ONCE(*seqno)); in __captureN()
304 while (READ_ONCE(*seqno) != 0xc0ffee) in __captureN()
Dgem_mmap_gtt.c486 while (!READ_ONCE(control->done)) { in test_hang()
492 found[0] = READ_ONCE(gtt[0][x]); in test_hang()
493 found[1] = READ_ONCE(gtt[1][x]); in test_hang()
518 if (READ_ONCE(control->error)) in test_hang()
Dgem_exec_nop.c204 while (READ_ONCE(*state) != idx) in poll_ring()
329 while (READ_ONCE(*state) != idx) in poll_sequential()
Dgem_ctx_engines.c411 while (!READ_ONCE(map[idx])) in read_result()
Dgem_exec_schedule.c578 while (READ_ONCE(*sema) == 0) in semaphore_resolve()
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/
Ddscr.h39 #define READ_ONCE(x) (*(volatile typeof(x) *)&(x)) macro
Ddscr_default_test.c27 s1 = READ_ONCE(sequence); in do_test()
/external/igt-gpu-tools/lib/
Digt_dummyload.h86 return READ_ONCE(spin->poll[SPIN_POLL_START_IDX]); in igt_spin_has_started()
Digt_core.h1208 #define READ_ONCE(x) (*(volatile typeof(x) *)(&(x))) macro
/external/mesa3d/src/freedreno/drm/
Dmsm_priv.h142 #define READ_ONCE(x) (*(volatile __typeof__(x) *)&(x)) macro
Dmsm_ringbuffer_sp.c118 idx = READ_ONCE(msm_bo->idx); in msm_submit_append_bo()
Dmsm_ringbuffer.c141 idx = READ_ONCE(msm_bo->idx); in append_bo()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_batchbuffer.c178 #define READ_ONCE(x) (*(volatile __typeof__(x) *)&(x)) macro
185 unsigned index = READ_ONCE(bo->index); in add_exec_bo()
925 unsigned index = READ_ONCE(bo->index); in brw_batch_references()
/external/igt-gpu-tools/tests/
Dsw_sync.c477 if (READ_ONCE(*data->counter) != next_point) in test_sync_multi_consumer_thread()
/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c175 #define READ_ONCE(x) (*(volatile __typeof__(x) *)&(x)) macro
187 uint64_t target_bo_offset = READ_ONCE(unwrapped_target_bo->offset); in anv_reloc_list_add()
/external/igt-gpu-tools/benchmarks/
Dgem_wsim.c1921 return READ_ONCE(wrk->global_wrk->status_page[idx]); in read_status_page()
1923 return READ_ONCE(wrk->status_page[idx]); in read_status_page()

12