Home
last modified time | relevance | path

Searched refs:start_blk (Results 1 - 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/fs/ext4/
H A Dblock_validity.c25 ext4_fsblk_t start_blk; member
49 if ((entry1->start_blk + entry1->count) == entry2->start_blk && in can_merge()
70 ext4_fsblk_t start_blk, in add_system_zone()
80 if (start_blk < entry->start_blk) in add_system_zone()
82 else if (start_blk >= (entry->start_blk + entry->count)) in add_system_zone()
92 new_entry->start_blk = start_blk; in add_system_zone()
69 add_system_zone(struct ext4_system_blocks *system_blks, ext4_fsblk_t start_blk, unsigned int count, u32 ino) add_system_zone() argument
295 ext4_sb_block_valid(struct super_block *sb, struct inode *inode, ext4_fsblk_t start_blk, unsigned int count) ext4_sb_block_valid() argument
343 ext4_inode_block_valid(struct inode *inode, ext4_fsblk_t start_blk, unsigned int count) ext4_inode_block_valid() argument
[all...]
H A Dresize.c309 ext4_fsblk_t start_blk; in ext4_alloc_group_tables() local
332 start_blk = ext4_group_first_block_no(sb, src_group); in ext4_alloc_group_tables()
333 last_blk = start_blk + group_data[src_group - group].blocks_count; in ext4_alloc_group_tables()
337 start_blk += overhead; in ext4_alloc_group_tables()
351 if (start_blk >= last_blk) in ext4_alloc_group_tables()
353 group_data[bb_index].block_bitmap = start_blk++; in ext4_alloc_group_tables()
354 group = ext4_get_group_number(sb, start_blk - 1); in ext4_alloc_group_tables()
362 if (start_blk >= last_blk) in ext4_alloc_group_tables()
364 group_data[ib_index].inode_bitmap = start_blk++; in ext4_alloc_group_tables()
365 group = ext4_get_group_number(sb, start_blk in ext4_alloc_group_tables()
[all...]
/kernel/linux/linux-6.6/fs/ext4/
H A Dblock_validity.c25 ext4_fsblk_t start_blk; member
49 if ((entry1->start_blk + entry1->count) == entry2->start_blk && in can_merge()
70 ext4_fsblk_t start_blk, in add_system_zone()
80 if (start_blk < entry->start_blk) in add_system_zone()
82 else if (start_blk >= (entry->start_blk + entry->count)) in add_system_zone()
92 new_entry->start_blk = start_blk; in add_system_zone()
69 add_system_zone(struct ext4_system_blocks *system_blks, ext4_fsblk_t start_blk, unsigned int count, u32 ino) add_system_zone() argument
295 ext4_sb_block_valid(struct super_block *sb, struct inode *inode, ext4_fsblk_t start_blk, unsigned int count) ext4_sb_block_valid() argument
343 ext4_inode_block_valid(struct inode *inode, ext4_fsblk_t start_blk, unsigned int count) ext4_inode_block_valid() argument
[all...]
H A Dresize.c310 ext4_fsblk_t start_blk; in ext4_alloc_group_tables() local
333 start_blk = ext4_group_first_block_no(sb, src_group); in ext4_alloc_group_tables()
334 last_blk = start_blk + group_data[src_group - group].blocks_count; in ext4_alloc_group_tables()
338 start_blk += overhead; in ext4_alloc_group_tables()
352 if (start_blk >= last_blk) in ext4_alloc_group_tables()
354 group_data[bb_index].block_bitmap = start_blk++; in ext4_alloc_group_tables()
355 group = ext4_get_group_number(sb, start_blk - 1); in ext4_alloc_group_tables()
363 if (start_blk >= last_blk) in ext4_alloc_group_tables()
365 group_data[ib_index].inode_bitmap = start_blk++; in ext4_alloc_group_tables()
366 group = ext4_get_group_number(sb, start_blk in ext4_alloc_group_tables()
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_log_recover.c314 xfs_daddr_t start_blk, in xlog_find_verify_cycle()
341 for (i = start_blk; i < start_blk + nbblks; i += bufblks) { in xlog_find_verify_cycle()
344 bcount = min(bufblks, (start_blk + nbblks - i)); in xlog_find_verify_cycle()
396 xfs_daddr_t start_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()
418 error = xlog_bread(log, start_blk, num_blks, buffer, &offset); in xlog_find_verify_log_record()
425 if (i < start_blk) { in xlog_find_verify_log_record()
312 xlog_find_verify_cycle( struct xlog *log, xfs_daddr_t start_blk, int nbblks, uint stop_on_cycle_no, xfs_daddr_t *new_blk) xlog_find_verify_cycle() 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/
H A Dioctl.c299 sector_t start_blk, last_blk; in __generic_block_fiemap() local
327 start_blk = logical_to_blk(inode, start); in __generic_block_fiemap()
338 ret = get_block(inode, start_blk, &map_bh, 0); in __generic_block_fiemap()
344 start_blk++; in __generic_block_fiemap()
354 blk_to_logical(inode, start_blk) >= isize) 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()
410 logical = blk_to_logical(inode, start_blk); in __generic_block_fiemap()
415 start_blk += logical_to_blk(inode, size); in __generic_block_fiemap()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_log_recover.c320 xfs_daddr_t start_blk, in xlog_find_verify_cycle()
347 for (i = start_blk; i < start_blk + nbblks; i += bufblks) { in xlog_find_verify_cycle()
350 bcount = min(bufblks, (start_blk + nbblks - i)); in xlog_find_verify_cycle()
402 xfs_daddr_t start_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()
424 error = xlog_bread(log, start_blk, num_blks, buffer, &offset); in xlog_find_verify_log_record()
431 if (i < start_blk) { in xlog_find_verify_log_record()
318 xlog_find_verify_cycle( struct xlog *log, xfs_daddr_t start_blk, int nbblks, uint stop_on_cycle_no, xfs_daddr_t *new_blk) xlog_find_verify_cycle() 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-5.10/fs/f2fs/
H A Dcheckpoint.c687 block_t start_blk, orphan_blocks, i, j; in f2fs_recover_orphan_inodes() local
718 start_blk = __start_cp_addr(sbi) + 1 + __cp_payload(sbi); in f2fs_recover_orphan_inodes()
721 f2fs_ra_meta_pages(sbi, start_blk, orphan_blocks, META_CP, true); in f2fs_recover_orphan_inodes()
727 page = f2fs_get_meta_page(sbi, start_blk + i); in f2fs_recover_orphan_inodes()
759 static void write_orphan_inodes(struct f2fs_sb_info *sbi, block_t start_blk) in write_orphan_inodes() argument
782 page = f2fs_grab_meta_page(sbi, start_blk++); in write_orphan_inodes()
1417 block_t start_blk; in do_checkpoint() local
1484 start_blk = __start_cp_next_addr(sbi); in do_checkpoint()
1494 blk = start_blk + sbi->blocks_per_seg - nm_i->nat_bits_blocks; in do_checkpoint()
1501 f2fs_update_meta_page(sbi, ckpt, start_blk in do_checkpoint()
1505 start_blk++); do_checkpoint() local
[all...]
/kernel/linux/linux-6.6/fs/f2fs/
H A Dcheckpoint.c723 block_t start_blk, orphan_blocks, i, j; in f2fs_recover_orphan_inodes() local
737 start_blk = __start_cp_addr(sbi) + 1 + __cp_payload(sbi); in f2fs_recover_orphan_inodes()
740 f2fs_ra_meta_pages(sbi, start_blk, orphan_blocks, META_CP, true); in f2fs_recover_orphan_inodes()
746 page = f2fs_get_meta_page(sbi, start_blk + i); in f2fs_recover_orphan_inodes()
772 static void write_orphan_inodes(struct f2fs_sb_info *sbi, block_t start_blk) in write_orphan_inodes() argument
795 page = f2fs_grab_meta_page(sbi, start_blk++); in write_orphan_inodes()
1455 block_t start_blk; in do_checkpoint() local
1519 start_blk = __start_cp_next_addr(sbi); in do_checkpoint()
1530 blk = start_blk + sbi->blocks_per_seg - nm_i->nat_bits_blocks; in do_checkpoint()
1537 f2fs_update_meta_page(sbi, ckpt, start_blk in do_checkpoint()
1541 start_blk++); do_checkpoint() local
[all...]
H A Ddata.c403 if (FDEV(i).start_blk <= blk_addr && in f2fs_target_device()
405 blk_addr -= FDEV(i).start_blk; in f2fs_target_device()
425 if (FDEV(i).start_blk <= blkaddr && FDEV(i).end_blk >= blkaddr) in f2fs_target_device_index()
989 if (blkaddr < FDEV(devi).start_blk || in is_end_zone_blkaddr()
994 blkaddr -= FDEV(devi).start_blk; in is_end_zone_blkaddr()
1574 map->m_pblk -= dev->start_blk; in f2fs_map_blocks_cached()
1803 map->m_pblk -= FDEV(bidx).start_blk; in f2fs_map_blocks()
1968 sector_t start_blk, last_blk; in f2fs_fiemap() local
2013 start_blk = bytes_to_blks(inode, start); in f2fs_fiemap()
2018 map.m_lblk = start_blk; in f2fs_fiemap()
3901 f2fs_migrate_blocks(struct inode *inode, block_t start_blk, unsigned int blkcnt) f2fs_migrate_blocks() argument
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dsuballoc.h134 u64 start_blk,
139 u64 start_blk,
H A Dalloc.h86 u64 start_blk,
174 u64 start_blk,
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dsuballoc.h132 u64 start_blk,
137 u64 start_blk,
/kernel/linux/linux-5.10/fs/ext2/
H A Dballoc.c1175 int ext2_data_block_valid(struct ext2_sb_info *sbi, ext2_fsblk_t start_blk, in ext2_data_block_valid() argument
1178 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext2_data_block_valid()
1179 (start_blk + count - 1 < start_blk) || in ext2_data_block_valid()
1180 (start_blk + count - 1 >= le32_to_cpu(sbi->s_es->s_blocks_count))) in ext2_data_block_valid()
1184 if ((start_blk <= sbi->s_sb_block) && in ext2_data_block_valid()
1185 (start_blk + count - 1 >= sbi->s_sb_block)) in ext2_data_block_valid()
/kernel/linux/linux-6.6/fs/ext2/
H A Dballoc.c1170 int ext2_data_block_valid(struct ext2_sb_info *sbi, ext2_fsblk_t start_blk, in ext2_data_block_valid() argument
1173 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext2_data_block_valid()
1174 (start_blk + count - 1 < start_blk) || in ext2_data_block_valid()
1175 (start_blk + count - 1 >= le32_to_cpu(sbi->s_es->s_blocks_count))) in ext2_data_block_valid()
1179 if ((start_blk <= sbi->s_sb_block) && in ext2_data_block_valid()
1180 (start_blk + count - 1 >= sbi->s_sb_block)) in ext2_data_block_valid()
/kernel/linux/linux-6.6/fs/nilfs2/
H A Dpage.h49 sector_t start_blk,
H A Dpage.c479 * @start_blk: start block offset (in)
483 * starts from a block offset equal to or larger than @start_blk. If
489 sector_t start_blk, in nilfs_find_uncommitted_extent()
501 index = start_blk >> (PAGE_SHIFT - inode->i_blkbits); in nilfs_find_uncommitted_extent()
523 if (b < start_blk) in nilfs_find_uncommitted_extent()
488 nilfs_find_uncommitted_extent(struct inode *inode, sector_t start_blk, sector_t *blkoff) nilfs_find_uncommitted_extent() argument
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dsclp_sdias.c160 * @start_blk: Start Block (beginning with 1)
166 int sclp_sdias_copy(void *dest, int start_blk, int nr_blks) in sclp_sdias_copy() argument
188 sccb->evbuf.fbn = start_blk; in sclp_sdias_copy()
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dsclp_sdias.c160 * @start_blk: Start Block (beginning with 1)
166 int sclp_sdias_copy(void *dest, int start_blk, int nr_blks) in sclp_sdias_copy() argument
188 sccb->evbuf.fbn = start_blk; in sclp_sdias_copy()
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c2355 u64 start_blk = io_info->pdBlock; in megasas_set_pd_lba() local
2375 cdb[12] = (u8)((start_blk >> 56) & 0xff); in megasas_set_pd_lba()
2376 cdb[13] = (u8)((start_blk >> 48) & 0xff); in megasas_set_pd_lba()
2377 cdb[14] = (u8)((start_blk >> 40) & 0xff); in megasas_set_pd_lba()
2378 cdb[15] = (u8)((start_blk >> 32) & 0xff); in megasas_set_pd_lba()
2379 cdb[16] = (u8)((start_blk >> 24) & 0xff); in megasas_set_pd_lba()
2380 cdb[17] = (u8)((start_blk >> 16) & 0xff); in megasas_set_pd_lba()
2381 cdb[18] = (u8)((start_blk >> 8) & 0xff); in megasas_set_pd_lba()
2382 cdb[19] = (u8)(start_blk & 0xff); in megasas_set_pd_lba()
2415 (start_blk < in megasas_set_pd_lba()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c2391 u64 start_blk = io_info->pdBlock; in megasas_set_pd_lba() local
2411 cdb[12] = (u8)((start_blk >> 56) & 0xff); in megasas_set_pd_lba()
2412 cdb[13] = (u8)((start_blk >> 48) & 0xff); in megasas_set_pd_lba()
2413 cdb[14] = (u8)((start_blk >> 40) & 0xff); in megasas_set_pd_lba()
2414 cdb[15] = (u8)((start_blk >> 32) & 0xff); in megasas_set_pd_lba()
2415 cdb[16] = (u8)((start_blk >> 24) & 0xff); in megasas_set_pd_lba()
2416 cdb[17] = (u8)((start_blk >> 16) & 0xff); in megasas_set_pd_lba()
2417 cdb[18] = (u8)((start_blk >> 8) & 0xff); in megasas_set_pd_lba()
2418 cdb[19] = (u8)(start_blk & 0xff); in megasas_set_pd_lba()
2451 (start_blk < in megasas_set_pd_lba()
[all...]
/kernel/linux/linux-5.10/fs/nilfs2/
H A Dpage.h50 sector_t start_blk,
H A Dpage.c487 * @start_blk: start block offset (in)
491 * starts from a block offset equal to or larger than @start_blk. If
497 sector_t start_blk, in nilfs_find_uncommitted_extent()
511 index = start_blk >> (PAGE_SHIFT - inode->i_blkbits); in nilfs_find_uncommitted_extent()
536 if (b < start_blk) in nilfs_find_uncommitted_extent()
496 nilfs_find_uncommitted_extent(struct inode *inode, sector_t start_blk, sector_t *blkoff) nilfs_find_uncommitted_extent() argument
/kernel/linux/linux-5.10/block/partitions/
H A Dacorn.c162 unsigned int start_blk = 0; in adfspart_check_CUMANA() local
186 data = read_part_sector(state, start_blk * 2 + 6, &sect); in adfspart_check_CUMANA()
208 start_blk += nr_sects >> (BLOCK_SIZE_BITS - 9); in adfspart_check_CUMANA()
/kernel/linux/linux-6.6/block/partitions/
H A Dacorn.c162 unsigned int start_blk = 0; in adfspart_check_CUMANA() local
186 data = read_part_sector(state, start_blk * 2 + 6, &sect); in adfspart_check_CUMANA()
208 start_blk += nr_sects >> (BLOCK_SIZE_BITS - 9); in adfspart_check_CUMANA()

Completed in 34 milliseconds

123