Home
last modified time | relevance | path

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

/drivers/md/
Ddm-snap-transient.c23 sector_t next_free; member
45 if (size < (tc->next_free + store->chunk_size)) in transient_prepare_exception()
48 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
49 tc->next_free += store->chunk_size; in transient_prepare_exception()
68 *sectors_allocated = ((struct transient_c *) store->context)->next_free; in transient_usage()
81 tc->next_free = 0; in transient_ctr()
Ddm-snap-persistent.c151 chunk_t next_free; member
276 chunk_t next_free = ps->next_free; in skip_metadata() local
277 if (sector_div(next_free, stride) == NUM_SNAPSHOT_HDR_CHUNKS) in skip_metadata()
278 ps->next_free++; in skip_metadata()
472 if (ps->next_free <= e.new_chunk) in insert_exceptions()
473 ps->next_free = e.new_chunk + 1; in insert_exceptions()
575 *sectors_allocated = ps->next_free * store->chunk_size; in persistent_usage()
676 if (size < ((ps->next_free + 1) * store->chunk_size)) in persistent_prepare_exception()
679 e->new_chunk = ps->next_free; in persistent_prepare_exception()
685 ps->next_free++; in persistent_prepare_exception()
[all …]
/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.h650 struct mtk_tx_dma *next_free; member
Dmtk_eth_soc.c967 itxd = ring->next_free; in mtk_tx_map()
1079 ring->next_free = mtk_qdma_phys_to_virt(ring, txd->txd2); in mtk_tx_map()
1624 ring->next_free = &ring->dma[0]; in mtk_tx_alloc()
/drivers/net/ethernet/ibm/
Dibmvnic.c340 index = pool->free_map[pool->next_free]; in replenish_rx_pool()
352 pool->free_map[pool->next_free] = IBMVNIC_INVALID_MAP; in replenish_rx_pool()
381 pool->next_free = (pool->next_free + 1) % pool->size; in replenish_rx_pool()
389 pool->free_map[pool->next_free] = index; in replenish_rx_pool()
518 rx_pool->next_free = 0; in reset_rx_pools()
621 rx_pool->next_free = 0; in init_rx_pools()
Dibmvnic.h921 int next_free; member