Searched refs:percpu_ref (Results 1 – 13 of 13) sorted by relevance
/linux-4.19.296/include/linux/ |
D | percpu-refcount.h | 59 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 …]
|
D | memremap.h | 120 struct percpu_ref *ref; 121 void (*kill)(struct percpu_ref *ref);
|
D | backing-dev-defs.h | 153 struct percpu_ref refcnt; /* used only for !root wb's */
|
D | hmm.h | 492 struct percpu_ref ref;
|
D | genhd.h | 131 struct percpu_ref ref; 612 extern void __delete_partition(struct percpu_ref *);
|
D | cgroup-defs.h | 127 struct percpu_ref refcnt;
|
D | blkdev.h | 664 struct percpu_ref q_usage_counter;
|
/linux-4.19.296/lib/ |
D | percpu-refcount.c | 39 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/ |
D | rdmavt_mr.h | 86 struct percpu_ref refcount;
|
/linux-4.19.296/include/target/ |
D | target_core_base.h | 605 struct percpu_ref cmd_count; 738 struct percpu_ref lun_ref;
|
/linux-4.19.296/fs/ |
D | aio.c | 91 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/ |
D | partition-generic.c | 263 void __delete_partition(struct percpu_ref *ref) in __delete_partition()
|
D | blk-core.c | 973 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release()
|