Lines Matching refs:startblock
196 uint64_t startblock; in put_ext4() local
203 startblock = off >> log2blksz; in put_ext4()
204 startblock += part_offset; in put_ext4()
210 if ((startblock + (size >> log2blksz)) > in put_ext4()
219 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
222 blk_dwrite(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
225 blk_dwrite(fs->dev_desc, startblock, size >> log2blksz, in put_ext4()
228 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
231 blk_dwrite(fs->dev_desc, startblock, 1, in put_ext4()
1633 long int startblock, endblock; in read_allocated_block() local
1654 startblock = le32_to_cpu(extent[i].ee_block); in read_allocated_block()
1655 endblock = startblock + le16_to_cpu(extent[i].ee_len); in read_allocated_block()
1657 if (startblock > fileblock) { in read_allocated_block()
1667 return (fileblock - startblock) + start; in read_allocated_block()