Lines Matching full:amount
29 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount,
40 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
41 void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch);
45 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument
47 __percpu_counter_add(fbc, amount, percpu_counter_batch); in percpu_counter_add()
92 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount) in percpu_counter_init() argument
94 fbc->count = amount; in percpu_counter_init()
102 static inline void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set() argument
104 fbc->count = amount; in percpu_counter_set()
118 percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument
121 fbc->count += amount; in percpu_counter_add()
126 __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch) in __percpu_counter_add() argument
128 percpu_counter_add(fbc, amount); in __percpu_counter_add()
172 static inline void percpu_counter_sub(struct percpu_counter *fbc, s64 amount) in percpu_counter_sub() argument
174 percpu_counter_add(fbc, -amount); in percpu_counter_sub()