Home
last modified time | relevance | path

Searched refs:percpu_ref (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/include/linux/
Dpercpu-refcount.h54 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 …]
Dbacking-dev-defs.h122 struct percpu_ref refcnt; /* used only for !root wb's */
Dcgroup-defs.h111 struct percpu_ref refcnt;
Dgenhd.h128 struct percpu_ref ref;
627 extern void __delete_partition(struct percpu_ref *);
Dblkdev.h459 struct percpu_ref q_usage_counter;
/linux-4.4.14/lib/
Dpercpu-refcount.c38 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/
Daio.c86 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/
Dpartition-generic.c235 void __delete_partition(struct percpu_ref *ref) in __delete_partition()
Dblk-core.c675 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release()
/linux-4.4.14/drivers/target/
Dtarget_core_tpg.c498 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
/linux-4.4.14/include/target/
Dtarget_core_base.h740 struct percpu_ref lun_ref;
/linux-4.4.14/mm/
Dbacking-dev.c501 static void cgwb_release(struct percpu_ref *refcnt) in cgwb_release()
/linux-4.4.14/kernel/
Dcgroup.c223 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()