Searched refs:last_blk (Results 1 – 6 of 6) sorted by relevance
/fs/ |
D | ioctl.c | 255 sector_t start_blk, last_blk; in __generic_block_fiemap() local 284 last_blk = logical_to_blk(inode, start + len - 1); in __generic_block_fiemap() 329 if (start_blk > last_blk || past_eof || ret) in __generic_block_fiemap() 347 if (start_blk > last_blk && !whole_file) { in __generic_block_fiemap()
|
/fs/xfs/ |
D | xfs_log_recover.c | 403 xfs_daddr_t *last_blk, in xlog_find_cycle_start() argument 412 end_blk = *last_blk; in xlog_find_cycle_start() 428 *last_blk = end_blk; in xlog_find_cycle_start() 514 xfs_daddr_t *last_blk, in xlog_find_verify_log_record() argument 523 int num_blks = *last_blk - start_blk; in xlog_find_verify_log_record() 526 ASSERT(start_blk != 0 || *last_blk != start_blk); in xlog_find_verify_log_record() 539 for (i = (*last_blk) - 1; i >= 0; i--) { in xlog_find_verify_log_record() 598 if (*last_blk - i + extra_bblks != in xlog_find_verify_log_record() 600 *last_blk = i; in xlog_find_verify_log_record() 627 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local [all …]
|
/fs/affs/ |
D | file.c | 820 u32 last_blk, blkcnt, blk; in affs_truncate() local 828 last_blk = 0; in affs_truncate() 831 last_blk = ((u32)inode->i_size - 1) / AFFS_SB(sb)->s_data_blksize; in affs_truncate() 832 ext = last_blk / AFFS_SB(sb)->s_hashsize; in affs_truncate() 876 blk = last_blk; in affs_truncate() 878 i = last_blk % AFFS_SB(sb)->s_hashsize + 1; in affs_truncate() 896 AFFS_I(inode)->i_blkcnt = last_blk + 1; in affs_truncate() 899 struct buffer_head *bh = affs_bread_ino(inode, last_blk, 0); in affs_truncate()
|
/fs/ext4/ |
D | resize.c | 238 ext4_fsblk_t last_blk; in ext4_alloc_group_tables() local 260 last_blk = start_blk + group_data[src_group - group].blocks_count; in ext4_alloc_group_tables() 271 last_blk += group_data[src_group - group].blocks_count; in ext4_alloc_group_tables() 278 if (start_blk >= last_blk) in ext4_alloc_group_tables() 289 if (start_blk >= last_blk) in ext4_alloc_group_tables() 303 if (start_blk + itb > last_blk) in ext4_alloc_group_tables()
|
D | extents.c | 5184 __u64 last_blk; in ext4_fiemap() local 5187 last_blk = (start + len - 1) >> inode->i_sb->s_blocksize_bits; in ext4_fiemap() 5188 if (last_blk >= EXT_MAX_BLOCKS) in ext4_fiemap() 5189 last_blk = EXT_MAX_BLOCKS-1; in ext4_fiemap() 5190 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_fiemap()
|
/fs/ocfs2/ |
D | xattr.c | 299 u64 src_blk, u64 last_blk, u64 to_blk, 4857 u64 src_blk, u64 last_blk, u64 to_blk, in ocfs2_mv_xattr_buckets() argument 4867 trace_ocfs2_mv_xattr_buckets((unsigned long long)last_blk, in ocfs2_mv_xattr_buckets() 4873 last_blk += (start_bucket * blks_per_bucket); in ocfs2_mv_xattr_buckets() 4912 last_blk + (i * blks_per_bucket), in ocfs2_mv_xattr_buckets() 5033 u64 last_blk = bucket_blkno(first) + in ocfs2_adjust_xattr_cross_cluster() local 5037 if (prev_clusters > 1 && bucket_blkno(target) != last_blk) { in ocfs2_adjust_xattr_cross_cluster() 5040 last_blk, new_blk, 0, in ocfs2_adjust_xattr_cross_cluster() 5046 last_blk, new_blk, in ocfs2_adjust_xattr_cross_cluster() 5051 if ((bucket_blkno(target) == last_blk) && extend) in ocfs2_adjust_xattr_cross_cluster()
|