Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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 Dmemremap.h112 struct percpu_ref *ref;
113 struct percpu_ref internal_ref;
H A Dbacking-dev-defs.h152 struct percpu_ref refcnt; /* used only for !root wb's */
H A Dgenhd.h67 struct percpu_ref ref;
H A Dcgroup-defs.h147 struct percpu_ref refcnt;
H A Dblk-cgroup.h119 struct percpu_ref refcnt;
H A Dbpf-cgroup.h100 struct percpu_ref refcnt;
H A Dmemcontrol.h196 struct percpu_ref refcnt;
/OK3568_Linux_fs/kernel/lib/
H A Dpercpu-refcount.c41 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr()
62 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init()
107 static void __percpu_ref_exit(struct percpu_ref *ref) in __percpu_ref_exit()
129 void percpu_ref_exit(struct percpu_ref *ref) in percpu_ref_exit()
153 struct percpu_ref *ref = data->ref; in percpu_ref_call_confirm_rcu()
170 struct percpu_ref *ref = data->ref; in percpu_ref_switch_to_atomic_rcu()
203 static void percpu_ref_noop_confirm_switch(struct percpu_ref *ref) in percpu_ref_noop_confirm_switch()
207 static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, in __percpu_ref_switch_to_atomic()
230 static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref) in __percpu_ref_switch_to_percpu()
258 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
[all …]
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_xcopy.h30 struct percpu_ref *remote_lun_ref;
H A Dtarget_core_tpg.c435 static void core_tpg_lun_ref_release(struct percpu_ref *ref) in core_tpg_lun_ref_release()
H A Dtarget_core_xcopy.c84 struct percpu_ref **_found_lun_ref) in target_xcopy_locate_se_dev_e4()
/OK3568_Linux_fs/kernel/include/rdma/
H A Drdmavt_mr.h44 struct percpu_ref refcount;
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dnvmet.h57 struct percpu_ref ref;
103 struct percpu_ref ref;
H A Dcore.c431 static void nvmet_destroy_namespace(struct percpu_ref *ref) in nvmet_destroy_namespace()
774 static void nvmet_confirm_sq(struct percpu_ref *ref) in nvmet_confirm_sq()
810 static void nvmet_sq_free(struct percpu_ref *ref) in nvmet_sq_free()
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dp2pdma.c716 struct percpu_ref *ref; in pci_alloc_p2pmem()
751 struct percpu_ref *ref; in pci_free_p2pmem()
/OK3568_Linux_fs/kernel/include/target/
H A Dtarget_core_base.h619 struct percpu_ref cmd_count;
751 struct percpu_ref lun_ref;
/OK3568_Linux_fs/kernel/fs/
H A Daio.c97 struct percpu_ref users;
100 struct percpu_ref reqs;
596 static void free_ioctx_reqs(struct percpu_ref *ref) in free_ioctx_reqs()
614 static void free_ioctx_users(struct percpu_ref *ref) in free_ioctx_users()
/OK3568_Linux_fs/kernel/tools/testing/nvdimm/test/
H A Diomap.c118 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
/OK3568_Linux_fs/kernel/mm/
H A Dmemremap.c192 static void dev_pagemap_percpu_release(struct percpu_ref *ref) in dev_pagemap_percpu_release()
H A Dbacking-dev.c403 static void cgwb_release(struct percpu_ref *refcnt) in cgwb_release()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dtrampoline.c194 static void __bpf_tramp_image_release(struct percpu_ref *pcref) in __bpf_tramp_image_release()
/OK3568_Linux_fs/kernel/drivers/md/
H A Dmd.h452 struct percpu_ref writes_pending;
/OK3568_Linux_fs/kernel/block/partitions/
H A Dcore.c303 static void hd_struct_free(struct percpu_ref *ref) in hd_struct_free()
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rdmavt/
H A Dmr.c127 static void __rvt_mregion_complete(struct percpu_ref *ref) in __rvt_mregion_complete()

12