Lines Matching refs:pool
779 mempool_t *pool = NULL; /* Becomes non-null if mempool used */ in ceph_writepages_start() local
899 pool = fsc->wb_pagevec_pool; in ceph_writepages_start()
900 pages = mempool_alloc(pool, GFP_NOFS); in ceph_writepages_start()
966 !!pool, false); in ceph_writepages_start()
969 pool = NULL; in ceph_writepages_start()
1618 static int __ceph_pool_perm_get(struct ceph_inode_info *ci, u32 pool) in __ceph_pool_perm_get() argument
1632 if (pool < perm->pool) in __ceph_pool_perm_get()
1634 else if (pool > perm->pool) in __ceph_pool_perm_get()
1645 dout("__ceph_pool_perm_get pool %u no perm cached\n", pool); in __ceph_pool_perm_get()
1652 if (pool < perm->pool) in __ceph_pool_perm_get()
1654 else if (pool > perm->pool) in __ceph_pool_perm_get()
1676 rd_req->r_base_oloc.pool = pool; in __ceph_pool_perm_get()
1692 wr_req->r_base_oloc.pool = pool; in __ceph_pool_perm_get()
1735 perm->pool = pool; in __ceph_pool_perm_get()
1750 dout("__ceph_pool_perm_get pool %u result = %d\n", pool, err); in __ceph_pool_perm_get()
1756 u32 pool; in ceph_pool_perm_check() local
1765 pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_pool_perm_check()
1771 pool); in ceph_pool_perm_check()
1776 pool); in ceph_pool_perm_check()
1782 ret = __ceph_pool_perm_get(ci, pool); in ceph_pool_perm_check()
1793 if (pool == ceph_file_layout_pg_pool(ci->i_layout)) { in ceph_pool_perm_check()
1796 pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_pool_perm_check()