Lines Matching refs:blkoff
71 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument
81 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
97 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
110 (unsigned long long)blkoff); in nilfs_get_block()
716 unsigned long blkoff; in nilfs_truncate() local
728 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
733 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
996 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1010 blkoff = start >> blkbits; in nilfs_fiemap()
1013 delalloc_blklen = nilfs_find_uncommitted_extent(inode, blkoff, in nilfs_fiemap()
1020 if (delalloc_blklen && blkoff == delalloc_blkoff) { in nilfs_fiemap()
1028 if (blkoff > end_blkoff) in nilfs_fiemap()
1032 logical = blkoff << blkbits; in nilfs_fiemap()
1036 blkoff = delalloc_blkoff + delalloc_blklen; in nilfs_fiemap()
1038 inode, blkoff, &delalloc_blkoff); in nilfs_fiemap()
1048 maxblocks = min_t(sector_t, delalloc_blkoff - blkoff, in nilfs_fiemap()
1054 NILFS_I(inode)->i_bmap, blkoff, &blkphy, maxblocks); in nilfs_fiemap()
1064 blkoff++; in nilfs_fiemap()
1065 past_eof = ((blkoff << blkbits) >= isize); in nilfs_fiemap()
1079 if (blkoff > end_blkoff || past_eof) in nilfs_fiemap()
1091 if (ret || blkoff > end_blkoff) in nilfs_fiemap()
1096 logical = blkoff << blkbits; in nilfs_fiemap()
1103 logical = blkoff << blkbits; in nilfs_fiemap()
1107 blkoff += n; in nilfs_fiemap()