Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/
Dpercpu-refcount.h59 struct percpu_ref;
60 typedef void (percpu_ref_func_t)(struct percpu_ref *);
88 struct percpu_ref { struct
101 int __must_check percpu_ref_init(struct percpu_ref *ref, argument
104 void percpu_ref_exit(struct percpu_ref *ref);
105 void percpu_ref_switch_to_atomic(struct percpu_ref *ref,
107 void percpu_ref_switch_to_atomic_sync(struct percpu_ref *ref);
108 void percpu_ref_switch_to_percpu(struct percpu_ref *ref);
109 void percpu_ref_kill_and_confirm(struct percpu_ref *ref,
111 void percpu_ref_reinit(struct percpu_ref *ref);
[all …]
Dmemremap.h120 struct percpu_ref *ref;
121 void (*kill)(struct percpu_ref *ref);
Dbacking-dev-defs.h153 struct percpu_ref refcnt; /* used only for !root wb's */
Dhmm.h492 struct percpu_ref ref;
Dgenhd.h131 struct percpu_ref ref;
612 extern void __delete_partition(struct percpu_ref *);
Dcgroup-defs.h127 struct percpu_ref refcnt;
Dblkdev.h664 struct percpu_ref q_usage_counter;
/linux-4.19.296/lib/
Dpercpu-refcount.c39 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr()
59 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init()
101 void percpu_ref_exit(struct percpu_ref *ref) in percpu_ref_exit()
116 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_call_confirm_rcu()
128 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_switch_to_atomic_rcu()
161 static void percpu_ref_noop_confirm_switch(struct percpu_ref *ref) in percpu_ref_noop_confirm_switch()
165 static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, in __percpu_ref_switch_to_atomic()
187 static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref) in __percpu_ref_switch_to_percpu()
212 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
251 void percpu_ref_switch_to_atomic(struct percpu_ref *ref, in percpu_ref_switch_to_atomic()
[all …]
/linux-4.19.296/include/rdma/
Drdmavt_mr.h86 struct percpu_ref refcount;
/linux-4.19.296/include/target/
Dtarget_core_base.h605 struct percpu_ref cmd_count;
738 struct percpu_ref lun_ref;
/linux-4.19.296/fs/
Daio.c91 struct percpu_ref users;
94 struct percpu_ref reqs;
597 static void free_ioctx_reqs(struct percpu_ref *ref) in free_ioctx_reqs()
615 static void free_ioctx_users(struct percpu_ref *ref) in free_ioctx_users()
/linux-4.19.296/block/
Dpartition-generic.c263 void __delete_partition(struct percpu_ref *ref) in __delete_partition()
Dblk-core.c973 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release()