Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/
Drfd_ftl.c93 static int build_block_map(struct partition *part, int block_no) in build_block_map() argument
95 struct block *block = &part->blocks[block_no]; in build_block_map()
98 block->offset = part->block_size * block_no; in build_block_map()
127 part->mbd.mtd->name, block_no, i, entry); in build_block_map()
146 part->reserved_block = block_no; in build_block_map()
319 static int move_block_contents(struct partition *part, int block_no, u_long *old_sector) in move_block_contents() argument
336 rc = mtd_read(part->mbd.mtd, part->blocks[block_no].offset, in move_block_contents()
345 part->blocks[block_no].offset); in move_block_contents()
365 addr = part->blocks[block_no].offset + in move_block_contents()
370 if (!part->blocks[block_no].used_sectors--) { in move_block_contents()
[all …]
/Linux-v6.6/drivers/net/ethernet/neterion/
Ds2io.c2458 int off, size, block_no, block_no1; in fill_rx_buffers() local
2473 block_no = ring->rx_curr_put_info.block_index; in fill_rx_buffers()
2477 rxdp = ring->rx_blocks[block_no].rxds[off].virt_addr; in fill_rx_buffers()
2479 if ((block_no == block_no1) && in fill_rx_buffers()
2491 block_no = ring->rx_curr_put_info.block_index; in fill_rx_buffers()
2494 rxdp = ring->rx_blocks[block_no].block_virt_addr; in fill_rx_buffers()
2561 ba = &ring->ba[block_no][off]; in fill_rx_buffers()
/Linux-v6.6/drivers/staging/rts5208/
Dms.c2119 int block_no; local
2135 block_no = ms_card->segment[seg_no].disable_count++;
2136 ms_card->segment[seg_no].defect_list[block_no] = defect_block;