Home
last modified time | relevance | path

Searched refs:READ_ONCE (Results 1 - 18 of 18) sorted by relevance

/third_party/libbpf/include/linux/
H A Dcompiler.h9 #define READ_ONCE(x) (*(volatile typeof(x) *)&x) macro
28 typeof(*p) ___p = READ_ONCE(*p); \
64 typeof(*p) ___p = READ_ONCE(*p); \
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_pipe_control.c236 const uint64_t seqno = READ_ONCE(bo->last_seqnos[i]); in iris_emit_buffer_barrier_for()
271 const uint64_t seqno = READ_ONCE(bo->last_seqnos[i]); in iris_emit_buffer_barrier_for()
291 const uint64_t seqno = READ_ONCE(bo->last_seqnos[i]); in iris_emit_buffer_barrier_for()
H A Diris_fine_fence.h102 return !sq || (READ_ONCE(*sq->map) >= sq->seqno); in iris_fine_fence_signaled()
H A Diris_query.c595 if (!q->ready && READ_ONCE(q->map->snapshots_landed)) { in iris_check_query_no_flush()
633 while (!READ_ONCE(q->map->snapshots_landed)) { in iris_get_query_result()
640 assert(READ_ONCE(q->map->snapshots_landed)); in iris_get_query_result()
687 if (!q->ready && READ_ONCE(q->map->snapshots_landed)) { in iris_get_query_result_resource()
H A Diris_screen.h50 #define READ_ONCE(x) (*(volatile __typeof__(x) *)&(x)) macro
H A Diris_batch.c352 unsigned index = READ_ONCE(bo->index); in find_exec_index()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dcompiler.h46 #define READ_ONCE(x) ({ \ macro
H A Dlist.h328 return !READ_ONCE(h->first); in hlist_empty()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_fine_fence.h106 return !sq || (READ_ONCE(*sq->map) >= sq->seqno); in crocus_fine_fence_signaled()
H A Dcrocus_query.c645 if (!q->ready && READ_ONCE(q->map->snapshots_landed)) { in crocus_check_query_no_flush()
676 while (!READ_ONCE(q->map->snapshots_landed)) { in crocus_get_query_result()
682 assert(READ_ONCE(q->map->snapshots_landed)); in crocus_get_query_result()
739 if (!q->ready && READ_ONCE(q->map->snapshots_landed)) { in crocus_get_query_result_resource()
H A Dcrocus_screen.h50 #define READ_ONCE(x) (*(volatile __typeof__(x) *)&(x)) macro
H A Dcrocus_batch.c270 unsigned index = READ_ONCE(bo->index); in find_exec_index()
/third_party/mesa3d/src/freedreno/drm/
H A Dfreedreno_priv.h89 #define READ_ONCE(x) (*(volatile __typeof__(x) *)&(x)) macro
H A Dfreedreno_ringbuffer_sp.c68 idx = READ_ONCE(bo->idx); in fd_submit_append_bo()
/third_party/mesa3d/src/freedreno/drm/msm/
H A Dmsm_ringbuffer.c136 idx = READ_ONCE(bo->idx); in append_bo()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_batch_chain.c179 #define READ_ONCE(x) (*(volatile __typeof__(x) *)&(x)) macro
210 uint64_t target_bo_offset = READ_ONCE(unwrapped_target_bo->offset); in anv_reloc_list_add()
H A DgenX_cmd_buffer.c520 #define READ_ONCE(x) (*(volatile __typeof__(x) *)&(x)) macro
606 const uint64_t old_aux_entry = READ_ONCE(*aux_entry_map); in anv_image_init_aux_tt()
/third_party/libbpf/src/
H A Dlibbpf.c5387 if (READ_ONCE(feat->res) == FEAT_UNKNOWN) {
5399 return READ_ONCE(feat->res) == FEAT_SUPPORTED;
13447 tmp_cpus = READ_ONCE(cpus);

Completed in 41 milliseconds