Lines Matching refs:blkoff
70 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument
80 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
96 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
109 (unsigned long long)blkoff); in nilfs_get_block()
724 unsigned long blkoff; in nilfs_truncate() local
736 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
741 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
1002 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1016 blkoff = start >> blkbits; in nilfs_fiemap()
1019 delalloc_blklen = nilfs_find_uncommitted_extent(inode, blkoff, in nilfs_fiemap()
1026 if (delalloc_blklen && blkoff == delalloc_blkoff) { in nilfs_fiemap()
1034 if (blkoff > end_blkoff) in nilfs_fiemap()
1038 logical = blkoff << blkbits; in nilfs_fiemap()
1042 blkoff = delalloc_blkoff + delalloc_blklen; in nilfs_fiemap()
1044 inode, blkoff, &delalloc_blkoff); in nilfs_fiemap()
1054 maxblocks = min_t(sector_t, delalloc_blkoff - blkoff, in nilfs_fiemap()
1060 NILFS_I(inode)->i_bmap, blkoff, &blkphy, maxblocks); in nilfs_fiemap()
1070 blkoff++; in nilfs_fiemap()
1071 past_eof = ((blkoff << blkbits) >= isize); in nilfs_fiemap()
1085 if (blkoff > end_blkoff || past_eof) in nilfs_fiemap()
1097 if (ret || blkoff > end_blkoff) in nilfs_fiemap()
1102 logical = blkoff << blkbits; in nilfs_fiemap()
1109 logical = blkoff << blkbits; in nilfs_fiemap()
1113 blkoff += n; in nilfs_fiemap()