| /linux/fs/ext4/ |
| H A D | block_validity.c | 25 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() argument 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() 105 new_entry->start_blk = entry->start_blk; in add_system_zone() 139 entry->start_blk, entry->start_blk + entry->count - 1); in debug_print_tree() 296 ext4_fsblk_t start_blk, unsigned int count) in ext4_sb_block_valid() argument 304 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_sb_block_valid() [all …]
|
| H A D | resize.c | 308 ext4_fsblk_t start_blk; in ext4_alloc_group_tables() local 331 start_blk = ext4_group_first_block_no(sb, src_group); in ext4_alloc_group_tables() 332 last_blk = start_blk + group_data[src_group - group].blocks_count; in ext4_alloc_group_tables() 336 start_blk += overhead; in ext4_alloc_group_tables() 350 if (start_blk >= last_blk) in ext4_alloc_group_tables() 352 group_data[bb_index].block_bitmap = start_blk++; in ext4_alloc_group_tables() 353 group = ext4_get_group_number(sb, start_blk - 1); in ext4_alloc_group_tables() 361 if (start_blk >= last_blk) in ext4_alloc_group_tables() 363 group_data[ib_index].inode_bitmap = start_blk++; in ext4_alloc_group_tables() 364 group = ext4_get_group_number(sb, start_blk - 1); in ext4_alloc_group_tables() [all …]
|
| H A D | extents.c | 5195 ext4_lblk_t start_blk, len_blks; in ext4_get_es_cache() local 5226 start_blk = start >> inode->i_sb->s_blocksize_bits; in ext4_get_es_cache() 5230 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_get_es_cache() 5236 return ext4_fill_es_cache_info(inode, start_blk, len_blks, fieinfo); in ext4_get_es_cache()
|
| /linux/fs/xfs/ |
| H A D | xfs_log_recover.c | 314 xfs_daddr_t start_blk, in xlog_find_verify_cycle() argument 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() 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() 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() 504 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local 632 start_blk = head_blk - num_scan_bblks; in xlog_find_head() [all …]
|
| /linux/fs/iomap/ |
| H A D | buffered-io.c | 47 unsigned start_blk, unsigned end_blk) in ifs_next_uptodate_block() argument 51 return find_next_bit(ifs->state, end_blk + 1, start_blk); in ifs_next_uptodate_block() 59 unsigned start_blk, unsigned end_blk) in ifs_next_nonuptodate_block() argument 63 return find_next_zero_bit(ifs->state, end_blk + 1, start_blk); in ifs_next_nonuptodate_block() 112 unsigned start_blk, unsigned end_blk) in ifs_next_dirty_block() argument 119 blks + start_blk) - blks; in ifs_next_dirty_block() 127 unsigned start_blk, unsigned end_blk) in ifs_next_clean_block() argument 134 blks + start_blk) - blks; in ifs_next_clean_block() 141 unsigned start_blk = in ifs_find_dirty_range() local 148 start_blk = ifs_next_dirty_block(folio, start_blk, end_blk); in ifs_find_dirty_range() [all …]
|
| /linux/fs/ext2/ |
| H A D | balloc.c | 1177 int ext2_data_block_valid(struct ext2_sb_info *sbi, ext2_fsblk_t start_blk, in ext2_data_block_valid() argument 1180 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext2_data_block_valid() 1181 (start_blk + count - 1 < start_blk) || in ext2_data_block_valid() 1182 (start_blk + count - 1 >= le32_to_cpu(sbi->s_es->s_blocks_count))) in ext2_data_block_valid() 1186 if ((start_blk <= sbi->s_sb_block) && in ext2_data_block_valid() 1187 (start_blk + count - 1 >= sbi->s_sb_block)) in ext2_data_block_valid()
|
| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_sas_fusion.c | 2392 u64 start_blk = io_info->pdBlock; in megasas_set_pd_lba() local 2412 cdb[12] = (u8)((start_blk >> 56) & 0xff); in megasas_set_pd_lba() 2413 cdb[13] = (u8)((start_blk >> 48) & 0xff); in megasas_set_pd_lba() 2414 cdb[14] = (u8)((start_blk >> 40) & 0xff); in megasas_set_pd_lba() 2415 cdb[15] = (u8)((start_blk >> 32) & 0xff); in megasas_set_pd_lba() 2416 cdb[16] = (u8)((start_blk >> 24) & 0xff); in megasas_set_pd_lba() 2417 cdb[17] = (u8)((start_blk >> 16) & 0xff); in megasas_set_pd_lba() 2418 cdb[18] = (u8)((start_blk >> 8) & 0xff); in megasas_set_pd_lba() 2419 cdb[19] = (u8)(start_blk & 0xff); in megasas_set_pd_lba() 2452 (start_blk <= 0xffffffff)) { in megasas_set_pd_lba() [all …]
|
| H A D | mbox_defs.h | 600 uint32_t start_blk; member 612 uint32_t start_blk; member
|
| /linux/block/partitions/ |
| H A D | acorn.c | 162 unsigned int start_blk = 0; in adfspart_check_CUMANA() local 186 data = read_part_sector(state, start_blk * 2 + 6, §); in adfspart_check_CUMANA() 208 start_blk += nr_sects >> (BLOCK_SIZE_BITS - 9); in adfspart_check_CUMANA()
|
| /linux/fs/ocfs2/ |
| H A D | suballoc.h | 137 u64 start_blk, 142 u64 start_blk,
|
| H A D | ocfs2_trace.h | 742 TP_PROTO(int count, int bit, unsigned long long start_blk, 744 TP_ARGS(count, bit, start_blk, blkno), 748 __field(unsigned long long, start_blk) 754 __entry->start_blk = start_blk; 758 __entry->count, __entry->bit, __entry->start_blk, 857 TP_PROTO(unsigned long long bg_blkno, unsigned long long start_blk, 859 TP_ARGS(bg_blkno, start_blk, start_bit, count), 862 __field(unsigned long long, start_blk) 868 __entry->start_blk = start_blk; 872 TP_printk("%llu %llu %u %u", __entry->bg_blkno, __entry->start_blk,
|
| H A D | suballoc.c | 2659 u64 bg_blkno, start_blk; in _ocfs2_reclaim_suballoc_to_main() local 2725 start_blk = le64_to_cpu(rec->c_blkno); in _ocfs2_reclaim_suballoc_to_main() 2763 ocfs2_block_to_cluster_group(main_bm_inode, start_blk, &bg_blkno, in _ocfs2_reclaim_suballoc_to_main() 2947 u64 start_blk, in _ocfs2_free_clusters() argument 2961 BUG_ON(start_blk != ocfs2_clusters_to_blocks(bitmap_inode->i_sb, in _ocfs2_free_clusters() 2963 start_blk))); in _ocfs2_free_clusters() 2966 ocfs2_block_to_cluster_group(bitmap_inode, start_blk, &bg_blkno, in _ocfs2_free_clusters() 2970 (unsigned long long)start_blk, in _ocfs2_free_clusters() 2991 u64 start_blk, in ocfs2_free_clusters() argument 2995 start_blk, num_clusters, in ocfs2_free_clusters() [all …]
|
| H A D | alloc.c | 4717 u64 start_blk, in ocfs2_insert_extent() argument 4734 rec.e_blkno = cpu_to_le64(start_blk); in ocfs2_insert_extent() 5853 u64 start_blk, in ocfs2_truncate_log_append() argument 5865 start_cluster = ocfs2_blocks_to_clusters(osb->sb, start_blk); in ocfs2_truncate_log_append() 5934 u64 start_blk; in ocfs2_replay_truncate_records() local 5968 start_blk = ocfs2_clusters_to_blocks(data_alloc_inode->i_sb, in ocfs2_replay_truncate_records() 5974 if (start_blk) { in ocfs2_replay_truncate_records() 5980 data_alloc_bh, start_blk, in ocfs2_replay_truncate_records() 6282 u64 start_blk; in ocfs2_complete_truncate_log_recovery() local 6317 start_blk = ocfs2_clusters_to_blocks(osb->sb, start_cluster); in ocfs2_complete_truncate_log_recovery() [all …]
|
| H A D | dir.c | 2431 int num_dx_leaves, u64 start_blk) in ocfs2_dx_dir_format_cluster() argument 2438 bh = sb_getblk(osb->sb, start_blk + i); in ocfs2_dx_dir_format_cluster()
|
| /linux/fs/nilfs2/ |
| H A D | page.h | 49 sector_t start_blk,
|
| H A D | page.c | 507 sector_t start_blk, in nilfs_find_uncommitted_extent() argument 519 index = start_blk >> (PAGE_SHIFT - inode->i_blkbits); in nilfs_find_uncommitted_extent() 541 if (b < start_blk) in nilfs_find_uncommitted_extent()
|
| /linux/fs/f2fs/ |
| H A D | super.c | 4742 return GET_SEGNO(sbi, FDEV(devi).start_blk + blks); in get_first_seq_zone_segno() 4788 FDEV(i).start_blk = 0; in f2fs_scan_devices() 4804 FDEV(i).start_blk = 0; in f2fs_scan_devices() 4805 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_scan_devices() 4812 FDEV(i).start_blk = FDEV(i - 1).end_blk + 1; in f2fs_scan_devices() 4813 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_scan_devices() 4845 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_scan_devices() 4852 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_scan_devices()
|
| H A D | extent_cache.c | 47 if (FDEV(devi).start_blk != ei.blk || in sanity_check_extent_cache()
|