Home
last modified time | relevance | path

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

12

/linux-6.15/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,
129 void percpu_ref_kill_and_confirm(struct percpu_ref *ref,
131 void percpu_ref_resurrect(struct percpu_ref *ref);
132 void percpu_ref_reinit(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.h259 struct percpu_ref refs;
H A Dswap.h298 struct percpu_ref users; /* indicate and keep swap device valid. */
/linux-6.15/lib/
H A Dpercpu-refcount.c108 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()
265 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
306 void percpu_ref_switch_to_atomic(struct percpu_ref *ref, in percpu_ref_switch_to_atomic()
353 void percpu_ref_switch_to_percpu(struct percpu_ref *ref) in percpu_ref_switch_to_percpu()
383 void percpu_ref_kill_and_confirm(struct percpu_ref *ref, in percpu_ref_kill_and_confirm()
410 bool percpu_ref_is_zero(struct percpu_ref *ref) in percpu_ref_is_zero()
441 void percpu_ref_reinit(struct percpu_ref *ref) in percpu_ref_reinit()
[all …]
/linux-6.15/drivers/target/
H A Dtarget_core_xcopy.h30 struct percpu_ref *remote_lun_ref;
/linux-6.15/drivers/pci/
H A Dp2pdma.c98 struct percpu_ref *ref; in p2pmem_alloc_mmap()
209 struct percpu_ref *ref; in p2pdma_page_free()
829 struct percpu_ref *ref; in pci_alloc_p2pmem()
864 struct percpu_ref *ref; in pci_free_p2pmem()
/linux-6.15/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv.h83 struct percpu_ref ids_inflight_ref;
/linux-6.15/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_net_done()
228 static void nfsd_net_free(struct percpu_ref *ref) in nfsd_net_free()
/linux-6.15/include/rdma/
H A Drdmavt_mr.h44 struct percpu_ref refcount;
/linux-6.15/net/smc/
H A Dsmc_core.h121 struct percpu_ref wr_tx_refs;
144 struct percpu_ref wr_reg_refs;
H A Dsmc_wr.c851 static void smcr_wr_tx_refs_free(struct percpu_ref *ref) in smcr_wr_tx_refs_free()
858 static void smcr_wr_reg_refs_free(struct percpu_ref *ref) in smcr_wr_reg_refs_free()
/linux-6.15/fs/bcachefs/
H A Dbcachefs.h524 struct percpu_ref ref;
527 struct percpu_ref io_ref[2];
734 struct percpu_ref writes;
/linux-6.15/drivers/nvme/target/
H A Dnvmet.h94 struct percpu_ref ref;
101 struct percpu_ref ref;
150 struct percpu_ref ref;
/linux-6.15/drivers/md/
H A Dmd.h401 struct percpu_ref active_io;
562 struct percpu_ref writes_pending;
/linux-6.15/include/target/
H A Dtarget_core_base.h633 struct percpu_ref refcnt;
775 struct percpu_ref lun_ref;
/linux-6.15/block/
H A Dblk-cgroup.h67 struct percpu_ref refcnt;
/linux-6.15/mm/
H A Dzswap.c164 struct percpu_ref ref;
249 static void __zswap_pool_empty(struct percpu_ref *ref);
392 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-6.15/fs/
H A Daio.c96 struct percpu_ref users;
99 struct percpu_ref reqs;
629 static void free_ioctx_reqs(struct percpu_ref *ref) in free_ioctx_reqs()
647 static void free_ioctx_users(struct percpu_ref *ref) in free_ioctx_users()
/linux-6.15/tools/testing/nvdimm/test/
H A Diomap.c109 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()

12