Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/linux/
Dpercpu-refcount.h59 struct percpu_ref;
60 typedef void (percpu_ref_func_t)(struct percpu_ref *);
95 struct percpu_ref { struct
109 int __must_check percpu_ref_init(struct percpu_ref *ref, argument
112 void percpu_ref_exit(struct percpu_ref *ref);
113 void percpu_ref_switch_to_atomic(struct percpu_ref *ref,
115 void percpu_ref_switch_to_atomic_sync(struct percpu_ref *ref);
116 void percpu_ref_switch_to_percpu(struct percpu_ref *ref);
117 void percpu_ref_kill_and_confirm(struct percpu_ref *ref,
119 void percpu_ref_resurrect(struct percpu_ref *ref);
[all …]
Dmemremap.h110 struct percpu_ref *ref;
111 struct percpu_ref internal_ref;
Dbacking-dev-defs.h174 struct percpu_ref refcnt; /* used only for !root wb's */
Dgenhd.h132 struct percpu_ref ref;
632 extern void __delete_partition(struct percpu_ref *);
Dcgroup-defs.h141 struct percpu_ref refcnt;
Dbpf-cgroup.h78 struct percpu_ref refcnt;
Dblk-cgroup.h125 struct percpu_ref refcnt;
/Linux-v5.4/lib/
Dpercpu-refcount.c40 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr()
60 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init()
105 void percpu_ref_exit(struct percpu_ref *ref) in percpu_ref_exit()
120 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_call_confirm_rcu()
135 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_switch_to_atomic_rcu()
168 static void percpu_ref_noop_confirm_switch(struct percpu_ref *ref) in percpu_ref_noop_confirm_switch()
172 static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, in __percpu_ref_switch_to_atomic()
194 static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref) in __percpu_ref_switch_to_percpu()
222 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
261 void percpu_ref_switch_to_atomic(struct percpu_ref *ref, in percpu_ref_switch_to_atomic()
[all …]
/Linux-v5.4/include/rdma/
Drdmavt_mr.h86 struct percpu_ref refcount;
/Linux-v5.4/mm/
Dslab_common.c136 static void kmemcg_cache_shutdown(struct percpu_ref *percpu_ref);
745 static void kmemcg_cache_shutdown(struct percpu_ref *percpu_ref) in kmemcg_cache_shutdown() argument
747 struct kmem_cache *s = container_of(percpu_ref, struct kmem_cache, in kmemcg_cache_shutdown()
Dmemremap.c144 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
Dslab.h86 struct percpu_ref refcnt;
Dbacking-dev.c502 static void cgwb_release(struct percpu_ref *refcnt) in cgwb_release()
/Linux-v5.4/drivers/nvme/target/
Dnvmet.h54 struct percpu_ref ref;
98 struct percpu_ref ref;
Dcore.c412 static void nvmet_destroy_namespace(struct percpu_ref *ref) in nvmet_destroy_namespace()
746 static void nvmet_confirm_sq(struct percpu_ref *ref) in nvmet_confirm_sq()
773 static void nvmet_sq_free(struct percpu_ref *ref) in nvmet_sq_free()
/Linux-v5.4/drivers/pci/
Dp2pdma.c668 struct percpu_ref *ref; in pci_alloc_p2pmem()
703 struct percpu_ref *ref; in pci_free_p2pmem()
/Linux-v5.4/include/target/
Dtarget_core_base.h613 struct percpu_ref cmd_count;
745 struct percpu_ref lun_ref;
/Linux-v5.4/fs/
Daio.c98 struct percpu_ref users;
101 struct percpu_ref reqs;
595 static void free_ioctx_reqs(struct percpu_ref *ref) in free_ioctx_reqs()
613 static void free_ioctx_users(struct percpu_ref *ref) in free_ioctx_users()
/Linux-v5.4/tools/testing/nvdimm/test/
Diomap.c118 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
/Linux-v5.4/drivers/target/
Dtarget_core_tpg.c438 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
/Linux-v5.4/drivers/md/
Dmd.h440 struct percpu_ref writes_pending;
/Linux-v5.4/block/
Dpartition-generic.c259 void __delete_partition(struct percpu_ref *ref) in __delete_partition()
Dblk-core.c452 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release()
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dmr.c128 static void __rvt_mregion_complete(struct percpu_ref *ref) in __rvt_mregion_complete()
/Linux-v5.4/kernel/bpf/
Dcgroup.c77 static void cgroup_bpf_release_fn(struct percpu_ref *ref) in cgroup_bpf_release_fn()

12