Lines Matching refs:pool
784 mempool_t *pool = NULL; /* Becomes non-null if mempool used */ in ceph_writepages_start() local
904 pool = fsc->wb_pagevec_pool; in ceph_writepages_start()
905 pages = mempool_alloc(pool, GFP_NOFS); in ceph_writepages_start()
971 !!pool, false); in ceph_writepages_start()
974 pool = NULL; in ceph_writepages_start()
1620 static int __ceph_pool_perm_get(struct ceph_inode_info *ci, u32 pool) in __ceph_pool_perm_get() argument
1634 if (pool < perm->pool) in __ceph_pool_perm_get()
1636 else if (pool > perm->pool) in __ceph_pool_perm_get()
1647 dout("__ceph_pool_perm_get pool %u no perm cached\n", pool); in __ceph_pool_perm_get()
1654 if (pool < perm->pool) in __ceph_pool_perm_get()
1656 else if (pool > perm->pool) in __ceph_pool_perm_get()
1678 rd_req->r_base_oloc.pool = pool; in __ceph_pool_perm_get()
1694 wr_req->r_base_oloc.pool = pool; in __ceph_pool_perm_get()
1737 perm->pool = pool; in __ceph_pool_perm_get()
1752 dout("__ceph_pool_perm_get pool %u result = %d\n", pool, err); in __ceph_pool_perm_get()
1758 u32 pool; in ceph_pool_perm_check() local
1767 pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_pool_perm_check()
1773 pool); in ceph_pool_perm_check()
1778 pool); in ceph_pool_perm_check()
1784 ret = __ceph_pool_perm_get(ci, pool); in ceph_pool_perm_check()
1795 if (pool == ceph_file_layout_pg_pool(ci->i_layout)) { in ceph_pool_perm_check()
1798 pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_pool_perm_check()