Searched refs:percpu_ref (Results 1 – 25 of 31) sorted by relevance
12
/Linux-v5.4/include/linux/ |
D | percpu-refcount.h | 59 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 …]
|
D | memremap.h | 110 struct percpu_ref *ref; 111 struct percpu_ref internal_ref;
|
D | backing-dev-defs.h | 174 struct percpu_ref refcnt; /* used only for !root wb's */
|
D | genhd.h | 132 struct percpu_ref ref; 632 extern void __delete_partition(struct percpu_ref *);
|
D | cgroup-defs.h | 141 struct percpu_ref refcnt;
|
D | bpf-cgroup.h | 78 struct percpu_ref refcnt;
|
D | blk-cgroup.h | 125 struct percpu_ref refcnt;
|
/Linux-v5.4/lib/ |
D | percpu-refcount.c | 40 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/ |
D | rdmavt_mr.h | 86 struct percpu_ref refcount;
|
/Linux-v5.4/mm/ |
D | slab_common.c | 136 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()
|
D | memremap.c | 144 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
|
D | slab.h | 86 struct percpu_ref refcnt;
|
D | backing-dev.c | 502 static void cgwb_release(struct percpu_ref *refcnt) in cgwb_release()
|
/Linux-v5.4/drivers/nvme/target/ |
D | nvmet.h | 54 struct percpu_ref ref; 98 struct percpu_ref ref;
|
D | core.c | 412 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/ |
D | p2pdma.c | 668 struct percpu_ref *ref; in pci_alloc_p2pmem() 703 struct percpu_ref *ref; in pci_free_p2pmem()
|
/Linux-v5.4/include/target/ |
D | target_core_base.h | 613 struct percpu_ref cmd_count; 745 struct percpu_ref lun_ref;
|
/Linux-v5.4/fs/ |
D | aio.c | 98 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/ |
D | iomap.c | 118 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
|
/Linux-v5.4/drivers/target/ |
D | target_core_tpg.c | 438 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
|
/Linux-v5.4/drivers/md/ |
D | md.h | 440 struct percpu_ref writes_pending;
|
/Linux-v5.4/block/ |
D | partition-generic.c | 259 void __delete_partition(struct percpu_ref *ref) in __delete_partition()
|
D | blk-core.c | 452 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release()
|
/Linux-v5.4/drivers/infiniband/sw/rdmavt/ |
D | mr.c | 128 static void __rvt_mregion_complete(struct percpu_ref *ref) in __rvt_mregion_complete()
|
/Linux-v5.4/kernel/bpf/ |
D | cgroup.c | 77 static void cgroup_bpf_release_fn(struct percpu_ref *ref) in cgroup_bpf_release_fn()
|
12