Lines Matching refs:s64
24 s64 count;
33 int __percpu_counter_init_many(struct percpu_counter *fbc, s64 amount,
55 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
56 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount,
58 s64 __percpu_counter_sum(struct percpu_counter *fbc);
59 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch);
62 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare()
67 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add()
83 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_add_local()
88 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive()
90 s64 ret = __percpu_counter_sum(fbc); in percpu_counter_sum_positive()
94 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum()
99 static inline s64 percpu_counter_read(struct percpu_counter *fbc) in percpu_counter_read()
109 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive()
112 s64 ret = READ_ONCE(fbc->count); in percpu_counter_read_positive()
127 s64 count;
131 s64 amount, gfp_t gfp, in percpu_counter_init_many()
142 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, in percpu_counter_init()
157 static inline void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set()
162 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare()
173 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare()
179 percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add()
190 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_add_local()
196 percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch()
201 static inline s64 percpu_counter_read(struct percpu_counter *fbc) in percpu_counter_read()
210 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive()
215 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive()
220 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum()
245 static inline void percpu_counter_sub(struct percpu_counter *fbc, s64 amount) in percpu_counter_sub()
251 percpu_counter_sub_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_sub_local()