/linux-master/drivers/md/ |
H A D | dm-snap-transient.c | 26 sector_t next_free; member in struct:transient_c 48 if (size < (tc->next_free + store->chunk_size)) 51 e->new_chunk = sector_to_chunk(store, tc->next_free); 52 tc->next_free += store->chunk_size; 71 *sectors_allocated = ((struct transient_c *) store->context)->next_free; 84 tc->next_free = 0;
|
H A D | dm-snap-persistent.c | 154 chunk_t next_free; member in struct:pstore 278 chunk_t next_free = ps->next_free; local 280 if (sector_div(next_free, stride) == NUM_SNAPSHOT_HDR_CHUNKS) 281 ps->next_free++; 474 if (ps->next_free <= e.new_chunk) 475 ps->next_free = e.new_chunk + 1; 580 *sectors_allocated = ps->next_free * store->chunk_size; 681 if (size < ((ps->next_free + 1) * store->chunk_size)) 684 e->new_chunk = ps->next_free; [all...] |
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_mmu.c | 1012 * has been removed and queued for destruction, the next_free field 1018 * @next_free: Pointer to the next L1 page table to take/free. 1024 struct pvr_page_table_l1 *next_free; member in union:pvr_page_table_l1::__anon705 1188 * has been removed and queued for destruction, the next_free field 1194 * @next_free: Pointer to the next L0 page table to take/free. 1200 struct pvr_page_table_l0 *next_free; member in union:pvr_page_table_l0::__anon706 1515 op_ctx->curr_page.l1_table->next_free = op_ctx->unmap.l1_free_tables; 1578 op_ctx->curr_page.l0_table->next_free = op_ctx->unmap.l0_free_tables; 1754 op_ctx->map.l1_prealloc_tables = table->next_free; 1755 table->next_free [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | rtas_flash.c | 315 int next_free, rc; local 336 next_free = fl->num_blocks; 337 if (next_free == FLASH_BLOCKS_PER_NODE) { 343 next_free = 0; 357 fl->blocks[next_free].data = p; 358 fl->blocks[next_free].length = count;
|
/linux-master/fs/ocfs2/ |
H A D | resize.c | 414 u16 next_free = le16_to_cpu(di->id2.i_chain.cl_next_free_rec); local 423 else if (next_free != cl_count && next_free != input->chain) 425 "the add group should be in chain %u\n", next_free);
|
H A D | alloc.c | 1602 int next_free = le16_to_cpu(el->l_next_free_rec); local 1606 BUG_ON(!next_free); 1608 BUG_ON(next_free >= count); 1610 num_bytes = sizeof(struct ocfs2_extent_rec) * next_free; 1618 int i, insert_index, next_free, has_empty, num_bytes; local 1622 next_free = le16_to_cpu(el->l_next_free_rec); 1625 BUG_ON(!next_free); 1632 * empty extent and temporarily decrement next_free. 1636 * If next_free was 1 (only an empty extent), this 1640 for(i = 0; i < (next_free 1719 int next_free = le16_to_cpu(el->l_next_free_rec); local 2317 int next_free; local 2330 int next_free = le16_to_cpu(el->l_next_free_rec); local 2827 int next_free; local 3353 int ret, next_free, i; local 3959 int i, next_free; local 3997 int ret, next_free; local 5457 int next_free; local [all...] |
H A D | extent_map.c | 277 int ret, next_free; local 301 next_free = le16_to_cpu(el->l_next_free_rec); 303 if (next_free == 0 || 304 (next_free == 1 && ocfs2_is_empty_extent(&el->l_recs[0])))
|
H A D | ocfs2_trace.h | 563 int has_empty, int next_free, 566 next_free, l_count), 571 __field(int, next_free) 578 __entry->next_free = next_free; 583 __entry->next_free, __entry->l_count)
|
/linux-master/fs/ntfs3/ |
H A D | fsntfs.c | 696 if (sbi->mft.next_free < MFT_REC_USER) 697 sbi->mft.next_free = MFT_REC_USER; 700 if (sbi->mft.next_free >= sbi->mft.bitmap.nbits) { 702 sbi->mft.next_free = sbi->mft.bitmap.nbits; 705 sbi->mft.next_free = *rno + 1; 757 else if (rno < sbi->mft.next_free && rno >= MFT_REC_USER) 758 sbi->mft.next_free = rno;
|
H A D | ntfs_fs.h | 263 size_t next_free; // The next record to allocate from member in struct:ntfs_sb_info::__anon71
|
H A D | super.c | 1317 sbi->mft.next_free = MFT_REC_USER;
|
/linux-master/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 787 bufidx = pool->free_map[pool->next_free]; 805 pool->free_map[pool->next_free] = IBMVNIC_INVALID_MAP; 806 pool->next_free = (pool->next_free + 1) % pool->size; 863 pool->next_free = pool->next_free == 0 ? 864 pool->size - 1 : pool->next_free - 1; 869 pool->free_map[pool->next_free] = bufidx; 1152 rx_pool->next_free = 0;
|
H A D | ibmvnic.h | 875 int next_free; member in struct:ibmvnic_rx_pool
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 1414 itxd = ring->next_free; 1502 ring->next_free = mtk_qdma_phys_to_virt(ring, txd->txd2); 1818 txd = ring->next_free; 1869 ring->next_free = mtk_qdma_phys_to_virt(ring, txd->txd2); 2512 ring->next_free = ring->dma;
|
H A D | mtk_eth_soc.h | 891 * @next_free: Pointer to the next free descriptor 902 struct mtk_tx_dma *next_free; member in struct:mtk_tx_ring
|