Home
last modified time | relevance | path

Searched refs:pool_offset (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_page_alloc.c382 unsigned pool_offset; in ttm_pool_shrink_scan() local
390 pool_offset = ++start_pool % NUM_POOLS; in ttm_pool_shrink_scan()
399 pool = &_manager->pools[(i + pool_offset)%NUM_POOLS]; in ttm_pool_shrink_scan()
Dttm_page_alloc_dma.c1097 unsigned pool_offset; in ttm_dma_pool_shrink_scan() local
1109 pool_offset = ++start_pool % _manager->npools; in ttm_dma_pool_shrink_scan()
1118 if (++idx < pool_offset) in ttm_dma_pool_shrink_scan()
/Linux-v5.4/drivers/md/
Draid5-cache.c1628 sector_t pool_offset; /* offset of first page in the pool */ member
1659 ctx->pool_offset = 0; in r5l_recovery_allocate_ra_pool()
1689 ctx->pool_offset = offset; in r5l_recovery_fetch_ra_pool()
1716 if (offset < ctx->pool_offset || in r5l_recovery_read_page()
1717 offset >= ctx->pool_offset + ctx->valid_pages * BLOCK_SECTORS) { in r5l_recovery_read_page()
1723 BUG_ON(offset < ctx->pool_offset || in r5l_recovery_read_page()
1724 offset >= ctx->pool_offset + ctx->valid_pages * BLOCK_SECTORS); in r5l_recovery_read_page()
1727 page_address(ctx->ra_pool[(offset - ctx->pool_offset) >> in r5l_recovery_read_page()