/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_log_recover.c | 273 xfs_daddr_t *last_blk, in xlog_find_cycle_start() 282 end_blk = *last_blk; in xlog_find_cycle_start() 298 *last_blk = end_blk; in xlog_find_cycle_start() 384 * In the typical case, last_blk is the number of the block directly after 397 xfs_daddr_t *last_blk, in xlog_find_verify_log_record() 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() 468 * last_blk will be the 1st block # with a given cycle #. We may end in xlog_find_verify_log_record() 470 * reset last_blk in xlog_find_verify_log_record() 269 xlog_find_cycle_start( struct xlog *log, char *buffer, xfs_daddr_t first_blk, xfs_daddr_t *last_blk, uint cycle) xlog_find_cycle_start() argument 394 xlog_find_verify_log_record( struct xlog *log, xfs_daddr_t start_blk, xfs_daddr_t *last_blk, int extra_bblks) xlog_find_verify_log_record() argument 504 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; xlog_find_head() local 1399 xfs_daddr_t new_blk, last_blk, start_blk; xlog_find_zeroed() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_log_recover.c | 279 xfs_daddr_t *last_blk, in xlog_find_cycle_start() 288 end_blk = *last_blk; in xlog_find_cycle_start() 304 *last_blk = end_blk; in xlog_find_cycle_start() 390 * In the typical case, last_blk is the number of the block directly after 403 xfs_daddr_t *last_blk, in xlog_find_verify_log_record() 412 int num_blks = *last_blk - start_blk; in xlog_find_verify_log_record() 415 ASSERT(start_blk != 0 || *last_blk != start_blk); in xlog_find_verify_log_record() 430 for (i = (*last_blk) - 1; i >= 0; i--) { in xlog_find_verify_log_record() 474 * last_blk will be the 1st block # with a given cycle #. We may end in xlog_find_verify_log_record() 476 * reset last_blk in xlog_find_verify_log_record() 275 xlog_find_cycle_start( struct xlog *log, char *buffer, xfs_daddr_t first_blk, xfs_daddr_t *last_blk, uint cycle) xlog_find_cycle_start() argument 400 xlog_find_verify_log_record( struct xlog *log, xfs_daddr_t start_blk, xfs_daddr_t *last_blk, int extra_bblks) xlog_find_verify_log_record() argument 510 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; xlog_find_head() local 1405 xfs_daddr_t new_blk, last_blk, start_blk; xlog_find_zeroed() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/qce/ |
H A 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()
|
H A D | sha.h | 36 * @last_blk: is it the last block 54 bool last_blk; member
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/crypto/qce/ |
H A D | sha.h | 35 * @last_blk: is it the last block 53 bool last_blk; member
|
H A D | sha.c | 63 rctx->last_blk = false; in qce_ahash_done() 133 rctx->last_blk = false; in qce_ahash_init() 322 rctx->last_blk = true; in qce_ahash_final() 350 rctx->last_blk = true; in qce_ahash_digest()
|
H A D | common.c | 158 if (!rctx->last_blk && req->nbytes % blocksize) in qce_setup_regs_ahash() 201 if (rctx->last_blk) in qce_setup_regs_ahash()
|
/kernel/linux/linux-5.10/fs/affs/ |
H A D | file.c | 864 u32 last_blk, blkcnt, blk; in affs_truncate() local 872 last_blk = 0; in affs_truncate() 875 last_blk = ((u32)inode->i_size - 1) / AFFS_SB(sb)->s_data_blksize; in affs_truncate() 876 ext = last_blk / AFFS_SB(sb)->s_hashsize; in affs_truncate() 921 blk = last_blk; in affs_truncate() 923 i = last_blk % AFFS_SB(sb)->s_hashsize + 1; in affs_truncate() 941 AFFS_I(inode)->i_blkcnt = last_blk + 1; in affs_truncate() 944 struct buffer_head *bh = affs_bread_ino(inode, last_blk, 0); in affs_truncate()
|
/kernel/linux/linux-6.6/fs/affs/ |
H A 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()
|
/kernel/linux/linux-5.10/fs/ |
H A D | ioctl.c | 299 sector_t start_blk, last_blk; in __generic_block_fiemap() local 328 last_blk = logical_to_blk(inode, start + len - 1); in __generic_block_fiemap() 373 if (start_blk > last_blk || past_eof || ret) in __generic_block_fiemap() 391 if (start_blk > last_blk && !whole_file) { in __generic_block_fiemap()
|
/kernel/linux/linux-6.6/fs/iomap/ |
H A 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()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | resize.c | 310 ext4_fsblk_t last_blk; in ext4_alloc_group_tables() local 333 last_blk = start_blk + group_data[src_group - group].blocks_count; in ext4_alloc_group_tables() 344 last_blk += group_data[src_group - group].blocks_count; in ext4_alloc_group_tables() 351 if (start_blk >= last_blk) in ext4_alloc_group_tables() 362 if (start_blk >= last_blk) in ext4_alloc_group_tables() 376 if (start_blk + itb > last_blk) in ext4_alloc_group_tables()
|
H A D | extents.c | 4986 __u64 last_blk; in ext4_get_es_cache() local 5015 last_blk = (start + len - 1) >> inode->i_sb->s_blocksize_bits; in ext4_get_es_cache() 5016 if (last_blk >= EXT_MAX_BLOCKS) in ext4_get_es_cache() 5017 last_blk = EXT_MAX_BLOCKS-1; in ext4_get_es_cache() 5018 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_get_es_cache()
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | xattr.c | 291 u64 src_blk, u64 last_blk, u64 to_blk, 4868 * src_blk points to the start of an existing extent. last_blk points to 4870 * extent. We copy the buckets from the cluster at last_blk to the new 4877 u64 src_blk, u64 last_blk, u64 to_blk, in ocfs2_mv_xattr_buckets() 4887 trace_ocfs2_mv_xattr_buckets((unsigned long long)last_blk, in ocfs2_mv_xattr_buckets() 4893 last_blk += (start_bucket * blks_per_bucket); in ocfs2_mv_xattr_buckets() 4932 last_blk + (i * blks_per_bucket), in ocfs2_mv_xattr_buckets() 5053 u64 last_blk = bucket_blkno(first) + in ocfs2_adjust_xattr_cross_cluster() local 5057 if (prev_clusters > 1 && bucket_blkno(target) != last_blk) { in ocfs2_adjust_xattr_cross_cluster() 5060 last_blk, new_bl in ocfs2_adjust_xattr_cross_cluster() 4876 ocfs2_mv_xattr_buckets(struct inode *inode, handle_t *handle, u64 src_blk, u64 last_blk, u64 to_blk, unsigned int start_bucket, u32 *first_hash) ocfs2_mv_xattr_buckets() argument [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | xattr.c | 285 u64 src_blk, u64 last_blk, u64 to_blk, 4862 * src_blk points to the start of an existing extent. last_blk points to 4864 * extent. We copy the buckets from the cluster at last_blk to the new 4871 u64 src_blk, u64 last_blk, u64 to_blk, in ocfs2_mv_xattr_buckets() 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_bl in ocfs2_adjust_xattr_cross_cluster() 4870 ocfs2_mv_xattr_buckets(struct inode *inode, handle_t *handle, u64 src_blk, u64 last_blk, u64 to_blk, unsigned int start_bucket, u32 *first_hash) ocfs2_mv_xattr_buckets() argument [all...] |
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | data.c | 1938 sector_t start_blk, last_blk; in f2fs_fiemap() local 1973 last_blk = logical_to_blk(inode, start + len - 1); in f2fs_fiemap() 2010 if (start_blk > last_blk) in f2fs_fiemap() 2025 if (start_blk > last_blk) in f2fs_fiemap()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | data.c | 1968 sector_t start_blk, last_blk; in f2fs_fiemap() local 2014 last_blk = bytes_to_blks(inode, start + len - 1); in f2fs_fiemap() 2064 if (start_blk > last_blk) in f2fs_fiemap()
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd_eckd.c | 3183 sector_t first_blk, last_blk; in dasd_eckd_ese_read() local 3209 last_trk = last_blk = in dasd_eckd_ese_read()
|
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A 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()
|