Home
last modified time | relevance | path

Searched refs:atomic_t (Results 1 – 25 of 48) sorted by relevance

12

/external/kernel-headers/original/asm-generic/
Dmutex-xchg.h26 __mutex_fastpath_lock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *)) in __mutex_fastpath_lock() argument
45 __mutex_fastpath_lock_retval(atomic_t *count, fastcall int (*fail_fn)(atomic_t *)) in __mutex_fastpath_lock_retval() argument
68 __mutex_fastpath_unlock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *)) in __mutex_fastpath_unlock() argument
93 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) in __mutex_fastpath_trylock() argument
/external/kernel-headers/original/asm-x86/
Datomic_32.h18 typedef struct { int counter; } atomic_t; typedef
46 static __inline__ void atomic_add(int i, atomic_t *v) in atomic_add()
61 static __inline__ void atomic_sub(int i, atomic_t *v) in atomic_sub()
78 static __inline__ int atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test()
95 static __inline__ void atomic_inc(atomic_t *v) in atomic_inc()
108 static __inline__ void atomic_dec(atomic_t *v) in atomic_dec()
123 static __inline__ int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test()
142 static __inline__ int atomic_inc_and_test(atomic_t *v) in atomic_inc_and_test()
162 static __inline__ int atomic_add_negative(int i, atomic_t *v) in atomic_add_negative()
180 static __inline__ int atomic_add_return(int i, atomic_t *v) in atomic_add_return()
[all …]
Dspinlock_32.h189 atomic_t *count = (atomic_t *)lock; in __raw_read_trylock()
199 atomic_t *count = (atomic_t *)lock; in __raw_write_trylock()
Dhw_irq_32.h61 extern atomic_t irq_err_count;
62 extern atomic_t irq_mis_count;
Dsemaphore_32.h45 atomic_t count;
/external/kernel-headers/original/asm-arm/
Datomic.h16 typedef struct { volatile int counter; } atomic_t; typedef
33 static inline void atomic_set(atomic_t *v, int i) in atomic_set()
47 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return()
65 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return()
83 static inline int atomic_cmpxchg(atomic_t *ptr, int old, int new) in atomic_cmpxchg()
126 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return()
139 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return()
152 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg()
179 static inline int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless()
Dsemaphore.h16 atomic_t count;
/external/kernel-headers/original/linux/raid/
Dmd_k.h97 atomic_t nr_pending; /* number of pending requests.
101 atomic_t read_errors; /* number of consecutive read errors that
104 atomic_t corrected_errors; /* number of corrected read errors,
198 atomic_t active;
212 atomic_t recovery_active; /* blocks scheduled, but not written */
218 atomic_t pending_writes; /* number of active superblock writes */
225 atomic_t writes_pending;
228 atomic_t write_behind; /* outstanding async IO */
/external/kernel-headers/original/asm-mips/
Datomic.h23 typedef struct { volatile int counter; } atomic_t; typedef
51 static __inline__ void atomic_add(int i, atomic_t * v) in atomic_add()
96 static __inline__ void atomic_sub(int i, atomic_t * v) in atomic_sub()
137 static __inline__ int atomic_add_return(int i, atomic_t * v) in atomic_add_return()
189 static __inline__ int atomic_sub_return(int i, atomic_t * v) in atomic_sub_return()
249 static __inline__ int atomic_sub_if_positive(int i, atomic_t * v) in atomic_sub_if_positive()
322 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless()
Dhw_irq.h13 extern atomic_t irq_err_count;
/external/kernel-headers/original/linux/
Dsched.h311 atomic_t mm_users; /* How many users with user space? */
312 atomic_t mm_count; /* How many references to "struct mm_struct" (users count as 1) */
359 atomic_t count;
380 atomic_t count;
381 atomic_t live;
514 atomic_t __count; /* reference count */
515 atomic_t processes; /* How many processes does this user have? */
516 atomic_t files; /* How many open files does this user have? */
517 atomic_t sigpending; /* How many pending signals does this user have? */
519 atomic_t inotify_watches; /* How many inotify watches does this user have? */
[all …]
Dperf_event.h588 atomic_t refcount;
597 atomic_t poll; /* POLL_ for wakeups */
709 atomic_t mmap_count;
724 atomic_t event_limit;
767 atomic_t refcount;
909 extern atomic_t perf_swevent_enabled[PERF_COUNT_SW_MAX];
Dsysfs.h69 atomic_t s_count;
77 atomic_t s_event;
Dkref.h24 atomic_t refcount;
Dposix_acl.h41 atomic_t a_refcount;
Dblkdev.h41 atomic_t nr_queued; /* queued reads & sync writes */
42 atomic_t nr_dispatched; /* number of requests gone to the drivers */
90 atomic_t refcount;
313 atomic_t refcnt; /* map can be shared */
Dmutex.h49 atomic_t count;
Dmount.h45 atomic_t mnt_count;
Dbio.h109 atomic_t bi_cnt; /* pin count */
268 atomic_t cnt;
Dsem.h132 atomic_t refcnt;
/external/llvm/test/Transforms/InstCombine/
D2009-01-24-EmptyStruct.ll5 %struct.atomic_t = type { i32 }
9 %struct.mutex = type { %struct.atomic_t, %struct.rwlock_t, %struct.list_head }
/external/kernel-headers/original/linux/sunrpc/
Dauth.h40 atomic_t cr_count; /* ref count */
80 atomic_t au_count; /* Reference counter */
Dclnt.h39 atomic_t cl_count; /* Number of clones */
40 atomic_t cl_users; /* number of references */
Dauth_gss.h70 atomic_t count;
/external/linux-tools-perf/util/include/linux/added/
Dperf_event.h695 atomic_t refcount;
704 atomic_t poll; /* POLL_ for wakeups */
842 atomic_t mmap_count;
857 atomic_t event_limit;
913 atomic_t refcount;

12