| /src/include/ |
| atomic.h | 1 /* $NetBSD: atomic.h,v 1.1 2008/05/28 12:28:12 ad Exp $ */ 29 #include <sys/atomic.h>
|
| /src/external/cddl/osnet/dist/head/ |
| atomic.h | 32 #include <sys/atomic.h>
|
| /xsrc/external/mit/fontconfig/dist/src/ |
| fcatomic.c | 28 * Lock cache and configuration files for atomic update 85 FcAtomic *atomic = malloc (total_len); local 86 if (!atomic) 89 atomic->file = (FcChar8 *) (atomic + 1); 90 strcpy ((char *) atomic->file, (char *) file); 92 atomic->new = atomic->file + file_len + 1; 93 strcpy ((char *) atomic->new, (char *) file); 94 strcat ((char *) atomic->new, NEW_NAME) [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| atomic.h | 36 int atomic; member in struct:__anon7036 39 # define atomic_read(x) ((x)->atomic) 40 # define atomic_set(x, val) ((x)->atomic = (val)) 41 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1)) 42 # define atomic_dec_and_test(x) (__sync_fetch_and_add (&(x)->atomic, -1) == 1) 43 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v))) 44 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) 45 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv) 55 AO_t atomic; member in struct:__anon7037 58 # define atomic_read(x) AO_load_full(&(x)->atomic) 73 typedef struct { uint_t atomic; } atomic_t; member in struct:__anon7038 [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| atomic.h | 36 int atomic; member in struct:__anon7905 39 # define atomic_read(x) ((x)->atomic) 40 # define atomic_set(x, val) ((x)->atomic = (val)) 41 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1)) 42 # define atomic_dec_and_test(x) (__sync_fetch_and_add (&(x)->atomic, -1) == 1) 43 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v))) 44 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) 45 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv) 55 AO_t atomic; member in struct:__anon7906 58 # define atomic_read(x) AO_load_full(&(x)->atomic) 73 typedef struct { uint_t atomic; } atomic_t; member in struct:__anon7907 [all...] |
| /xsrc/external/mit/libdrm/dist/ |
| xf86atomic.h | 31 * Private definitions for atomic operations 42 int atomic; member in struct:__anon6304 45 # define atomic_read(x) ((x)->atomic) 46 # define atomic_set(x, val) ((x)->atomic = (val)) 47 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1)) 48 # define atomic_inc_return(x) (__sync_add_and_fetch (&(x)->atomic, 1)) 49 # define atomic_dec_and_test(x) (__sync_add_and_fetch (&(x)->atomic, -1) == 0) 50 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v))) 51 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) 52 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv 63 AO_t atomic; member in struct:__anon6305 88 typedef struct { volatile LIBDRM_ATOMIC_TYPE atomic; } atomic_t; member in struct:__anon6306 [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| BuryPointer.cpp | 11 #include <atomic> 23 static std::atomic<unsigned> GraveYardSize;
|
| /src/sys/external/bsd/drm2/include/linux/ |
| atomic.h | 1 /* $NetBSD: atomic.h,v 1.42 2021/12/19 12:21:30 riastradh Exp $ */ 35 #include <sys/atomic.h> 51 * atomic (u)int operations 58 struct atomic { struct 67 typedef struct atomic atomic_t; 70 atomic_read(const atomic_t *atomic) 73 return atomic->a_u.au_int; 77 atomic_set(atomic_t *atomic, int value) 80 atomic->a_u.au_int = value; 84 atomic_set_release(atomic_t *atomic, int value [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
| xray_trampoline_powerpc64.cc | 1 #include <atomic> 6 extern std::atomic<void (*)(int32_t, XRayEntryType)> XRayPatchedFunction;
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/ |
| ir3_a6xx.c | 36 * atomic instructions (used for both SSBO and image) use a new instruction 98 * SSBO atomic intrinsics 100 * All of the SSBO atomic memory operations read a value from memory, 108 * 1: The offset into the SSBO buffer of the variable that the atomic 110 * 2: The data parameter to the atomic function (i.e. the value to add 118 struct ir3_instruction *atomic, *ibo, *src0, *src1, *data, *dummy; local 158 atomic = ir3_ATOMIC_ADD_G(b, ibo, 0, src0, 0, src1, 0); 161 atomic = ir3_ATOMIC_MIN_G(b, ibo, 0, src0, 0, src1, 0); 165 atomic = ir3_ATOMIC_MIN_G(b, ibo, 0, src0, 0, src1, 0); 168 atomic = ir3_ATOMIC_MAX_G(b, ibo, 0, src0, 0, src1, 0) 240 struct ir3_instruction *atomic, *ibo, *src0, *src1, *dummy; local [all...] |
| ir3_a4xx.c | 110 * SSBO atomic intrinsics 112 * All of the SSBO atomic memory operations read a value from memory, 120 * 1: The offset into the SSBO buffer of the variable that the atomic 122 * 2: The data parameter to the atomic function (i.e. the value to add 130 struct ir3_instruction *atomic, *ssbo, *src0, *src1, *src2, *byte_offset, local 156 atomic = ir3_ATOMIC_ADD_G(b, ssbo, 0, src0, 0, src1, 0, src2, 0); 159 atomic = ir3_ATOMIC_MIN_G(b, ssbo, 0, src0, 0, src1, 0, src2, 0); 163 atomic = ir3_ATOMIC_MIN_G(b, ssbo, 0, src0, 0, src1, 0, src2, 0); 166 atomic = ir3_ATOMIC_MAX_G(b, ssbo, 0, src0, 0, src1, 0, src2, 0); 170 atomic = ir3_ATOMIC_MAX_G(b, ssbo, 0, src0, 0, src1, 0, src2, 0) 299 struct ir3_instruction *atomic, *image, *src0, *src1, *src2; local [all...] |
| /xsrc/external/mit/fontconfig/dist/meson-cc-tests/ |
| solaris-atomic-operations.c | 1 #include <atomic.h>
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| ir3_a6xx.c | 36 * atomic instructions (used for both SSBO and image) use a new instruction 93 * SSBO atomic intrinsics 95 * All of the SSBO atomic memory operations read a value from memory, 103 * 1: The offset into the SSBO buffer of the variable that the atomic 105 * 2: The data parameter to the atomic function (i.e. the value to add 113 struct ir3_instruction *atomic, *ibo, *src0, *src1, *data, *dummy; local 147 atomic = ir3_ATOMIC_ADD_G(b, ibo, 0, src0, 0, src1, 0); 150 atomic = ir3_ATOMIC_MIN_G(b, ibo, 0, src0, 0, src1, 0); 154 atomic = ir3_ATOMIC_MIN_G(b, ibo, 0, src0, 0, src1, 0); 157 atomic = ir3_ATOMIC_MAX_G(b, ibo, 0, src0, 0, src1, 0) 258 struct ir3_instruction *atomic, *ibo, *src0, *src1, *dummy; local [all...] |
| ir3_a4xx.c | 99 * SSBO atomic intrinsics 101 * All of the SSBO atomic memory operations read a value from memory, 109 * 1: The byte offset into the SSBO buffer of the variable that the atomic 111 * 2: The data parameter to the atomic function (i.e. the value to add 124 struct ir3_instruction *atomic; local 138 atomic = ir3_ATOMIC_ADD_G(b, ssbo, 0, data, 0, src3, 0, byte_offset, 0); 141 atomic = ir3_ATOMIC_MIN_G(b, ssbo, 0, data, 0, src3, 0, byte_offset, 0); 145 atomic = ir3_ATOMIC_MIN_G(b, ssbo, 0, data, 0, src3, 0, byte_offset, 0); 148 atomic = ir3_ATOMIC_MAX_G(b, ssbo, 0, data, 0, src3, 0, byte_offset, 0); 152 atomic = ir3_ATOMIC_MAX_G(b, ssbo, 0, data, 0, src3, 0, byte_offset, 0) 299 struct ir3_instruction *atomic, *src0, *src1, *src2; local [all...] |
| /xsrc/external/mit/fontconfig/dist/doc/ |
| fcatomic.fncs | 38 @TYPE1@ FcAtomic * @ARG1@ atomic 41 Attempts to lock the file referenced by <parameter>atomic</parameter>. 48 @TYPE1@ FcAtomic * @ARG1@ atomic 52 by <parameter>atomic</parameter>. 57 @TYPE1@ FcAtomic * @ARG1@ atomic 60 Returns the file referenced by <parameter>atomic</parameter>. 65 @TYPE1@ FcAtomic * @ARG1@ atomic 68 Replaces the original file referenced by <parameter>atomic</parameter> with 75 @TYPE1@ FcAtomic * @ARG1@ atomic 83 @TYPE1@ FcAtomic * @ARG1@ atomic [all...] |
| /src/common/lib/libc/arch/i386/atomic/ |
| Makefile.inc | 9 atomic_or_64_nv_cas.c atomic_swap_64_cas.c atomic.S \
|
| /src/common/lib/libc/atomic/ |
| atomic_and_16_cas.c | 34 #include <sys/atomic.h>
|
| atomic_and_8_cas.c | 34 #include <sys/atomic.h>
|
| atomic_dec_32_add.c | 34 #include <sys/atomic.h>
|
| atomic_dec_32_nv_add.c | 34 #include <sys/atomic.h>
|
| atomic_dec_64_add.c | 34 #include <sys/atomic.h>
|
| atomic_dec_64_nv_add.c | 34 #include <sys/atomic.h>
|
| atomic_inc_32_add.c | 34 #include <sys/atomic.h>
|
| atomic_inc_32_nv_add.c | 34 #include <sys/atomic.h>
|
| atomic_inc_64_add.c | 34 #include <sys/atomic.h>
|