Lines Matching refs:blkoff
75 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument
85 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
101 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
114 (unsigned long long)blkoff); in nilfs_get_block()
859 unsigned long blkoff; in nilfs_truncate() local
871 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
876 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
1141 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1155 blkoff = start >> blkbits; in nilfs_fiemap()
1158 delalloc_blklen = nilfs_find_uncommitted_extent(inode, blkoff, in nilfs_fiemap()
1165 if (delalloc_blklen && blkoff == delalloc_blkoff) { in nilfs_fiemap()
1173 if (blkoff > end_blkoff) in nilfs_fiemap()
1177 logical = blkoff << blkbits; in nilfs_fiemap()
1181 blkoff = delalloc_blkoff + delalloc_blklen; in nilfs_fiemap()
1183 inode, blkoff, &delalloc_blkoff); in nilfs_fiemap()
1193 maxblocks = min_t(sector_t, delalloc_blkoff - blkoff, in nilfs_fiemap()
1199 NILFS_I(inode)->i_bmap, blkoff, &blkphy, maxblocks); in nilfs_fiemap()
1209 blkoff++; in nilfs_fiemap()
1210 past_eof = ((blkoff << blkbits) >= isize); in nilfs_fiemap()
1224 if (blkoff > end_blkoff || past_eof) in nilfs_fiemap()
1236 if (ret || blkoff > end_blkoff) in nilfs_fiemap()
1241 logical = blkoff << blkbits; in nilfs_fiemap()
1248 logical = blkoff << blkbits; in nilfs_fiemap()
1252 blkoff += n; in nilfs_fiemap()