Home
last modified time | relevance | path

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

/Linux-v4.19/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.h119 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;
610 extern void __delete_partition(struct percpu_ref *);
Dcgroup-defs.h127 struct percpu_ref refcnt;
Dblkdev.h649 struct percpu_ref q_usage_counter;
/Linux-v4.19/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-v4.19/drivers/dax/
Dpmem.c23 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/
Dnvmet.h58 struct percpu_ref ref;
94 struct percpu_ref ref;
Dcore.c350 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/
Drdmavt_mr.h86 struct percpu_ref refcount;
/Linux-v4.19/mm/
Dhmm.c927 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()
Dbacking-dev.c512 static void cgwb_release(struct percpu_ref *refcnt) in cgwb_release()
/Linux-v4.19/fs/
Daio.c90 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/
Dmd.h434 struct percpu_ref writes_pending;
Dmd.c5252 static void no_op(struct percpu_ref *r) {} in no_op()
/Linux-v4.19/drivers/target/
Dtarget_core_tpg.c451 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
Dtarget_core_transport.c2922 static void target_lun_confirm(struct percpu_ref *ref) in target_lun_confirm()
/Linux-v4.19/block/
Dpartition-generic.c262 void __delete_partition(struct percpu_ref *ref) in __delete_partition()
Dblk-core.c969 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release()
/Linux-v4.19/include/target/
Dtarget_core_base.h737 struct percpu_ref lun_ref;
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dmr.c126 static void __rvt_mregion_complete(struct percpu_ref *ref) in __rvt_mregion_complete()
/Linux-v4.19/kernel/cgroup/
Dcgroup.c219 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()