Searched refs:percpu_ref (Results 1 – 24 of 24) sorted by relevance
/Linux-v4.19/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 | 119 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; 610 extern void __delete_partition(struct percpu_ref *);
|
D | cgroup-defs.h | 127 struct percpu_ref refcnt;
|
D | blkdev.h | 649 struct percpu_ref q_usage_counter;
|
/Linux-v4.19/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-v4.19/drivers/dax/ |
D | pmem.c | 23 struct percpu_ref ref; 28 static struct dax_pmem *to_dax_pmem(struct percpu_ref *ref) in to_dax_pmem() 33 static void dax_pmem_percpu_release(struct percpu_ref *ref) in dax_pmem_percpu_release() 43 struct percpu_ref *ref = data; in dax_pmem_percpu_exit() 53 struct percpu_ref *ref = data; in dax_pmem_percpu_kill()
|
/Linux-v4.19/drivers/nvme/target/ |
D | nvmet.h | 58 struct percpu_ref ref; 94 struct percpu_ref ref;
|
D | core.c | 350 static void nvmet_destroy_namespace(struct percpu_ref *ref) in nvmet_destroy_namespace() 548 static void nvmet_confirm_sq(struct percpu_ref *ref) in nvmet_confirm_sq() 575 static void nvmet_sq_free(struct percpu_ref *ref) in nvmet_sq_free()
|
/Linux-v4.19/include/rdma/ |
D | rdmavt_mr.h | 86 struct percpu_ref refcount;
|
/Linux-v4.19/mm/ |
D | hmm.c | 927 static void hmm_devmem_ref_release(struct percpu_ref *ref) in hmm_devmem_ref_release() 937 struct percpu_ref *ref = data; in hmm_devmem_ref_exit() 947 struct percpu_ref *ref = data; in hmm_devmem_ref_kill()
|
D | backing-dev.c | 512 static void cgwb_release(struct percpu_ref *refcnt) in cgwb_release()
|
/Linux-v4.19/fs/ |
D | aio.c | 90 struct percpu_ref users; 93 struct percpu_ref reqs; 580 static void free_ioctx_reqs(struct percpu_ref *ref) in free_ioctx_reqs() 598 static void free_ioctx_users(struct percpu_ref *ref) in free_ioctx_users()
|
/Linux-v4.19/drivers/md/ |
D | md.h | 434 struct percpu_ref writes_pending;
|
D | md.c | 5252 static void no_op(struct percpu_ref *r) {} in no_op()
|
/Linux-v4.19/drivers/target/ |
D | target_core_tpg.c | 451 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
|
D | target_core_transport.c | 2922 static void target_lun_confirm(struct percpu_ref *ref) in target_lun_confirm()
|
/Linux-v4.19/block/ |
D | partition-generic.c | 262 void __delete_partition(struct percpu_ref *ref) in __delete_partition()
|
D | blk-core.c | 969 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release()
|
/Linux-v4.19/include/target/ |
D | target_core_base.h | 737 struct percpu_ref lun_ref;
|
/Linux-v4.19/drivers/infiniband/sw/rdmavt/ |
D | mr.c | 126 static void __rvt_mregion_complete(struct percpu_ref *ref) in __rvt_mregion_complete()
|
/Linux-v4.19/kernel/cgroup/ |
D | cgroup.c | 219 static void css_release(struct percpu_ref *ref); 4681 static void css_release(struct percpu_ref *ref) in css_release() 5030 static void css_killed_ref_fn(struct percpu_ref *ref) in css_killed_ref_fn()
|