Lines Matching refs:blkoff
83 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument
93 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
109 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
125 (unsigned long long)blkoff); in nilfs_get_block()
746 unsigned long blkoff; in nilfs_truncate() local
758 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
763 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
1013 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1027 blkoff = start >> blkbits; in nilfs_fiemap()
1030 delalloc_blklen = nilfs_find_uncommitted_extent(inode, blkoff, in nilfs_fiemap()
1037 if (delalloc_blklen && blkoff == delalloc_blkoff) { in nilfs_fiemap()
1045 if (blkoff > end_blkoff) in nilfs_fiemap()
1049 logical = blkoff << blkbits; in nilfs_fiemap()
1053 blkoff = delalloc_blkoff + delalloc_blklen; in nilfs_fiemap()
1055 inode, blkoff, &delalloc_blkoff); in nilfs_fiemap()
1065 maxblocks = min_t(sector_t, delalloc_blkoff - blkoff, in nilfs_fiemap()
1071 NILFS_I(inode)->i_bmap, blkoff, &blkphy, maxblocks); in nilfs_fiemap()
1081 blkoff++; in nilfs_fiemap()
1082 past_eof = ((blkoff << blkbits) >= isize); in nilfs_fiemap()
1096 if (blkoff > end_blkoff || past_eof) in nilfs_fiemap()
1108 if (ret || blkoff > end_blkoff) in nilfs_fiemap()
1113 logical = blkoff << blkbits; in nilfs_fiemap()
1120 logical = blkoff << blkbits; in nilfs_fiemap()
1124 blkoff += n; in nilfs_fiemap()