Searched refs:percpu_ref_init (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/lib/ |
D | percpu-refcount.c | 58 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init() function 87 EXPORT_SYMBOL_GPL(percpu_ref_init);
|
/linux-4.4.14/include/linux/ |
D | percpu-refcount.h | 96 int __must_check percpu_ref_init(struct percpu_ref *ref,
|
D | genhd.h | 658 if (percpu_ref_init(&part->ref, __delete_partition, 0, in hd_ref_init()
|
/linux-4.4.14/drivers/target/ |
D | target_core_tpg.c | 649 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 0, in core_tpg_add_lun()
|
/linux-4.4.14/fs/ |
D | aio.c | 733 if (percpu_ref_init(&ctx->users, free_ioctx_users, 0, GFP_KERNEL)) in ioctx_alloc() 736 if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs, 0, GFP_KERNEL)) in ioctx_alloc()
|
/linux-4.4.14/mm/ |
D | backing-dev.c | 555 ret = percpu_ref_init(&wb->refcnt, cgwb_release, 0, gfp); in cgwb_create()
|
/linux-4.4.14/kernel/ |
D | cgroup.c | 1928 ret = percpu_ref_init(&root_cgrp->self.refcnt, css_release, 0, in cgroup_setup_root() 4875 err = percpu_ref_init(&css->refcnt, css_release, 0, GFP_KERNEL); in create_css() 4947 ret = percpu_ref_init(&cgrp->self.refcnt, css_release, 0, GFP_KERNEL); in cgroup_mkdir()
|
/linux-4.4.14/block/ |
D | blk-core.c | 748 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue_node()
|