Home
last modified time | relevance | path

Searched refs:block_offset (Results 1 – 6 of 6) sorted by relevance

/fs/jfs/
Djfs_metapage.c338 int block_offset; /* block offset of mp within page */ in metapage_writepage() local
380 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() local
487 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 …]
Djfs_imap.c302 int block_offset; in diRead() local
350 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() local
622 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()
/fs/squashfs/
Dblock.c77 struct bio **biop, int *block_offset) in squashfs_bio_read() argument
124 *block_offset = index & ((1 << msblk->devblksize_log2) - 1); in squashfs_bio_read()
/fs/ceph/
Dioctl.h62 __u64 block_offset; /* out: offset in block */ member
Dioctl.c206 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
/fs/ocfs2/
Dxattr.c1724 int block, block_offset; in ocfs2_xa_bucket_offset_pointer() local
1728 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() local
1871 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()