Home
last modified time | relevance | path

Searched refs:start_blk (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.15/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() 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()
305 (start_blk + count < start_blk) || in ext4_sb_block_valid()
322 if (start_blk + count - 1 < entry->start_blk) in ext4_sb_block_valid()
[all …]
H A Dresize.c309 ext4_fsblk_t start_blk; in ext4_alloc_group_tables() local
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()
362 if (start_blk >= last_blk) in ext4_alloc_group_tables()
376 if (start_blk + itb > last_blk) in ext4_alloc_group_tables()
378 group_data[it_index].inode_table = start_blk; in ext4_alloc_group_tables()
379 group = ext4_get_group_number(sb, start_blk); in ext4_alloc_group_tables()
383 if (start_blk + itb > next_group_start) { in ext4_alloc_group_tables()
385 overhead = start_blk + itb - next_group_start; in ext4_alloc_group_tables()
[all …]
H A Dextents.c4987 ext4_lblk_t start_blk, len_blks; in ext4_get_es_cache() local
5016 start_blk = start >> inode->i_sb->s_blocksize_bits; in ext4_get_es_cache()
5020 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_get_es_cache()
5026 return ext4_fill_es_cache_info(inode, start_blk, len_blks, fieinfo); in ext4_get_es_cache()
/linux-6.15/fs/xfs/
H A Dxfs_log_recover.c314 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()
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()
425 if (i < start_blk) { in xlog_find_verify_log_record()
634 start_blk, num_scan_bblks, in xlog_find_head()
684 start_blk = 0; in xlog_find_head()
687 start_blk, (int)head_blk, in xlog_find_head()
710 start_blk = 0; in xlog_find_head()
[all …]
/linux-6.15/fs/f2fs/
H A Dcheckpoint.c733 block_t start_blk, orphan_blocks, i, j; in f2fs_recover_orphan_inodes() local
1464 block_t start_blk; in do_checkpoint() local
1528 start_blk = __start_cp_next_addr(sbi); in do_checkpoint()
1549 start_blk++); in do_checkpoint()
1552 write_orphan_inodes(sbi, start_blk); in do_checkpoint()
1553 start_blk += orphan_blocks; in do_checkpoint()
1556 f2fs_write_data_summaries(sbi, start_blk); in do_checkpoint()
1557 start_blk += data_sum_blocks; in do_checkpoint()
1566 f2fs_write_node_summaries(sbi, start_blk); in do_checkpoint()
1567 start_blk += NR_CURSEG_NODE_TYPE; in do_checkpoint()
[all …]
H A Ddata.c392 if (FDEV(i).start_blk <= blk_addr && in f2fs_target_device()
394 blk_addr -= FDEV(i).start_blk; in f2fs_target_device()
933 if (blkaddr < FDEV(devi).start_blk || in is_end_zone_blkaddr()
938 blkaddr -= FDEV(devi).start_blk; in is_end_zone_blkaddr()
1510 map->m_pblk -= dev->start_blk; in f2fs_map_blocks_cached()
1943 start_blk = F2FS_BYTES_TO_BLK(start); in f2fs_fiemap()
1945 blk_len = last_blk - start_blk + 1; in f2fs_fiemap()
1950 map.m_lblk = start_blk; in f2fs_fiemap()
1966 start_blk = next_pgofs; in f2fs_fiemap()
2006 if (start_blk > last_blk) in f2fs_fiemap()
[all …]
H A Ddebug.c75 block_t start_blk, end_blk; in update_multidevice_stats() local
78 start_blk = MAIN_BLKADDR(sbi); in update_multidevice_stats()
81 start_blk = FDEV(i).start_blk; in update_multidevice_stats()
85 start_segno = GET_SEGNO(sbi, start_blk); in update_multidevice_stats()
H A Dsegment.c1582 blkstart -= FDEV(devi).start_blk; in __queue_discard_cmd()
1983 if (blkstart < FDEV(devi).start_blk || in __f2fs_issue_discard_zone()
1988 blkstart -= FDEV(devi).start_blk; in __f2fs_issue_discard_zone()
4462 write_compacted_summaries(sbi, start_blk); in f2fs_write_data_summaries()
4469 write_normal_summaries(sbi, start_blk, CURSEG_HOT_NODE); in f2fs_write_node_summaries()
4906 unsigned int readed, start_blk = 0; in build_sit_entries() local
4914 start = start_blk * sit_i->sents_per_block; in build_sit_entries()
4915 end = (start_blk + readed) * sit_i->sents_per_block; in build_sit_entries()
4962 start_blk += readed; in build_sit_entries()
4963 } while (start_blk < sit_blk_cnt); in build_sit_entries()
[all …]
H A Dsuper.c4313 return GET_SEGNO(sbi, FDEV(devi).start_blk); in get_first_zoned_segno()
4362 FDEV(i).start_blk = 0; in f2fs_scan_devices()
4363 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_scan_devices()
4368 FDEV(i).start_blk = FDEV(i - 1).end_blk + 1; in f2fs_scan_devices()
4369 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_scan_devices()
4401 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_scan_devices()
4408 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_scan_devices()
H A Dextent_cache.c47 if (FDEV(devi).start_blk != ei.blk || in sanity_check_extent_cache()
/linux-6.15/fs/ocfs2/
H A Dsuballoc.h137 u64 start_blk,
142 u64 start_blk,
H A Dalloc.h84 u64 start_blk,
172 u64 start_blk,
H A Docfs2_trace.h742 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 Dsuballoc.c2646 u64 start_blk, in _ocfs2_free_clusters() argument
2660 BUG_ON(start_blk != ocfs2_clusters_to_blocks(bitmap_inode->i_sb, in _ocfs2_free_clusters()
2662 start_blk))); in _ocfs2_free_clusters()
2665 ocfs2_block_to_cluster_group(bitmap_inode, start_blk, &bg_blkno, in _ocfs2_free_clusters()
2669 (unsigned long long)start_blk, in _ocfs2_free_clusters()
2690 u64 start_blk, in ocfs2_free_clusters() argument
2694 start_blk, num_clusters, in ocfs2_free_clusters()
2705 u64 start_blk, in ocfs2_release_clusters() argument
2709 start_blk, num_clusters, in ocfs2_release_clusters()
H A Dalloc.c4717 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()
6280 u64 start_blk; in ocfs2_complete_truncate_log_recovery() local
6315 start_blk = ocfs2_clusters_to_blocks(osb->sb, start_cluster); in ocfs2_complete_truncate_log_recovery()
[all …]
/linux-6.15/fs/ext2/
H A Dballoc.c1177 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()
H A Dext2.h707 extern int ext2_data_block_valid(struct ext2_sb_info *sbi, ext2_fsblk_t start_blk,
/linux-6.15/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()
/linux-6.15/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c2394 u64 start_blk = io_info->pdBlock; in megasas_set_pd_lba() local
2414 cdb[12] = (u8)((start_blk >> 56) & 0xff); in megasas_set_pd_lba()
2420 cdb[18] = (u8)((start_blk >> 8) & 0xff); in megasas_set_pd_lba()
2421 cdb[19] = (u8)(start_blk & 0xff); in megasas_set_pd_lba()
2454 (start_blk <= 0xffffffff)) { in megasas_set_pd_lba()
2525 cdb[3] = (u8)(start_blk & 0xff); in megasas_set_pd_lba()
2526 cdb[2] = (u8)((start_blk >> 8) & 0xff); in megasas_set_pd_lba()
2531 cdb[5] = (u8)(start_blk & 0xff); in megasas_set_pd_lba()
2532 cdb[4] = (u8)((start_blk >> 8) & 0xff); in megasas_set_pd_lba()
2537 cdb[5] = (u8)(start_blk & 0xff); in megasas_set_pd_lba()
[all …]
H A Dmbox_defs.h600 uint32_t start_blk; member
612 uint32_t start_blk; member
/linux-6.15/drivers/s390/char/
H A Dsclp_sdias.c166 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()
/linux-6.15/fs/nilfs2/
H A Dpage.h49 sector_t start_blk,
H A Dpage.c507 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-6.15/fs/iomap/
H A Dbuffered-io.c97 unsigned start_blk = in ifs_find_dirty_range() local
104 while (!ifs_block_is_dirty(folio, ifs, start_blk)) in ifs_find_dirty_range()
105 if (++start_blk == end_blk) in ifs_find_dirty_range()
108 while (start_blk + nblks < end_blk) { in ifs_find_dirty_range()
109 if (!ifs_block_is_dirty(folio, ifs, start_blk + nblks)) in ifs_find_dirty_range()
114 *range_start = folio_pos(folio) + (start_blk << inode->i_blkbits); in ifs_find_dirty_range()
/linux-6.15/drivers/scsi/
H A Dmegaraid.h402 u32 start_blk; /* starting block */ member
408 u32 start_blk; /* starting block */ member

12