Searched refs:counter (Results 1 – 9 of 9) sorted by relevance
/include/linux/ |
D | res_counter.h | 65 u64 res_counter_read_u64(struct res_counter *counter, int member); 67 ssize_t res_counter_read(struct res_counter *counter, int member, 76 int res_counter_write(struct res_counter *counter, int member, 94 void res_counter_init(struct res_counter *counter, struct res_counter *parent); 107 int __must_check res_counter_charge_locked(struct res_counter *counter, 109 int __must_check res_counter_charge(struct res_counter *counter, 122 void res_counter_uncharge_locked(struct res_counter *counter, unsigned long val); 123 void res_counter_uncharge(struct res_counter *counter, unsigned long val);
|
D | types.h | 198 volatile int counter; member 203 volatile long counter; member
|
/include/asm-mn10300/ |
D | atomic.h | 34 #define atomic_read(v) ((v)->counter) 44 #define atomic_set(v, i) (((v)->counter) = (i)) 62 temp = v->counter; in atomic_add_return() 64 v->counter = temp; in atomic_add_return() 84 temp = v->counter; in atomic_sub_return() 86 v->counter = temp; in atomic_sub_return() 145 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v))) 146 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
|
/include/asm-m32r/ |
D | local.h | 28 typedef struct { volatile int counter; } local_t; member 38 #define local_read(l) ((l)->counter) 47 #define local_set(l, i) (((l)->counter) = (i)) 69 : "r" (&l->counter), "r" (i) in local_add_return() 100 : "r" (&l->counter), "r" (i) in local_sub_return() 159 : "r" (&l->counter) in local_inc_return() 189 : "r" (&l->counter) in local_dec_return() 247 #define local_cmpxchg(l, o, n) (cmpxchg_local(&((l)->counter), (o), (n))) 248 #define local_xchg(v, new) (xchg_local(&((l)->counter), new)) 331 #define __local_inc(l) ((l)->a.counter++) [all …]
|
D | atomic.h | 29 #define atomic_read(v) ((v)->counter) 38 #define atomic_set(v,i) (((v)->counter) = (i)) 60 : "r" (&v->counter), "r" (i) in atomic_add_return() 91 : "r" (&v->counter), "r" (i) in atomic_sub_return() 150 : "r" (&v->counter) in atomic_inc_return() 180 : "r" (&v->counter) in atomic_dec_return() 238 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) 239 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
/include/asm-frv/ |
D | atomic.h | 39 #define atomic_read(v) ((v)->counter) 40 #define atomic_set(v, i) (((v)->counter) = (i)) 56 : "+U"(v->counter), "=&r"(val) in atomic_add_return() 77 : "+U"(v->counter), "=&r"(val) in atomic_sub_return() 177 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) 178 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
/include/sound/ |
D | soundfont.h | 39 int counter; member 49 int counter; member
|
/include/net/sctp/ |
D | sctp.h | 351 {.label= #name, .counter= &sctp_dbg_objcnt_## name}
|
D | structs.h | 1997 atomic_t *counter; member
|