Lines Matching defs:fbc
37 #define percpu_counter_init_many(fbc, value, gfp, nr_counters) \ argument
46 #define percpu_counter_init(fbc, value, gfp) \ argument
50 static inline void percpu_counter_destroy(struct percpu_counter *fbc) in percpu_counter_destroy()
64 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare()
69 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add()
75 percpu_counter_limited_add(struct percpu_counter *fbc, s64 limit, s64 amount) in percpu_counter_limited_add()
92 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_add_local()
97 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive()
103 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum()
108 static inline s64 percpu_counter_read(struct percpu_counter *fbc) in percpu_counter_read()
118 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive()
128 static inline bool percpu_counter_initialized(struct percpu_counter *fbc) in percpu_counter_initialized()
139 static inline int percpu_counter_init_many(struct percpu_counter *fbc, in percpu_counter_init_many()
151 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, in percpu_counter_init()
157 static inline void percpu_counter_destroy_many(struct percpu_counter *fbc, in percpu_counter_destroy_many()
162 static inline void percpu_counter_destroy(struct percpu_counter *fbc) in percpu_counter_destroy()
166 static inline void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set()
171 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare()
182 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare()
188 percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add()
198 percpu_counter_limited_add(struct percpu_counter *fbc, s64 limit, s64 amount) in percpu_counter_limited_add()
220 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_add_local()
226 percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch()
231 static inline s64 percpu_counter_read(struct percpu_counter *fbc) in percpu_counter_read()
240 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive()
245 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive()
250 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum()
255 static inline bool percpu_counter_initialized(struct percpu_counter *fbc) in percpu_counter_initialized()
260 static inline void percpu_counter_sync(struct percpu_counter *fbc) in percpu_counter_sync()
265 static inline void percpu_counter_inc(struct percpu_counter *fbc) in percpu_counter_inc()
270 static inline void percpu_counter_dec(struct percpu_counter *fbc) in percpu_counter_dec()
275 static inline void percpu_counter_sub(struct percpu_counter *fbc, s64 amount) in percpu_counter_sub()
281 percpu_counter_sub_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_sub_local()