Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/
A Dpercpu-refcount.c63 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init() function
106 EXPORT_SYMBOL_GPL(percpu_ref_init);
/linux-6.3-rc2/include/linux/
A Dpercpu-refcount.h121 int __must_check percpu_ref_init(struct percpu_ref *ref,
/linux-6.3-rc2/mm/
A Dmemremap.c351 error = percpu_ref_init(&pgmap->ref, dev_pagemap_percpu_release, 0, in memremap_pages()
A Dbacking-dev.c601 ret = percpu_ref_init(&wb->refcnt, cgwb_release, 0, gfp); in cgwb_create()
A Dswapfile.c2716 if (percpu_ref_init(&p->users, swap_users_ref_free, in alloc_swap_info()
A Dmemcontrol.c313 ret = percpu_ref_init(&objcg->refcnt, obj_cgroup_release, 0, in obj_cgroup_alloc()
/linux-6.3-rc2/tools/testing/nvdimm/test/
A Diomap.c126 error = percpu_ref_init(&pgmap->ref, dev_pagemap_percpu_release, 0, in __wrap_devm_memremap_pages()
/linux-6.3-rc2/drivers/target/
A Dtarget_core_tpg.c576 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 0, in core_tpg_add_lun()
A Dtarget_core_transport.c244 return percpu_ref_init(&se_sess->cmd_count, in transport_init_session()
/linux-6.3-rc2/drivers/nvme/target/
A Dcore.c586 ret = percpu_ref_init(&ns->ref, nvmet_destroy_namespace, in nvmet_ns_enable()
830 ret = percpu_ref_init(&sq->ref, nvmet_sq_free, 0, GFP_KERNEL); in nvmet_sq_init()
/linux-6.3-rc2/block/
A Dblk-core.c438 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue()
A Dblk-cgroup.c262 if (percpu_ref_init(&blkg->refcnt, blkg_release, 0, gfp_mask)) in blkg_alloc()
/linux-6.3-rc2/drivers/infiniband/sw/rdmavt/
A Dmr.c110 if (percpu_ref_init(&mr->refcount, &__rvt_mregion_complete, in rvt_init_mregion()
/linux-6.3-rc2/kernel/bpf/
A Dtrampoline.c396 err = percpu_ref_init(&im->pcref, __bpf_tramp_image_release, 0, GFP_KERNEL); in bpf_tramp_image_alloc()
A Dcgroup.c471 ret = percpu_ref_init(&cgrp->bpf.refcnt, cgroup_bpf_release_fn, 0, in cgroup_bpf_inherit()
/linux-6.3-rc2/fs/
A Daio.c780 if (percpu_ref_init(&ctx->users, free_ioctx_users, 0, GFP_KERNEL)) in ioctx_alloc()
783 if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs, 0, GFP_KERNEL)) in ioctx_alloc()
/linux-6.3-rc2/io_uring/
A Drsrc.c272 if (percpu_ref_init(&ref_node->refs, io_rsrc_node_ref_zero, in io_rsrc_node_alloc()
A Dio_uring.c303 if (percpu_ref_init(&ctx->refs, io_ring_ctx_ref_free, in io_ring_ctx_alloc()
/linux-6.3-rc2/drivers/dma/idxd/
A Ddevice.c417 rc = percpu_ref_init(&wq->wq_active, idxd_wq_ref_release, in idxd_wq_init_percpu_ref()
/linux-6.3-rc2/kernel/cgroup/
A Dcgroup.c2056 ret = percpu_ref_init(&root_cgrp->self.refcnt, css_release, in cgroup_setup_root()
5539 err = percpu_ref_init(&css->refcnt, css_release, 0, GFP_KERNEL); in css_create()
5586 ret = percpu_ref_init(&cgrp->self.refcnt, css_release, 0, GFP_KERNEL); in cgroup_create()
/linux-6.3-rc2/drivers/infiniband/ulp/rtrs/
A Drtrs-srv.c149 ret = percpu_ref_init(&srv_path->ids_inflight_ref, in rtrs_srv_alloc_ops_ids()
/linux-6.3-rc2/drivers/md/
A Dmd.c5579 if (percpu_ref_init(&mddev->writes_pending, no_op, in mddev_init_writes_pending()
5846 err = percpu_ref_init(&mddev->active_io, active_io_release, in md_run()

Completed in 111 milliseconds