Searched refs:percpu_ref (Results 1 – 13 of 13) sorted by relevance
/linux-4.4.14/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 | backing-dev-defs.h | 122 struct percpu_ref refcnt; /* used only for !root wb's */
|
D | cgroup-defs.h | 111 struct percpu_ref refcnt;
|
D | genhd.h | 128 struct percpu_ref ref; 627 extern void __delete_partition(struct percpu_ref *);
|
D | blkdev.h | 459 struct percpu_ref q_usage_counter;
|
/linux-4.4.14/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.4.14/fs/ |
D | aio.c | 86 struct percpu_ref users; 89 struct percpu_ref reqs; 584 static void free_ioctx_reqs(struct percpu_ref *ref) in free_ioctx_reqs() 601 static void free_ioctx_users(struct percpu_ref *ref) in free_ioctx_users()
|
/linux-4.4.14/block/ |
D | partition-generic.c | 235 void __delete_partition(struct percpu_ref *ref) in __delete_partition()
|
D | blk-core.c | 675 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release()
|
/linux-4.4.14/drivers/target/ |
D | target_core_tpg.c | 498 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
|
/linux-4.4.14/include/target/ |
D | target_core_base.h | 740 struct percpu_ref lun_ref;
|
/linux-4.4.14/mm/ |
D | backing-dev.c | 501 static void cgwb_release(struct percpu_ref *refcnt) in cgwb_release()
|
/linux-4.4.14/kernel/ |
D | cgroup.c | 223 static void css_release(struct percpu_ref *ref); 4777 static void css_release(struct percpu_ref *ref) in css_release() 5069 static void css_killed_ref_fn(struct percpu_ref *ref) in css_killed_ref_fn()
|