/linux-6.1.9/lib/ |
D | percpu-refcount.c | 63 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/ |
D | percpu-refcount.h | 121 int __must_check percpu_ref_init(struct percpu_ref *ref,
|
/linux-6.1.9/mm/ |
D | memremap.c | 351 error = percpu_ref_init(&pgmap->ref, dev_pagemap_percpu_release, 0, in memremap_pages()
|
D | backing-dev.c | 474 ret = percpu_ref_init(&wb->refcnt, cgwb_release, 0, gfp); in cgwb_create()
|
D | swapfile.c | 2709 if (percpu_ref_init(&p->users, swap_users_ref_free, in alloc_swap_info()
|
D | memcontrol.c | 310 ret = percpu_ref_init(&objcg->refcnt, obj_cgroup_release, 0, in obj_cgroup_alloc()
|
/linux-6.1.9/tools/testing/nvdimm/test/ |
D | iomap.c | 126 error = percpu_ref_init(&pgmap->ref, dev_pagemap_percpu_release, 0, in __wrap_devm_memremap_pages()
|
/linux-6.1.9/drivers/target/ |
D | target_core_tpg.c | 576 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 0, in core_tpg_add_lun()
|
D | target_core_transport.c | 244 return percpu_ref_init(&se_sess->cmd_count, in transport_init_session()
|
/linux-6.1.9/drivers/nvme/target/ |
D | core.c | 584 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/ |
D | blk-core.c | 423 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue()
|
D | blk-cgroup.c | 222 if (percpu_ref_init(&blkg->refcnt, blkg_release, 0, gfp_mask)) in blkg_alloc()
|
/linux-6.1.9/kernel/bpf/ |
D | trampoline.c | 396 err = percpu_ref_init(&im->pcref, __bpf_tramp_image_release, 0, GFP_KERNEL); in bpf_tramp_image_alloc()
|
D | cgroup.c | 471 ret = percpu_ref_init(&cgrp->bpf.refcnt, cgroup_bpf_release_fn, 0, in cgroup_bpf_inherit()
|
/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | mr.c | 110 if (percpu_ref_init(&mr->refcount, &__rvt_mregion_complete, in rvt_init_mregion()
|
/linux-6.1.9/fs/ |
D | aio.c | 776 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/ |
D | rsrc.c | 257 if (percpu_ref_init(&ref_node->refs, io_rsrc_node_ref_zero, in io_rsrc_node_alloc()
|
D | io_uring.c | 302 if (percpu_ref_init(&ctx->refs, io_ring_ctx_ref_free, in io_ring_ctx_alloc()
|
/linux-6.1.9/drivers/dma/idxd/ |
D | device.c | 418 rc = percpu_ref_init(&wq->wq_active, idxd_wq_ref_release, in idxd_wq_init_percpu_ref()
|
/linux-6.1.9/kernel/cgroup/ |
D | cgroup.c | 2050 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/ |
D | rtrs-srv.c | 149 ret = percpu_ref_init(&srv_path->ids_inflight_ref, in rtrs_srv_alloc_ops_ids()
|
/linux-6.1.9/drivers/md/ |
D | md.c | 5595 if (percpu_ref_init(&mddev->writes_pending, no_op, in mddev_init_writes_pending()
|