Searched refs:last_blk (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/fs/xfs/ |
D | xfs_log_recover.c | 273 xfs_daddr_t *last_blk, in xlog_find_cycle_start() argument 282 end_blk = *last_blk; in xlog_find_cycle_start() 298 *last_blk = end_blk; in xlog_find_cycle_start() 397 xfs_daddr_t *last_blk, in xlog_find_verify_log_record() argument 406 int num_blks = *last_blk - start_blk; in xlog_find_verify_log_record() 409 ASSERT(start_blk != 0 || *last_blk != start_blk); in xlog_find_verify_log_record() 424 for (i = (*last_blk) - 1; i >= 0; i--) { in xlog_find_verify_log_record() 475 if (*last_blk - i + extra_bblks != in xlog_find_verify_log_record() 477 *last_blk = i; in xlog_find_verify_log_record() 504 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local [all …]
|
/linux-6.6.21/drivers/crypto/qce/ |
D | sha.c | 57 if (req->result && rctx->last_blk) in qce_ahash_done() 69 rctx->last_blk = false; in qce_ahash_done() 141 rctx->last_blk = false; in qce_ahash_init() 289 rctx->last_blk = true; in qce_ahash_final() 317 rctx->last_blk = true; in qce_ahash_digest()
|
D | sha.h | 54 bool last_blk; member
|
D | common.c | 162 if (!rctx->last_blk && req->nbytes % blocksize) in qce_setup_regs_ahash() 205 if (rctx->last_blk) in qce_setup_regs_ahash()
|
/linux-6.6.21/fs/affs/ |
D | file.c | 868 u32 last_blk, blkcnt, blk; in affs_truncate() local 876 last_blk = 0; in affs_truncate() 879 last_blk = ((u32)inode->i_size - 1) / AFFS_SB(sb)->s_data_blksize; in affs_truncate() 880 ext = last_blk / AFFS_SB(sb)->s_hashsize; in affs_truncate() 925 blk = last_blk; in affs_truncate() 927 i = last_blk % AFFS_SB(sb)->s_hashsize + 1; in affs_truncate() 945 AFFS_I(inode)->i_blkcnt = last_blk + 1; in affs_truncate() 948 struct buffer_head *bh = affs_bread_ino(inode, last_blk, 0); in affs_truncate()
|
/linux-6.6.21/fs/iomap/ |
D | buffered-io.c | 65 unsigned int last_blk = (off + len - 1) >> inode->i_blkbits; in ifs_set_range_uptodate() local 66 unsigned int nr_blks = last_blk - first_blk + 1; in ifs_set_range_uptodate() 102 unsigned int last_blk = (off + len - 1) >> inode->i_blkbits; in ifs_clear_range_dirty() local 103 unsigned int nr_blks = last_blk - first_blk + 1; in ifs_clear_range_dirty() 125 unsigned int last_blk = (off + len - 1) >> inode->i_blkbits; in ifs_set_range_dirty() local 126 unsigned int nr_blks = last_blk - first_blk + 1; in ifs_set_range_dirty() 988 unsigned int first_blk, last_blk, i; in iomap_write_delalloc_ifs_punch() local 1007 last_blk = offset_in_folio(folio, last_byte) >> blkbits; in iomap_write_delalloc_ifs_punch() 1008 for (i = first_blk; i <= last_blk; i++) { in iomap_write_delalloc_ifs_punch()
|
/linux-6.6.21/fs/ext4/ |
D | resize.c | 311 ext4_fsblk_t last_blk; in ext4_alloc_group_tables() local 334 last_blk = start_blk + group_data[src_group - group].blocks_count; in ext4_alloc_group_tables() 345 last_blk += group_data[src_group - group].blocks_count; in ext4_alloc_group_tables() 352 if (start_blk >= last_blk) in ext4_alloc_group_tables() 363 if (start_blk >= last_blk) in ext4_alloc_group_tables() 377 if (start_blk + itb > last_blk) in ext4_alloc_group_tables()
|
D | extents.c | 5007 __u64 last_blk; in ext4_get_es_cache() local 5036 last_blk = (start + len - 1) >> inode->i_sb->s_blocksize_bits; in ext4_get_es_cache() 5037 if (last_blk >= EXT_MAX_BLOCKS) in ext4_get_es_cache() 5038 last_blk = EXT_MAX_BLOCKS-1; in ext4_get_es_cache() 5039 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_get_es_cache()
|
/linux-6.6.21/fs/ocfs2/ |
D | xattr.c | 285 u64 src_blk, u64 last_blk, u64 to_blk, 4871 u64 src_blk, u64 last_blk, u64 to_blk, in ocfs2_mv_xattr_buckets() argument 4881 trace_ocfs2_mv_xattr_buckets((unsigned long long)last_blk, in ocfs2_mv_xattr_buckets() 4887 last_blk += (start_bucket * blks_per_bucket); in ocfs2_mv_xattr_buckets() 4926 last_blk + (i * blks_per_bucket), in ocfs2_mv_xattr_buckets() 5047 u64 last_blk = bucket_blkno(first) + in ocfs2_adjust_xattr_cross_cluster() local 5051 if (prev_clusters > 1 && bucket_blkno(target) != last_blk) { in ocfs2_adjust_xattr_cross_cluster() 5054 last_blk, new_blk, 0, in ocfs2_adjust_xattr_cross_cluster() 5060 last_blk, new_blk, in ocfs2_adjust_xattr_cross_cluster() 5065 if ((bucket_blkno(target) == last_blk) && extend) in ocfs2_adjust_xattr_cross_cluster()
|
/linux-6.6.21/fs/f2fs/ |
D | data.c | 1977 sector_t start_blk, last_blk; in f2fs_fiemap() local 2023 last_blk = bytes_to_blks(inode, start + len - 1); in f2fs_fiemap() 2073 if (start_blk > last_blk) in f2fs_fiemap()
|
/linux-6.6.21/drivers/s390/block/ |
D | dasd_eckd.c | 3271 sector_t first_blk, last_blk; in dasd_eckd_ese_read() local 3297 last_trk = last_blk = in dasd_eckd_ese_read()
|