Searched refs:percpu_ref (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/include/linux/ |
D | percpu-refcount.h | 54 struct percpu_ref; 55 typedef void (percpu_ref_func_t)(struct percpu_ref *); 83 struct percpu_ref { struct 96 int __must_check percpu_ref_init(struct percpu_ref *ref, argument 99 void percpu_ref_exit(struct percpu_ref *ref); 100 void percpu_ref_switch_to_atomic(struct percpu_ref *ref, 102 void percpu_ref_switch_to_percpu(struct percpu_ref *ref); 103 void percpu_ref_kill_and_confirm(struct percpu_ref *ref, 105 void percpu_ref_reinit(struct percpu_ref *ref); 117 static inline void percpu_ref_kill(struct percpu_ref *ref) in percpu_ref_kill() [all …]
|
D | cgroup-defs.h | 93 struct percpu_ref refcnt;
|
D | blkdev.h | 486 struct percpu_ref mq_usage_counter;
|
/linux-4.1.27/lib/ |
D | percpu-refcount.c | 38 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr() 58 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init() 99 void percpu_ref_exit(struct percpu_ref *ref) in percpu_ref_exit() 112 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_call_confirm_rcu() 124 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_switch_to_atomic_rcu() 157 static void percpu_ref_noop_confirm_switch(struct percpu_ref *ref) in percpu_ref_noop_confirm_switch() 161 static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, in __percpu_ref_switch_to_atomic() 219 void percpu_ref_switch_to_atomic(struct percpu_ref *ref, in percpu_ref_switch_to_atomic() 226 static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref) in __percpu_ref_switch_to_percpu() 271 void percpu_ref_switch_to_percpu(struct percpu_ref *ref) in percpu_ref_switch_to_percpu() [all …]
|
/linux-4.1.27/fs/ |
D | aio.c | 86 struct percpu_ref users; 89 struct percpu_ref reqs; 575 static void free_ioctx_reqs(struct percpu_ref *ref) in free_ioctx_reqs() 592 static void free_ioctx_users(struct percpu_ref *ref) in free_ioctx_users()
|
/linux-4.1.27/include/target/ |
D | target_core_base.h | 736 struct percpu_ref lun_ref;
|
/linux-4.1.27/drivers/target/ |
D | target_core_tpg.c | 643 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
|
/linux-4.1.27/kernel/ |
D | cgroup.c | 193 static void css_release(struct percpu_ref *ref); 4462 static void css_release(struct percpu_ref *ref) in css_release() 4760 static void css_killed_ref_fn(struct percpu_ref *ref) in css_killed_ref_fn()
|
/linux-4.1.27/block/ |
D | blk-mq.c | 105 static void blk_mq_usage_counter_release(struct percpu_ref *ref) in blk_mq_usage_counter_release()
|