Searched refs:pool_name (Results 1 - 16 of 16) sorted by relevance

/linux-4.1.27/include/trace/events/
H A Drandom.h30 TP_PROTO(const char *pool_name, int bytes, unsigned long IP),
32 TP_ARGS(pool_name, bytes, IP),
35 __field( const char *, pool_name )
41 __entry->pool_name = pool_name;
47 __entry->pool_name, __entry->bytes, (void *)__entry->IP)
51 TP_PROTO(const char *pool_name, int bytes, unsigned long IP),
53 TP_ARGS(pool_name, bytes, IP)
57 TP_PROTO(const char *pool_name, int bytes, unsigned long IP),
59 TP_ARGS(pool_name, bytes, IP)
63 TP_PROTO(const char *pool_name, int bits, int entropy_count,
66 TP_ARGS(pool_name, bits, entropy_count, entropy_total, IP),
69 __field( const char *, pool_name )
77 __entry->pool_name = pool_name;
85 "caller %pS", __entry->pool_name, __entry->bits,
91 TP_PROTO(const char *pool_name, int pool_bits, int input_bits),
93 TP_ARGS(pool_name, pool_bits, input_bits),
96 __field( const char *, pool_name )
102 __entry->pool_name = pool_name;
108 __entry->pool_name, __entry->pool_bits,
113 TP_PROTO(const char *pool_name, int debit_bits),
115 TP_ARGS(pool_name, debit_bits),
118 __field( const char *, pool_name )
123 __entry->pool_name = pool_name;
127 TP_printk("%s: debit_bits %d", __entry->pool_name,
167 TP_PROTO(const char *pool_name, int xfer_bits, int request_bits,
170 TP_ARGS(pool_name, xfer_bits, request_bits, pool_entropy,
174 __field( const char *, pool_name )
182 __entry->pool_name = pool_name;
190 "input_entropy %d", __entry->pool_name, __entry->xfer_bits,
226 TP_PROTO(const char *pool_name, int nbytes, int entropy_count,
229 TP_ARGS(pool_name, nbytes, entropy_count, IP),
232 __field( const char *, pool_name )
239 __entry->pool_name = pool_name;
246 __entry->pool_name, __entry->nbytes, __entry->entropy_count,
252 TP_PROTO(const char *pool_name, int nbytes, int entropy_count,
255 TP_ARGS(pool_name, nbytes, entropy_count, IP)
259 TP_PROTO(const char *pool_name, int nbytes, int entropy_count,
262 TP_ARGS(pool_name, nbytes, entropy_count, IP)
/linux-4.1.27/include/linux/platform_data/
H A Ddma-mmp_tdma.h27 char *pool_name; member in struct:sram_platdata
32 extern struct gen_pool *sram_get_gpool(char *pool_name);
34 static inline struct gen_pool *sram_get_gpool(char *pool_name) sram_get_gpool() argument
/linux-4.1.27/arch/arm/mach-mmp/
H A Dsram.c28 char *pool_name; member in struct:sram_bank_info
42 struct gen_pool *sram_get_gpool(char *pool_name) sram_get_gpool() argument
46 if (!pool_name) sram_get_gpool()
52 if (!strcmp(pool_name, info->pool_name)) sram_get_gpool()
71 if (!pdata || !pdata->pool_name) sram_probe()
91 info->pool_name = kstrdup(pdata->pool_name, GFP_KERNEL); sram_probe()
122 kfree(info->pool_name); sram_probe()
142 kfree(info->pool_name); sram_remove()
H A Dbrownstone.c194 .pool_name = "asram",
199 .pool_name = "isram",
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
H A Dlov_pool.c110 return pool->pool_name; pool_key()
115 char *pool_name; pool_hashkey_keycmp() local
118 pool_name = (char *)key; pool_hashkey_keycmp()
120 return !strncmp(pool_name, pool->pool_name, LOV_MAXPOOLNAME); pool_hashkey_keycmp()
306 pool->pool_name, pool->pool_obds.op_count); lov_dump_pool()
313 pool->pool_name, i, lov_dump_pool()
439 strncpy(new_pool->pool_name, poolname, LOV_MAXPOOLNAME); lov_pool_new()
440 new_pool->pool_name[LOV_MAXPOOLNAME] = '\0'; lov_pool_new()
H A Dlov_pack.c98 CDEBUG(level, "pool_name "LOV_POOLNAMEF"\n", lmm->lmm_pool_name); lov_dump_lmm_v3()
H A Dlov_obd.c881 lov_pool_del(obd, pool->pool_name); lov_cleanup()
/linux-4.1.27/fs/ceph/
H A Dxattr.c74 const char *pool_name; ceph_vxattrcb_layout() local
79 pool_name = ceph_pg_pool_name_by_id(osdc->osdmap, pool); ceph_vxattrcb_layout()
80 if (pool_name) { ceph_vxattrcb_layout()
81 size_t len = strlen(pool_name); ceph_vxattrcb_layout()
93 memcpy(val + ret, pool_name, len); ceph_vxattrcb_layout()
142 const char *pool_name; ceph_vxattrcb_layout_pool() local
145 pool_name = ceph_pg_pool_name_by_id(osdc->osdmap, pool); ceph_vxattrcb_layout_pool()
146 if (pool_name) ceph_vxattrcb_layout_pool()
147 ret = snprintf(val, size, "%s", pool_name); ceph_vxattrcb_layout_pool()
/linux-4.1.27/drivers/scsi/mvsas/
H A Dmv_init.c233 char pool_name[32]; mvs_alloc() local
298 sprintf(pool_name, "%s%d", "mvs_dma_pool", mvi->id); mvs_alloc()
299 mvi->dma_pool = pci_pool_create(pool_name, mvi->pdev, MVS_SLOT_BUF_SZ, 16, 0); mvs_alloc()
301 printk(KERN_DEBUG "failed to create dma pool %s.\n", pool_name); mvs_alloc()
/linux-4.1.27/drivers/block/
H A Drbd.c184 const char *pool_name; member in struct:rbd_spec
3884 return sprintf(buf, "%s\n", rbd_dev->spec->pool_name); rbd_pool_show()
3952 spec->pool_id, spec->pool_name, rbd_parent_show()
4057 kfree(spec->pool_name); rbd_spec_free()
4500 rbd_assert(spec->pool_id != CEPH_NOPOOL && spec->pool_name); rbd_spec_fill_snap_id()
4529 const char *pool_name; rbd_spec_fill_names() local
4540 pool_name = ceph_pg_pool_name_by_id(osdc->osdmap, spec->pool_id); rbd_spec_fill_names()
4541 if (!pool_name) { rbd_spec_fill_names()
4545 pool_name = kstrdup(pool_name, GFP_KERNEL); rbd_spec_fill_names()
4546 if (!pool_name) rbd_spec_fill_names()
4563 spec->pool_name = pool_name; rbd_spec_fill_names()
4571 kfree(pool_name); rbd_spec_fill_names()
4855 * <mon_addrs> <options> <pool_name> <image_name> [<snap_id>]
4864 * <pool_name>
4913 spec->pool_name = dup_token(&buf, NULL); rbd_add_parse_args()
4914 if (!spec->pool_name) rbd_add_parse_args()
4916 if (!*spec->pool_name) { rbd_add_parse_args()
4982 static int rbd_add_get_pool_id(struct rbd_client *rbdc, const char *pool_name) rbd_add_get_pool_id() argument
4990 ret = ceph_pg_poolid_by_name(rbdc->client->osdc.osdmap, pool_name); rbd_add_get_pool_id()
5335 rbd_dev->spec->pool_name, rbd_dev_image_probe()
5358 rbd_dev->spec->pool_name, rbd_dev_image_probe()
5431 rc = rbd_add_get_pool_id(rbdc, spec->pool_name); do_rbd_add()
5434 pr_info("pool %s does not exist\n", spec->pool_name); do_rbd_add()
/linux-4.1.27/drivers/block/zram/
H A Dzram_drv.c369 char pool_name[8]; zram_meta_alloc() local
382 snprintf(pool_name, sizeof(pool_name), "zram%d", device_id); zram_meta_alloc()
383 meta->mem_pool = zs_create_pool(pool_name, GFP_NOIO | __GFP_HIGHMEM); zram_meta_alloc()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_fcoe.c511 char pool_name[32]; i40e_fcoe_dma_pool_create() local
518 snprintf(pool_name, sizeof(pool_name), "i40e_fcoe_ddp_%d", cpu); i40e_fcoe_dma_pool_create()
519 pool = dma_pool_create(pool_name, dev, I40E_FCOE_DDP_PTR_MAX, i40e_fcoe_dma_pool_create()
522 dev_err(dev, "dma_pool_create %s failed\n", pool_name); i40e_fcoe_dma_pool_create()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c634 char pool_name[32]; ixgbe_fcoe_dma_pool_alloc() local
636 snprintf(pool_name, 32, "ixgbe_fcoe_ddp_%u", cpu); ixgbe_fcoe_dma_pool_alloc()
638 pool = dma_pool_create(pool_name, dev, IXGBE_FCPTR_MAX, ixgbe_fcoe_dma_pool_alloc()
/linux-4.1.27/drivers/dma/ioat/
H A Ddma_v3.c1681 char pool_name[14]; ioat3_dma_probe() local
1685 snprintf(pool_name, 14, "ioat_hw%d_sed", i); ioat3_dma_probe()
1688 device->sed_hw_pool[i] = dmam_pool_create(pool_name, ioat3_dma_probe()
/linux-4.1.27/net/ceph/
H A Dosdmap.c1079 /* pool_name */ osdmap_decode()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dobd.h541 char pool_name[LOV_MAXPOOLNAME + 1]; /* name of pool */ member in struct:pool_desc

Completed in 579 milliseconds