Home
last modified time | relevance | path

Searched refs:pool_name (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/ti/
Dk3-cppi-desc-pool.c50 const char *pool_name = NULL; in k3_cppi_desc_pool_create_name() local
62 pool_name = kstrdup_const(name ? name : dev_name(pool->dev), in k3_cppi_desc_pool_create_name()
64 if (!pool_name) in k3_cppi_desc_pool_create_name()
71 kfree_const(pool_name); in k3_cppi_desc_pool_create_name()
75 pool->gen_pool->name = pool_name; in k3_cppi_desc_pool_create_name()
/linux-6.6.21/fs/ceph/
Dxattr.c64 const char *pool_name; in ceph_vxattrcb_layout() local
74 pool_name = ceph_pg_pool_name_by_id(osdc->osdmap, pool); in ceph_vxattrcb_layout()
75 if (pool_name) { in ceph_vxattrcb_layout()
80 total_len = len + strlen(pool_name); in ceph_vxattrcb_layout()
96 if (pool_name) { in ceph_vxattrcb_layout()
97 len = strlen(pool_name); in ceph_vxattrcb_layout()
98 memcpy(val + ret, pool_name, len); in ceph_vxattrcb_layout()
167 const char *pool_name; in ceph_vxattrcb_layout_pool() local
170 pool_name = ceph_pg_pool_name_by_id(osdc->osdmap, pool); in ceph_vxattrcb_layout_pool()
171 if (pool_name) { in ceph_vxattrcb_layout_pool()
[all …]
/linux-6.6.21/lib/
Dgenalloc.c833 const char *pool_name = NULL; in devm_gen_pool_create() local
840 pool_name = kstrdup_const(name, GFP_KERNEL); in devm_gen_pool_create()
841 if (!pool_name) in devm_gen_pool_create()
854 pool->name = pool_name; in devm_gen_pool_create()
862 kfree_const(pool_name); in devm_gen_pool_create()
/linux-6.6.21/drivers/scsi/mvsas/
Dmv_init.c218 char pool_name[32]; in mvs_alloc() local
278 sprintf(pool_name, "%s%d", "mvs_dma_pool", mvi->id); in mvs_alloc()
279 mvi->dma_pool = dma_pool_create(pool_name, &mvi->pdev->dev, in mvs_alloc()
282 printk(KERN_DEBUG "failed to create dma pool %s.\n", pool_name); in mvs_alloc()
/linux-6.6.21/drivers/block/
Drbd.c189 const char *pool_name; member
5103 return sprintf(buf, "%s\n", rbd_dev->spec->pool_name); in rbd_pool_show()
5188 spec->pool_id, spec->pool_name, in rbd_parent_show()
5305 kfree(spec->pool_name); in rbd_spec_free()
5980 rbd_assert(spec->pool_id != CEPH_NOPOOL && spec->pool_name); in rbd_spec_fill_snap_id()
6009 const char *pool_name; in rbd_spec_fill_names() local
6020 pool_name = ceph_pg_pool_name_by_id(osdc->osdmap, spec->pool_id); in rbd_spec_fill_names()
6021 if (!pool_name) { in rbd_spec_fill_names()
6025 pool_name = kstrdup(pool_name, GFP_KERNEL); in rbd_spec_fill_names()
6026 if (!pool_name) in rbd_spec_fill_names()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c613 char pool_name[32]; in ixgbe_fcoe_dma_pool_alloc() local
615 snprintf(pool_name, 32, "ixgbe_fcoe_ddp_%u", cpu); in ixgbe_fcoe_dma_pool_alloc()
617 pool = dma_pool_create(pool_name, dev, IXGBE_FCPTR_MAX, in ixgbe_fcoe_dma_pool_alloc()
/linux-6.6.21/drivers/dma/ioat/
Dinit.c1155 char pool_name[14]; in ioat3_dma_probe() local
1159 snprintf(pool_name, 14, "ioat_hw%d_sed", i); in ioat3_dma_probe()
1162 ioat_dma->sed_hw_pool[i] = dmam_pool_create(pool_name, in ioat3_dma_probe()