Home
last modified time | relevance | path

Searched refs:next_free (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/md/
H A Ddm-snap-transient.c26 sector_t next_free; member
48 if (size < (tc->next_free + store->chunk_size)) in transient_prepare_exception()
51 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
52 tc->next_free += store->chunk_size; in transient_prepare_exception()
71 *sectors_allocated = ((struct transient_c *) store->context)->next_free; in transient_usage()
84 tc->next_free = 0; in transient_ctr()
H A Ddm-snap-persistent.c154 chunk_t next_free; member
278 chunk_t next_free = ps->next_free; in skip_metadata() local
280 if (sector_div(next_free, stride) == NUM_SNAPSHOT_HDR_CHUNKS) in skip_metadata()
281 ps->next_free++; in skip_metadata()
474 if (ps->next_free <= e.new_chunk) in insert_exceptions()
475 ps->next_free = e.new_chunk + 1; in insert_exceptions()
580 *sectors_allocated = ps->next_free * store->chunk_size; in persistent_usage()
680 if (size < ((ps->next_free + 1) * store->chunk_size)) in persistent_prepare_exception()
683 e->new_chunk = ps->next_free; in persistent_prepare_exception()
689 ps->next_free++; in persistent_prepare_exception()
[all …]
/linux/drivers/gpu/drm/imagination/
H A Dpvr_mmu.c1018 * has been removed and queued for destruction, the next_free field
1024 * @next_free: Pointer to the next L1 page table to take/free.
1030 struct pvr_page_table_l1 *next_free; member
1194 * has been removed and queued for destruction, the next_free field
1200 * @next_free: Pointer to the next L0 page table to take/free.
1206 struct pvr_page_table_l0 *next_free; member
1521 op_ctx->curr_page.l1_table->next_free = op_ctx->unmap.l1_free_tables; in pvr_page_table_l2_remove()
1584 op_ctx->curr_page.l0_table->next_free = op_ctx->unmap.l0_free_tables; in pvr_page_table_l1_remove()
1760 op_ctx->map.l1_prealloc_tables = table->next_free; in pvr_page_table_l1_get_or_insert()
1761 table->next_free in pvr_page_table_l1_get_or_insert()
[all...]
/linux/arch/powerpc/kernel/
H A Drtas_flash.c315 int next_free; in rtas_flash_write() local
336 next_free = fl->num_blocks; in rtas_flash_write()
337 if (next_free == FLASH_BLOCKS_PER_NODE) { in rtas_flash_write()
343 next_free = 0; in rtas_flash_write()
356 fl->blocks[next_free].data = p; in rtas_flash_write()
357 fl->blocks[next_free].length = count; in rtas_flash_write()
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c803 bufidx = pool->free_map[pool->next_free]; in replenish_rx_pool()
821 pool->free_map[pool->next_free] = IBMVNIC_INVALID_MAP; in replenish_rx_pool()
822 pool->next_free = (pool->next_free + 1) % pool->size; in replenish_rx_pool()
887 pool->next_free = pool->next_free == 0 ? in replenish_rx_pool()
888 pool->size - 1 : pool->next_free - 1; in replenish_rx_pool()
893 pool->free_map[pool->next_free] = bufidx; in replenish_rx_pool()
1170 rx_pool->next_free = 0; in init_rx_pools()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c1607 itxd = ring->next_free; in mtk_tx_map()
1695 ring->next_free = mtk_qdma_phys_to_virt(ring, txd->txd2); in mtk_tx_map()
2019 txd = ring->next_free; in mtk_xdp_submit_frame()
2070 ring->next_free = mtk_qdma_phys_to_virt(ring, txd->txd2); in mtk_xdp_submit_frame()
2714 ring->next_free = ring->dma; in mtk_tx_alloc()
H A Dmtk_eth_soc.h936 struct mtk_tx_dma *next_free; member