Searched refs:poolid (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/drivers/staging/zcache/ |
D | zcache-main.c | 481 uint16_t poolid); 937 static struct tmem_pool *zcache_get_pool_by_id(uint16_t cli_id, uint16_t poolid) in zcache_get_pool_by_id() argument 952 if (poolid < MAX_POOLS_PER_CLIENT) { in zcache_get_pool_by_id() 953 pool = cli->tmem_pools[poolid]; in zcache_get_pool_by_id() 1695 int poolid = -1; in zcache_new_pool() local 1712 for (poolid = 0; poolid < MAX_POOLS_PER_CLIENT; poolid++) in zcache_new_pool() 1713 if (cli->tmem_pools[poolid] == NULL) in zcache_new_pool() 1715 if (poolid >= MAX_POOLS_PER_CLIENT) { in zcache_new_pool() 1718 poolid = -1; in zcache_new_pool() 1723 pool->pool_id = poolid; in zcache_new_pool() [all …]
|
/linux-3.4.99/net/ceph/ |
D | osdmap.c | 1039 int poolid = le32_to_cpu(fl->fl_pg_pool); in ceph_calc_object_layout() local 1045 pool = __lookup_pg_pool(&osdmap->pg_pools, poolid); in ceph_calc_object_layout() 1062 dout("calc_object_layout '%s' pgid %d.%xp%d\n", oid, poolid, ps, in ceph_calc_object_layout() 1065 dout("calc_object_layout '%s' pgid %d.%x\n", oid, poolid, ps); in ceph_calc_object_layout() 1083 unsigned poolid, ps, pps, t; in calc_pg_raw() local 1086 poolid = le32_to_cpu(pgid.pool); in calc_pg_raw() 1090 pool = __lookup_pg_pool(&osdmap->pg_pools, poolid); in calc_pg_raw() 1113 poolid, pool->v.crush_ruleset, pool->v.type, in calc_pg_raw() 1131 pps += poolid; in calc_pg_raw()
|
/linux-3.4.99/drivers/staging/ramster/ |
D | zcache-main.c | 521 uint16_t poolid); 1401 static struct tmem_pool *zcache_get_pool_by_id(uint16_t cli_id, uint16_t poolid) in zcache_get_pool_by_id() argument 1416 if (poolid < MAX_POOLS_PER_CLIENT) { in zcache_get_pool_by_id() 1417 pool = cli->tmem_pools[poolid]; in zcache_get_pool_by_id() 2767 int poolid = -1; in zcache_new_pool() local 2784 for (poolid = 0; poolid < MAX_POOLS_PER_CLIENT; poolid++) in zcache_new_pool() 2785 if (cli->tmem_pools[poolid] == NULL) in zcache_new_pool() 2787 if (poolid >= MAX_POOLS_PER_CLIENT) { in zcache_new_pool() 2790 poolid = -1; in zcache_new_pool() 2795 pool->pool_id = poolid; in zcache_new_pool() [all …]
|
/linux-3.4.99/drivers/block/ |
D | rbd.c | 170 int poolid; member 940 layout->fl_pg_pool = cpu_to_le32(dev->poolid); in rbd_do_request() 2338 rbd_dev->poolid = rc; in rbd_add()
|