Home
last modified time | relevance | path

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

12

/Linux-v6.6/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 …]
Dbpf-cgroup-defs.h69 struct percpu_ref refcnt;
Dmemremap.h128 struct percpu_ref ref;
Dbacking-dev-defs.h149 struct percpu_ref refcnt; /* used only for !root wb's */
Dcgroup-defs.h163 struct percpu_ref refcnt;
Dio_uring_types.h215 struct percpu_ref refs;
Dswap.h283 struct percpu_ref users; /* indicate and keep swap device valid. */
/Linux-v6.6/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()
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-v6.6/drivers/target/
Dtarget_core_xcopy.h30 struct percpu_ref *remote_lun_ref;
Dtarget_core_tpg.c436 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
/Linux-v6.6/drivers/pci/
Dp2pdma.c98 struct percpu_ref *ref; in p2pmem_alloc_mmap()
200 struct percpu_ref *ref; in p2pdma_page_free()
820 struct percpu_ref *ref; in pci_alloc_p2pmem()
856 struct percpu_ref *ref; in pci_free_p2pmem()
/Linux-v6.6/drivers/infiniband/ulp/rtrs/
Drtrs-srv.h83 struct percpu_ref ids_inflight_ref;
/Linux-v6.6/include/rdma/
Drdmavt_mr.h44 struct percpu_ref refcount;
/Linux-v6.6/net/smc/
Dsmc_core.h119 struct percpu_ref wr_tx_refs;
138 struct percpu_ref wr_reg_refs;
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-v6.6/drivers/md/
Dmd.h319 struct percpu_ref active_io;
478 struct percpu_ref writes_pending;
/Linux-v6.6/include/target/
Dtarget_core_base.h624 struct percpu_ref refcnt;
765 struct percpu_ref lun_ref;
/Linux-v6.6/drivers/nvme/target/
Dnvmet.h60 struct percpu_ref ref;
106 struct percpu_ref ref;
Dcore.c439 static void nvmet_destroy_namespace(struct percpu_ref *ref) in nvmet_destroy_namespace()
783 static void nvmet_confirm_sq(struct percpu_ref *ref) in nvmet_confirm_sq()
821 static void nvmet_sq_free(struct percpu_ref *ref) in nvmet_sq_free()
/Linux-v6.6/block/
Dblk-cgroup.h66 struct percpu_ref refcnt;
Dblk-core.c377 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release()
/Linux-v6.6/fs/
Daio.c96 struct percpu_ref users;
99 struct percpu_ref reqs;
625 static void free_ioctx_reqs(struct percpu_ref *ref) in free_ioctx_reqs()
643 static void free_ioctx_users(struct percpu_ref *ref) in free_ioctx_users()
/Linux-v6.6/tools/testing/nvdimm/test/
Diomap.c109 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
/Linux-v6.6/mm/
Dmemremap.c162 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
/Linux-v6.6/drivers/dma/idxd/
Didxd.h190 struct percpu_ref wq_active;

12