Searched refs:block_offset (Results 1 – 6 of 6) sorted by relevance
338 int block_offset; /* block offset of mp within page */ in metapage_writepage() local380 block_offset = offset >> inode->i_blkbits; in metapage_writepage()381 lblock = page_start + block_offset; in metapage_writepage()475 int block_offset; in metapage_readpage() local487 block_offset = 0; in metapage_readpage()488 while (block_offset < blocks_per_page) { in metapage_readpage()489 xlen = blocks_per_page - block_offset; in metapage_readpage()490 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_readpage()507 offset = block_offset << inode->i_blkbits; in metapage_readpage()510 block_offset += xlen; in metapage_readpage()[all …]
302 int block_offset; in diRead() local350 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead()355 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead()358 rel_inode += block_offset << sbi->l2niperblk; in diRead()588 int block_offset; in diWrite() local622 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite()627 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite()630 rel_inode += block_offset << sbi->l2niperblk; in diWrite()
77 struct bio **biop, int *block_offset) in squashfs_bio_read() argument124 *block_offset = index & ((1 << msblk->devblksize_log2) - 1); in squashfs_bio_read()
62 __u64 block_offset; /* out: offset in block */ member
206 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
1724 int block, block_offset; in ocfs2_xa_bucket_offset_pointer() local1728 block_offset = offset % loc->xl_inode->i_sb->s_blocksize; in ocfs2_xa_bucket_offset_pointer()1730 return bucket_block(bucket, block) + block_offset; in ocfs2_xa_bucket_offset_pointer()1868 int block_offset = nameval_offset >> sb->s_blocksize_bits; in ocfs2_xa_bucket_fill_value_buf() local1871 BUG_ON(block_offset != in ocfs2_xa_bucket_fill_value_buf()1874 BUG_ON(!bucket->bu_bhs[block_offset]); in ocfs2_xa_bucket_fill_value_buf()1877 vb->vb_bh = bucket->bu_bhs[block_offset]; in ocfs2_xa_bucket_fill_value_buf()