Home
last modified time | relevance | path

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

12

/Linux-v5.15/include/linux/
Dpercpu-refcount.h59 struct percpu_ref;
60 typedef void (percpu_ref_func_t)(struct percpu_ref *);
102 struct percpu_ref *ref;
105 struct percpu_ref { struct
121 int __must_check percpu_ref_init(struct percpu_ref *ref,
124 void percpu_ref_exit(struct percpu_ref *ref);
125 void percpu_ref_switch_to_atomic(struct percpu_ref *ref,
127 void percpu_ref_switch_to_atomic_sync(struct percpu_ref *ref);
128 void percpu_ref_switch_to_percpu(struct percpu_ref *ref);
129 void percpu_ref_kill_and_confirm(struct percpu_ref *ref,
[all …]
Dmemremap.h112 struct percpu_ref *ref;
113 struct percpu_ref internal_ref;
Dbacking-dev-defs.h153 struct percpu_ref refcnt; /* used only for !root wb's */
Dcgroup-defs.h150 struct percpu_ref refcnt;
Dblk-cgroup.h121 struct percpu_ref refcnt;
Dswap.h247 struct percpu_ref users; /* indicate and keep swap device valid. */
Dbpf-cgroup.h151 struct percpu_ref refcnt;
/Linux-v5.15/lib/
Dpercpu-refcount.c42 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr()
63 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init()
107 static void __percpu_ref_exit(struct percpu_ref *ref) in __percpu_ref_exit()
129 void percpu_ref_exit(struct percpu_ref *ref) in percpu_ref_exit()
153 struct percpu_ref *ref = data->ref; in percpu_ref_call_confirm_rcu()
170 struct percpu_ref *ref = data->ref; in percpu_ref_switch_to_atomic_rcu()
208 static void percpu_ref_noop_confirm_switch(struct percpu_ref *ref) in percpu_ref_noop_confirm_switch()
212 static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, in __percpu_ref_switch_to_atomic()
235 static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref) in __percpu_ref_switch_to_percpu()
263 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
[all …]
/Linux-v5.15/drivers/target/
Dtarget_core_xcopy.h30 struct percpu_ref *remote_lun_ref;
Dtarget_core_tpg.c435 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
Dtarget_core_xcopy.c71 struct percpu_ref **_found_lun_ref) in target_xcopy_locate_se_dev_e4()
/Linux-v5.15/drivers/infiniband/ulp/rtrs/
Drtrs-srv.h82 struct percpu_ref ids_inflight_ref;
/Linux-v5.15/include/rdma/
Drdmavt_mr.h44 struct percpu_ref refcount;
/Linux-v5.15/drivers/nvme/target/
Dnvmet.h59 struct percpu_ref ref;
106 struct percpu_ref ref;
Dcore.c433 static void nvmet_destroy_namespace(struct percpu_ref *ref) in nvmet_destroy_namespace()
775 static void nvmet_confirm_sq(struct percpu_ref *ref) in nvmet_confirm_sq()
812 static void nvmet_sq_free(struct percpu_ref *ref) in nvmet_sq_free()
/Linux-v5.15/drivers/pci/
Dp2pdma.c696 struct percpu_ref *ref; in pci_alloc_p2pmem()
732 struct percpu_ref *ref; in pci_free_p2pmem()
/Linux-v5.15/include/target/
Dtarget_core_base.h628 struct percpu_ref cmd_count;
760 struct percpu_ref lun_ref;
/Linux-v5.15/fs/
Daio.c96 struct percpu_ref users;
99 struct percpu_ref reqs;
594 static void free_ioctx_reqs(struct percpu_ref *ref) in free_ioctx_reqs()
612 static void free_ioctx_users(struct percpu_ref *ref) in free_ioctx_users()
/Linux-v5.15/mm/
Dmemremap.c189 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
Dbacking-dev.c423 static void cgwb_release(struct percpu_ref *refcnt) in cgwb_release()
/Linux-v5.15/tools/testing/nvdimm/test/
Diomap.c118 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
/Linux-v5.15/drivers/dma/idxd/
Didxd.h167 struct percpu_ref wq_active;
/Linux-v5.15/kernel/bpf/
Dtrampoline.c223 static void __bpf_tramp_image_release(struct percpu_ref *pcref) in __bpf_tramp_image_release()
/Linux-v5.15/drivers/md/
Dmd.h452 struct percpu_ref writes_pending;
/Linux-v5.15/drivers/infiniband/sw/rdmavt/
Dmr.c85 static void __rvt_mregion_complete(struct percpu_ref *ref) in __rvt_mregion_complete()

12