Searched defs:percpu_counter (Results 1 - 1 of 1) sorted by relevance

/include/linux/
H A Dpercpu_counter.h19 struct percpu_counter { struct
30 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp,
40 void percpu_counter_destroy(struct percpu_counter *fbc);
41 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
42 void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch);
43 s64 __percpu_counter_sum(struct percpu_counter *fbc);
44 int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs);
46 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount)
51 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc)
57 static inline s64 percpu_counter_sum(struct percpu_counter *fb
89 struct percpu_counter { struct
[all...]

Completed in 109 milliseconds