Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dpercpu-refcount.c62 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init() function
104 EXPORT_SYMBOL_GPL(percpu_ref_init);
/kernel/linux/linux-5.10/include/linux/
Dpercpu-refcount.h121 int __must_check percpu_ref_init(struct percpu_ref *ref,
/kernel/linux/linux-5.10/mm/
Dmemremap.c367 error = percpu_ref_init(&pgmap->internal_ref, in memremap_pages()
Dbacking-dev.c466 ret = percpu_ref_init(&wb->refcnt, cgwb_release, 0, gfp); in cgwb_create()
Dmemcontrol.c309 ret = percpu_ref_init(&objcg->refcnt, obj_cgroup_release, 0, in obj_cgroup_alloc()
/kernel/linux/linux-5.10/tools/testing/nvdimm/test/
Diomap.c140 error = percpu_ref_init(&pgmap->internal_ref, in __wrap_devm_memremap_pages()
/kernel/linux/linux-5.10/kernel/bpf/
Dtrampoline.c281 err = percpu_ref_init(&im->pcref, __bpf_tramp_image_release, 0, GFP_KERNEL); in bpf_tramp_image_alloc()
Dcgroup.c297 ret = percpu_ref_init(&cgrp->bpf.refcnt, cgroup_bpf_release_fn, 0, in cgroup_bpf_inherit()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_tpg.c576 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 0, in core_tpg_add_lun()
Dtarget_core_transport.c234 return percpu_ref_init(&se_sess->cmd_count, in transport_init_session()
/kernel/linux/linux-5.10/block/partitions/
Dcore.c318 if (percpu_ref_init(&part->ref, hd_struct_free, 0, GFP_KERNEL)) in hd_ref_init()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dcore.c579 ret = percpu_ref_init(&ns->ref, nvmet_destroy_namespace, in nvmet_ns_enable()
819 ret = percpu_ref_init(&sq->ref, nvmet_sq_free, 0, GFP_KERNEL); in nvmet_sq_init()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmr.c152 if (percpu_ref_init(&mr->refcount, &__rvt_mregion_complete, in rvt_init_mregion()
/kernel/linux/linux-5.10/fs/
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()
Dio_uring.c1224 if (percpu_ref_init(&ctx->refs, io_ring_ctx_ref_free, in io_ring_ctx_alloc()
7541 if (percpu_ref_init(&ref_node->refs, io_file_data_ref_zero, in alloc_fixed_file_ref_node()
7592 if (percpu_ref_init(&file_data->refs, io_file_ref_kill, in io_sqe_files_register()
/kernel/linux/linux-5.10/block/
Dblk-core.c572 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue()
Dblk-cgroup.c161 if (percpu_ref_init(&blkg->refcnt, blkg_release, 0, gfp_mask)) in blkg_alloc()
/kernel/linux/linux-5.10/kernel/cgroup/
Dcgroup.c1961 ret = percpu_ref_init(&root_cgrp->self.refcnt, css_release, in cgroup_setup_root()
5192 err = percpu_ref_init(&css->refcnt, css_release, 0, GFP_KERNEL); in css_create()
5249 ret = percpu_ref_init(&cgrp->self.refcnt, css_release, 0, GFP_KERNEL); in cgroup_create()
/kernel/linux/linux-5.10/drivers/md/
Dmd.c5630 if (percpu_ref_init(&mddev->writes_pending, no_op, in mddev_init_writes_pending()