Home
last modified time | relevance | path

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

/fs/ext4/
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 …]
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 …]
A Dextents.c5142 ext4_lblk_t start_blk, len_blks; in ext4_get_es_cache() local
5173 start_blk = start >> inode->i_sb->s_blocksize_bits; in ext4_get_es_cache()
5177 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_get_es_cache()
5183 return ext4_fill_es_cache_info(inode, start_blk, len_blks, fieinfo); in ext4_get_es_cache()
A Dext4.h3715 ext4_fsblk_t start_blk,
3720 ext4_fsblk_t start_blk, unsigned int count);
/fs/xfs/
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 …]
/fs/f2fs/
A Dcheckpoint.c726 block_t start_blk, orphan_blocks, i, j; in f2fs_recover_orphan_inodes() local
1450 block_t start_blk; in do_checkpoint() local
1514 start_blk = __start_cp_next_addr(sbi); in do_checkpoint()
1535 start_blk++); in do_checkpoint()
1538 write_orphan_inodes(sbi, start_blk); in do_checkpoint()
1539 start_blk += orphan_blocks; in do_checkpoint()
1542 f2fs_write_data_summaries(sbi, start_blk); in do_checkpoint()
1543 start_blk += data_sum_blocks; in do_checkpoint()
1552 f2fs_write_node_summaries(sbi, start_blk); in do_checkpoint()
1553 start_blk += NR_CURSEG_NODE_TYPE; in do_checkpoint()
[all …]
A Ddata.c390 if (FDEV(i).start_blk <= blk_addr && in f2fs_target_device()
392 blk_addr -= FDEV(i).start_blk; in f2fs_target_device()
930 if (blkaddr < FDEV(devi).start_blk || in is_end_zone_blkaddr()
935 blkaddr -= FDEV(devi).start_blk; in is_end_zone_blkaddr()
1507 map->m_pblk -= dev->start_blk; in f2fs_map_blocks_cached()
1945 start_blk = F2FS_BYTES_TO_BLK(start); in f2fs_fiemap()
1947 blk_len = last_blk - start_blk + 1; in f2fs_fiemap()
1952 map.m_lblk = start_blk; in f2fs_fiemap()
1968 start_blk = next_pgofs; in f2fs_fiemap()
2008 if (start_blk > last_blk) in f2fs_fiemap()
[all …]
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()
A Dsegment.c1592 blkstart -= FDEV(devi).start_blk; in __queue_discard_cmd()
1993 if (blkstart < FDEV(devi).start_blk || in __f2fs_issue_discard_zone()
1998 blkstart -= FDEV(devi).start_blk; in __f2fs_issue_discard_zone()
4495 write_compacted_summaries(sbi, start_blk); in f2fs_write_data_summaries()
4502 write_normal_summaries(sbi, start_blk, CURSEG_HOT_NODE); in f2fs_write_node_summaries()
4945 unsigned int readed, start_blk = 0; in build_sit_entries() local
4953 start = start_blk * sit_i->sents_per_block; in build_sit_entries()
4954 end = (start_blk + readed) * sit_i->sents_per_block; in build_sit_entries()
5001 start_blk += readed; in build_sit_entries()
5002 } while (start_blk < sit_blk_cnt); in build_sit_entries()
[all …]
A Dsuper.c4597 return GET_SEGNO(sbi, FDEV(devi).start_blk + blks); in get_first_seq_zone_segno()
4641 FDEV(i).start_blk = 0; in f2fs_scan_devices()
4657 FDEV(i).start_blk = 0; in f2fs_scan_devices()
4658 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_scan_devices()
4663 FDEV(i).start_blk = FDEV(i - 1).end_blk + 1; in f2fs_scan_devices()
4664 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_scan_devices()
4696 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_scan_devices()
4703 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_scan_devices()
A Df2fs.h1296 block_t start_blk; member
3887 void f2fs_write_data_summaries(struct f2fs_sb_info *sbi, block_t start_blk);
3888 void f2fs_write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk);
4745 if (blkaddr < FDEV(devi).start_blk || in f2fs_is_sequential_zone_area()
4750 blkaddr -= FDEV(devi).start_blk; in f2fs_is_sequential_zone_area()
A Dextent_cache.c47 if (FDEV(devi).start_blk != ei.blk || in sanity_check_extent_cache()
A Dsysfs.c1740 FDEV(i).start_blk, FDEV(i).end_blk, in disk_map_seq_show()
A Dfile.c3288 dev_start_segno = GET_SEGNO(sbi, FDEV(range.dev_num).start_blk); in f2fs_ioc_flush_device()
4257 blkaddr -= FDEV(di).start_blk; in f2fs_sec_trim_file()
/fs/ext2/
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()
A Dext2.h707 extern int ext2_data_block_valid(struct ext2_sb_info *sbi, ext2_fsblk_t start_blk,
/fs/ocfs2/
A Dsuballoc.h137 u64 start_blk,
142 u64 start_blk,
A Dalloc.h84 u64 start_blk,
172 u64 start_blk,
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,
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()
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 …]
A Ddir.c2410 int num_dx_leaves, u64 start_blk) in ocfs2_dx_dir_format_cluster() argument
2417 bh = sb_getblk(osb->sb, start_blk + i); in ocfs2_dx_dir_format_cluster()
/fs/nilfs2/
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()
A Dpage.h49 sector_t start_blk,
/fs/iomap/
A Dbuffered-io.c91 unsigned start_blk = in ifs_find_dirty_range() local
98 while (!ifs_block_is_dirty(folio, ifs, start_blk)) in ifs_find_dirty_range()
99 if (++start_blk == end_blk) in ifs_find_dirty_range()
102 while (start_blk + nblks < end_blk) { in ifs_find_dirty_range()
103 if (!ifs_block_is_dirty(folio, ifs, start_blk + nblks)) in ifs_find_dirty_range()
108 *range_start = folio_pos(folio) + (start_blk << inode->i_blkbits); in ifs_find_dirty_range()

Completed in 151 milliseconds