Home
last modified time | relevance | path

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

/linux-6.1.9/lib/
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.1.9/include/linux/
Dpercpu-refcount.h121 int __must_check percpu_ref_init(struct percpu_ref *ref,
/linux-6.1.9/mm/
Dmemremap.c351 error = percpu_ref_init(&pgmap->ref, dev_pagemap_percpu_release, 0, in memremap_pages()
Dbacking-dev.c474 ret = percpu_ref_init(&wb->refcnt, cgwb_release, 0, gfp); in cgwb_create()
Dswapfile.c2709 if (percpu_ref_init(&p->users, swap_users_ref_free, in alloc_swap_info()
Dmemcontrol.c310 ret = percpu_ref_init(&objcg->refcnt, obj_cgroup_release, 0, in obj_cgroup_alloc()
/linux-6.1.9/tools/testing/nvdimm/test/
Diomap.c126 error = percpu_ref_init(&pgmap->ref, dev_pagemap_percpu_release, 0, in __wrap_devm_memremap_pages()
/linux-6.1.9/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.c244 return percpu_ref_init(&se_sess->cmd_count, in transport_init_session()
/linux-6.1.9/drivers/nvme/target/
Dcore.c584 ret = percpu_ref_init(&ns->ref, nvmet_destroy_namespace, in nvmet_ns_enable()
829 ret = percpu_ref_init(&sq->ref, nvmet_sq_free, 0, GFP_KERNEL); in nvmet_sq_init()
/linux-6.1.9/block/
Dblk-core.c423 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue()
Dblk-cgroup.c222 if (percpu_ref_init(&blkg->refcnt, blkg_release, 0, gfp_mask)) in blkg_alloc()
/linux-6.1.9/kernel/bpf/
Dtrampoline.c396 err = percpu_ref_init(&im->pcref, __bpf_tramp_image_release, 0, GFP_KERNEL); in bpf_tramp_image_alloc()
Dcgroup.c471 ret = percpu_ref_init(&cgrp->bpf.refcnt, cgroup_bpf_release_fn, 0, in cgroup_bpf_inherit()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dmr.c110 if (percpu_ref_init(&mr->refcount, &__rvt_mregion_complete, in rvt_init_mregion()
/linux-6.1.9/fs/
Daio.c776 if (percpu_ref_init(&ctx->users, free_ioctx_users, 0, GFP_KERNEL)) in ioctx_alloc()
779 if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs, 0, GFP_KERNEL)) in ioctx_alloc()
/linux-6.1.9/io_uring/
Drsrc.c257 if (percpu_ref_init(&ref_node->refs, io_rsrc_node_ref_zero, in io_rsrc_node_alloc()
Dio_uring.c302 if (percpu_ref_init(&ctx->refs, io_ring_ctx_ref_free, in io_ring_ctx_alloc()
/linux-6.1.9/drivers/dma/idxd/
Ddevice.c418 rc = percpu_ref_init(&wq->wq_active, idxd_wq_ref_release, in idxd_wq_init_percpu_ref()
/linux-6.1.9/kernel/cgroup/
Dcgroup.c2050 ret = percpu_ref_init(&root_cgrp->self.refcnt, css_release, in cgroup_setup_root()
5534 err = percpu_ref_init(&css->refcnt, css_release, 0, GFP_KERNEL); in css_create()
5581 ret = percpu_ref_init(&cgrp->self.refcnt, css_release, 0, GFP_KERNEL); in cgroup_create()
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c149 ret = percpu_ref_init(&srv_path->ids_inflight_ref, in rtrs_srv_alloc_ops_ids()
/linux-6.1.9/drivers/md/
Dmd.c5595 if (percpu_ref_init(&mddev->writes_pending, no_op, in mddev_init_writes_pending()