Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A 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 …]
H A Dbpf-cgroup-defs.h74 struct percpu_ref refcnt;
H A Dmemremap.h129 struct percpu_ref ref;
H A Dbacking-dev-defs.h147 struct percpu_ref refcnt; /* used only for !root wb's */
H A Dcgroup-defs.h170 struct percpu_ref refcnt;
H A Dio_uring_types.h249 struct percpu_ref refs;
/linux/lib/
H A 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()
108 static void __percpu_ref_exit(struct percpu_ref *ref) in __percpu_ref_exit()
130 void percpu_ref_exit(struct percpu_ref *ref) in percpu_ref_exit()
154 struct percpu_ref *ref = data->ref; in percpu_ref_call_confirm_rcu()
171 struct percpu_ref *ref = data->ref; in percpu_ref_switch_to_atomic_rcu()
209 static void percpu_ref_noop_confirm_switch(struct percpu_ref *ref) in percpu_ref_noop_confirm_switch()
213 static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, in __percpu_ref_switch_to_atomic()
237 static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref) in __percpu_ref_switch_to_percpu()
265 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
[all …]
/linux/drivers/target/
H A Dtarget_core_xcopy.h30 struct percpu_ref *remote_lun_ref;
H A Dtarget_core_tpg.c436 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
H A Dtarget_core_xcopy.c72 struct percpu_ref **_found_lun_ref) in target_xcopy_locate_se_dev_e4()
/linux/fs/nfsd/
H A Dnetns.h138 struct percpu_ref nfsd_net_ref;
H A Dnfssvc.c221 static void nfsd_net_done(struct percpu_ref *ref) in nfsd_serv_try_get()
228 static void nfsd_net_free(struct percpu_ref *ref) in nfsd_serv_put()
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv.h83 struct percpu_ref ids_inflight_ref;
/linux/include/rdma/
H A Drdmavt_mr.h44 struct percpu_ref refcount;
/linux/fs/bcachefs/
H A Dbcachefs.h521 struct percpu_ref ref;
524 struct percpu_ref io_ref;
725 struct percpu_ref writes;
H A Dsuper.c305 static void bch2_writes_disabled(struct percpu_ref *writes) in bch2_writes_disabled()
1240 static void bch2_dev_ref_complete(struct percpu_ref *ref) in bch2_dev_ref_complete()
1248 static void bch2_dev_io_ref_complete(struct percpu_ref *ref) in bch2_dev_io_ref_complete()
/linux/drivers/nvme/target/
H A Dnvmet.h94 struct percpu_ref ref;
101 struct percpu_ref ref;
150 struct percpu_ref ref;
H A Dcore.c458 static void nvmet_destroy_namespace(struct percpu_ref *ref) in nvmet_destroy_namespace()
830 static void nvmet_confirm_sq(struct percpu_ref *ref) in nvmet_confirm_sq()
960 static void nvmet_sq_free(struct percpu_ref *ref) in nvmet_sq_free()
H A Dpr.c436 static void nvmet_pr_confirm_ns_pc_ref(struct percpu_ref *ref) in nvmet_pr_confirm_ns_pc_ref()
1001 static void nvmet_pr_ctrl_ns_all_cmds_done(struct percpu_ref *ref) in nvmet_pr_ctrl_ns_all_cmds_done()
/linux/include/target/
H A Dtarget_core_base.h633 struct percpu_ref refcnt;
775 struct percpu_ref lun_ref;
/linux/mm/
H A Dzswap.c162 struct percpu_ref ref;
247 static void __zswap_pool_empty(struct percpu_ref *ref);
390 static void __zswap_pool_empty(struct percpu_ref *ref) in __zswap_pool_empty()
H A Dmemremap.c163 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
/linux/tools/testing/nvdimm/test/
H A Diomap.c109 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
/linux/drivers/dma/idxd/
H A Didxd.h196 struct percpu_ref wq_active;
/linux/drivers/infiniband/sw/rdmavt/
H A Dmr.c85 static void __rvt_mregion_complete(struct percpu_ref *ref) in __rvt_mregion_complete()

12