Searched refs:percpu_ref_init (Results 1 – 19 of 19) sorted by relevance
/kernel/linux/linux-5.10/lib/ |
D | percpu-refcount.c | 62 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/ |
D | percpu-refcount.h | 121 int __must_check percpu_ref_init(struct percpu_ref *ref,
|
/kernel/linux/linux-5.10/mm/ |
D | memremap.c | 367 error = percpu_ref_init(&pgmap->internal_ref, in memremap_pages()
|
D | backing-dev.c | 466 ret = percpu_ref_init(&wb->refcnt, cgwb_release, 0, gfp); in cgwb_create()
|
D | memcontrol.c | 309 ret = percpu_ref_init(&objcg->refcnt, obj_cgroup_release, 0, in obj_cgroup_alloc()
|
/kernel/linux/linux-5.10/tools/testing/nvdimm/test/ |
D | iomap.c | 140 error = percpu_ref_init(&pgmap->internal_ref, in __wrap_devm_memremap_pages()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | trampoline.c | 281 err = percpu_ref_init(&im->pcref, __bpf_tramp_image_release, 0, GFP_KERNEL); in bpf_tramp_image_alloc()
|
D | cgroup.c | 297 ret = percpu_ref_init(&cgrp->bpf.refcnt, cgroup_bpf_release_fn, 0, in cgroup_bpf_inherit()
|
/kernel/linux/linux-5.10/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 | 234 return percpu_ref_init(&se_sess->cmd_count, in transport_init_session()
|
/kernel/linux/linux-5.10/block/partitions/ |
D | core.c | 318 if (percpu_ref_init(&part->ref, hd_struct_free, 0, GFP_KERNEL)) in hd_ref_init()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | core.c | 579 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/ |
D | mr.c | 152 if (percpu_ref_init(&mr->refcount, &__rvt_mregion_complete, in rvt_init_mregion()
|
/kernel/linux/linux-5.10/fs/ |
D | aio.c | 751 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()
|
D | io_uring.c | 1224 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/ |
D | blk-core.c | 572 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue()
|
D | blk-cgroup.c | 161 if (percpu_ref_init(&blkg->refcnt, blkg_release, 0, gfp_mask)) in blkg_alloc()
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | cgroup.c | 1961 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/ |
D | md.c | 5630 if (percpu_ref_init(&mddev->writes_pending, no_op, in mddev_init_writes_pending()
|