Home
last modified time | relevance | path

Searched refs:percpu_ref_init (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/kernel/lib/
H A Dpercpu-refcount.c62 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init() function
105 EXPORT_SYMBOL_GPL(percpu_ref_init);
/OK3568_Linux_fs/kernel/include/linux/
H A Dpercpu-refcount.h121 int __must_check percpu_ref_init(struct percpu_ref *ref,
/OK3568_Linux_fs/kernel/tools/testing/nvdimm/test/
H A Diomap.c140 error = percpu_ref_init(&pgmap->internal_ref, in __wrap_devm_memremap_pages()
/OK3568_Linux_fs/kernel/mm/
H A Dmemremap.c368 error = percpu_ref_init(&pgmap->internal_ref, in memremap_pages()
H A Dbacking-dev.c466 ret = percpu_ref_init(&wb->refcnt, cgwb_release, 0, gfp); in cgwb_create()
H A Dmemcontrol.c309 ret = percpu_ref_init(&objcg->refcnt, obj_cgroup_release, 0, in obj_cgroup_alloc()
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_tpg.c576 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 0, in core_tpg_add_lun()
H A Dtarget_core_transport.c234 return percpu_ref_init(&se_sess->cmd_count, in transport_init_session()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dtrampoline.c284 err = percpu_ref_init(&im->pcref, __bpf_tramp_image_release, 0, GFP_KERNEL); in bpf_tramp_image_alloc()
H A Dcgroup.c297 ret = percpu_ref_init(&cgrp->bpf.refcnt, cgroup_bpf_release_fn, 0, in cgroup_bpf_inherit()
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dcore.c579 ret = percpu_ref_init(&ns->ref, nvmet_destroy_namespace, in nvmet_ns_enable()
821 ret = percpu_ref_init(&sq->ref, nvmet_sq_free, 0, GFP_KERNEL); in nvmet_sq_init()
/OK3568_Linux_fs/kernel/block/partitions/
H A Dcore.c318 if (percpu_ref_init(&part->ref, hd_struct_free, 0, GFP_KERNEL)) in hd_ref_init()
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64_hikey9601045 percpu_ref_init
H A Dabi_gki_aarch64_virtual_device887 percpu_ref_init
H A Dabi_gki_aarch64_galaxy2993 percpu_ref_init
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rdmavt/
H A Dmr.c152 if (percpu_ref_init(&mr->refcount, &__rvt_mregion_complete, in rvt_init_mregion()
/OK3568_Linux_fs/kernel/fs/
H A Daio.c751 if (percpu_ref_init(&ctx->users, free_ioctx_users, 0, GFP_KERNEL)) in ioctx_alloc()
754 if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs, 0, GFP_KERNEL)) in ioctx_alloc()
/OK3568_Linux_fs/kernel/block/
H A Dblk-core.c578 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue()
H A Dblk-cgroup.c162 if (percpu_ref_init(&blkg->refcnt, blkg_release, 0, gfp_mask)) in blkg_alloc()
/OK3568_Linux_fs/kernel/kernel/cgroup/
H A Dcgroup.c1986 ret = percpu_ref_init(&root_cgrp->self.refcnt, css_release, in cgroup_setup_root()
5319 err = percpu_ref_init(&css->refcnt, css_release, 0, GFP_KERNEL); in css_create()
5376 ret = percpu_ref_init(&cgrp->self.refcnt, css_release, 0, GFP_KERNEL); in cgroup_create()
/OK3568_Linux_fs/kernel/io_uring/
H A Dio_uring.c1337 if (percpu_ref_init(&ctx->refs, io_ring_ctx_ref_free, in io_ring_ctx_alloc()
7614 if (percpu_ref_init(&ref_node->refs, io_rsrc_node_ref_zero, in io_rsrc_node_alloc()
/OK3568_Linux_fs/kernel/drivers/md/
H A Dmd.c5644 if (percpu_ref_init(&mddev->writes_pending, no_op, in mddev_init_writes_pending()