Searched refs:block_no (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/drivers/mtd/ |
D | rfd_ftl.c | 92 static int build_block_map(struct partition *part, int block_no) in build_block_map() argument 94 struct block *block = &part->blocks[block_no]; in build_block_map() 97 block->offset = part->block_size * block_no; in build_block_map() 126 part->mbd.mtd->name, block_no, i, entry); in build_block_map() 145 part->reserved_block = block_no; in build_block_map() 357 static int move_block_contents(struct partition *part, int block_no, u_long *old_sector) in move_block_contents() argument 374 rc = mtd_read(part->mbd.mtd, part->blocks[block_no].offset, in move_block_contents() 383 part->blocks[block_no].offset); in move_block_contents() 403 addr = part->blocks[block_no].offset + in move_block_contents() 408 if (!part->blocks[block_no].used_sectors--) { in move_block_contents() [all …]
|
/linux-3.4.99/drivers/net/ethernet/neterion/ |
D | s2io.c | 2463 int off, size, block_no, block_no1; in fill_rx_buffers() local 2479 block_no = ring->rx_curr_put_info.block_index; in fill_rx_buffers() 2483 rxdp = ring->rx_blocks[block_no].rxds[off].virt_addr; in fill_rx_buffers() 2486 if (block_no) in fill_rx_buffers() 2487 rxd_index += (block_no * ring->rxd_count); in fill_rx_buffers() 2489 if ((block_no == block_no1) && in fill_rx_buffers() 2501 block_no = ring->rx_curr_put_info.block_index; in fill_rx_buffers() 2504 rxdp = ring->rx_blocks[block_no].block_virt_addr; in fill_rx_buffers() 2572 ba = &ring->ba[block_no][off]; in fill_rx_buffers()
|