Lines Matching refs:percpu_ref
59 struct percpu_ref;
60 typedef void (percpu_ref_func_t)(struct percpu_ref *);
95 struct percpu_ref { struct
109 int __must_check percpu_ref_init(struct percpu_ref *ref, argument
112 void percpu_ref_exit(struct percpu_ref *ref);
113 void percpu_ref_switch_to_atomic(struct percpu_ref *ref,
115 void percpu_ref_switch_to_atomic_sync(struct percpu_ref *ref);
116 void percpu_ref_switch_to_percpu(struct percpu_ref *ref);
117 void percpu_ref_kill_and_confirm(struct percpu_ref *ref,
119 void percpu_ref_resurrect(struct percpu_ref *ref);
120 void percpu_ref_reinit(struct percpu_ref *ref);
134 static inline void percpu_ref_kill(struct percpu_ref *ref) in percpu_ref_kill()
145 static inline bool __ref_is_percpu(struct percpu_ref *ref, in __ref_is_percpu()
185 static inline void percpu_ref_get_many(struct percpu_ref *ref, unsigned long nr) in percpu_ref_get_many()
207 static inline void percpu_ref_get(struct percpu_ref *ref) in percpu_ref_get()
221 static inline bool percpu_ref_tryget(struct percpu_ref *ref) in percpu_ref_tryget()
255 static inline bool percpu_ref_tryget_live(struct percpu_ref *ref) in percpu_ref_tryget_live()
284 static inline void percpu_ref_put_many(struct percpu_ref *ref, unsigned long nr) in percpu_ref_put_many()
307 static inline void percpu_ref_put(struct percpu_ref *ref) in percpu_ref_put()
321 static inline bool percpu_ref_is_dying(struct percpu_ref *ref) in percpu_ref_is_dying()
334 static inline bool percpu_ref_is_zero(struct percpu_ref *ref) in percpu_ref_is_zero()