/linux-6.3-rc2/lib/ |
A 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.3-rc2/include/linux/ |
A D | percpu-refcount.h | 121 int __must_check percpu_ref_init(struct percpu_ref *ref,
|
/linux-6.3-rc2/mm/ |
A D | memremap.c | 351 error = percpu_ref_init(&pgmap->ref, dev_pagemap_percpu_release, 0, in memremap_pages()
|
A D | backing-dev.c | 601 ret = percpu_ref_init(&wb->refcnt, cgwb_release, 0, gfp); in cgwb_create()
|
A D | swapfile.c | 2716 if (percpu_ref_init(&p->users, swap_users_ref_free, in alloc_swap_info()
|
A D | memcontrol.c | 313 ret = percpu_ref_init(&objcg->refcnt, obj_cgroup_release, 0, in obj_cgroup_alloc()
|
/linux-6.3-rc2/tools/testing/nvdimm/test/ |
A D | iomap.c | 126 error = percpu_ref_init(&pgmap->ref, dev_pagemap_percpu_release, 0, in __wrap_devm_memremap_pages()
|
/linux-6.3-rc2/drivers/target/ |
A D | target_core_tpg.c | 576 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 0, in core_tpg_add_lun()
|
A D | target_core_transport.c | 244 return percpu_ref_init(&se_sess->cmd_count, in transport_init_session()
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | core.c | 586 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 D | blk-core.c | 438 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue()
|
A D | blk-cgroup.c | 262 if (percpu_ref_init(&blkg->refcnt, blkg_release, 0, gfp_mask)) in blkg_alloc()
|
/linux-6.3-rc2/drivers/infiniband/sw/rdmavt/ |
A D | mr.c | 110 if (percpu_ref_init(&mr->refcount, &__rvt_mregion_complete, in rvt_init_mregion()
|
/linux-6.3-rc2/kernel/bpf/ |
A D | trampoline.c | 396 err = percpu_ref_init(&im->pcref, __bpf_tramp_image_release, 0, GFP_KERNEL); in bpf_tramp_image_alloc()
|
A D | cgroup.c | 471 ret = percpu_ref_init(&cgrp->bpf.refcnt, cgroup_bpf_release_fn, 0, in cgroup_bpf_inherit()
|
/linux-6.3-rc2/fs/ |
A D | aio.c | 780 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 D | rsrc.c | 272 if (percpu_ref_init(&ref_node->refs, io_rsrc_node_ref_zero, in io_rsrc_node_alloc()
|
A D | io_uring.c | 303 if (percpu_ref_init(&ctx->refs, io_ring_ctx_ref_free, in io_ring_ctx_alloc()
|
/linux-6.3-rc2/drivers/dma/idxd/ |
A D | device.c | 417 rc = percpu_ref_init(&wq->wq_active, idxd_wq_ref_release, in idxd_wq_init_percpu_ref()
|
/linux-6.3-rc2/kernel/cgroup/ |
A D | cgroup.c | 2056 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 D | rtrs-srv.c | 149 ret = percpu_ref_init(&srv_path->ids_inflight_ref, in rtrs_srv_alloc_ops_ids()
|
/linux-6.3-rc2/drivers/md/ |
A D | md.c | 5579 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()
|