Home
last modified time | relevance | path

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

/fs/ext4/
Dblock_validity.c25 ext4_fsblk_t start_blk; member
47 if ((entry1->start_blk + entry1->count) == entry2->start_blk) in can_merge()
58 ext4_fsblk_t start_blk, in add_system_zone() argument
68 if (start_blk < entry->start_blk) in add_system_zone()
70 else if (start_blk >= (entry->start_blk + entry->count)) in add_system_zone()
73 if (start_blk + count > (entry->start_blk + in add_system_zone()
75 entry->count = (start_blk + count - in add_system_zone()
76 entry->start_blk); in add_system_zone()
89 new_entry->start_blk = start_blk; in add_system_zone()
102 new_entry->start_blk = entry->start_blk; in add_system_zone()
[all …]
Dresize.c237 ext4_fsblk_t start_blk; in ext4_alloc_group_tables() local
259 start_blk = ext4_group_first_block_no(sb, src_group); in ext4_alloc_group_tables()
260 last_blk = start_blk + group_data[src_group - group].blocks_count; in ext4_alloc_group_tables()
264 start_blk += overhead; in ext4_alloc_group_tables()
278 if (start_blk >= last_blk) in ext4_alloc_group_tables()
280 group_data[bb_index].block_bitmap = start_blk++; in ext4_alloc_group_tables()
281 group = ext4_get_group_number(sb, start_blk - 1); in ext4_alloc_group_tables()
289 if (start_blk >= last_blk) in ext4_alloc_group_tables()
291 group_data[ib_index].inode_bitmap = start_blk++; in ext4_alloc_group_tables()
292 group = ext4_get_group_number(sb, start_blk - 1); in ext4_alloc_group_tables()
[all …]
Dextents.c5154 ext4_lblk_t start_blk; in ext4_fiemap() local
5186 start_blk = start >> inode->i_sb->s_blocksize_bits; in ext4_fiemap()
5190 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_fiemap()
5196 error = ext4_fill_fiemap_extents(inode, start_blk, in ext4_fiemap()
Dext4.h2895 ext4_fsblk_t start_blk,
/fs/f2fs/
Dcheckpoint.c269 block_t start_blk, orphan_blkaddr, i, j; in recover_orphan_inodes() local
275 start_blk = __start_cp_addr(sbi) + 1; in recover_orphan_inodes()
279 struct page *page = get_meta_page(sbi, start_blk + i); in recover_orphan_inodes()
295 static void write_orphan_inodes(struct f2fs_sb_info *sbi, block_t start_blk) in write_orphan_inodes() argument
328 start_blk++; in write_orphan_inodes()
335 page = grab_meta_page(sbi, start_blk); in write_orphan_inodes()
595 block_t start_blk; in do_checkpoint() local
671 start_blk = __start_cp_addr(sbi); in do_checkpoint()
674 cp_page = grab_meta_page(sbi, start_blk++); in do_checkpoint()
681 write_orphan_inodes(sbi, start_blk); in do_checkpoint()
[all …]
Dsegment.c1231 void write_data_summaries(struct f2fs_sb_info *sbi, block_t start_blk) in write_data_summaries() argument
1234 write_compacted_summaries(sbi, start_blk); in write_data_summaries()
1236 write_normal_summaries(sbi, start_blk, CURSEG_HOT_DATA); in write_data_summaries()
1239 void write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk) in write_node_summaries() argument
1242 write_normal_summaries(sbi, start_blk, CURSEG_HOT_NODE); in write_node_summaries()
/fs/
Dioctl.c255 sector_t start_blk, last_blk; in __generic_block_fiemap() local
283 start_blk = logical_to_blk(inode, start); in __generic_block_fiemap()
294 ret = get_block(inode, start_blk, &map_bh, 0); in __generic_block_fiemap()
300 start_blk++; in __generic_block_fiemap()
310 blk_to_logical(inode, start_blk) >= isize) in __generic_block_fiemap()
329 if (start_blk > last_blk || past_eof || ret) in __generic_block_fiemap()
347 if (start_blk > last_blk && !whole_file) { in __generic_block_fiemap()
366 logical = blk_to_logical(inode, start_blk); in __generic_block_fiemap()
371 start_blk += logical_to_blk(inode, size); in __generic_block_fiemap()
/fs/xfs/
Dxfs_log_recover.c444 xfs_daddr_t start_blk, in xlog_find_verify_cycle() argument
471 for (i = start_blk; i < start_blk + nbblks; i += bufblks) { in xlog_find_verify_cycle()
474 bcount = min(bufblks, (start_blk + nbblks - i)); in xlog_find_verify_cycle()
513 xfs_daddr_t start_blk, in xlog_find_verify_log_record() argument
523 int num_blks = *last_blk - start_blk; in xlog_find_verify_log_record()
526 ASSERT(start_blk != 0 || *last_blk != start_blk); in xlog_find_verify_log_record()
533 error = xlog_bread(log, start_blk, num_blks, bp, &offset); in xlog_find_verify_log_record()
540 if (i < start_blk) { in xlog_find_verify_log_record()
627 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local
752 start_blk = head_blk - num_scan_bblks; in xlog_find_head()
[all …]
/fs/ocfs2/
Dsuballoc.h132 u64 start_blk,
137 u64 start_blk,
Dalloc.h99 u64 start_blk,
188 u64 start_blk,
Docfs2_trace.h739 TP_PROTO(int count, int bit, unsigned long long start_blk,
741 TP_ARGS(count, bit, start_blk, blkno),
745 __field(unsigned long long, start_blk)
751 __entry->start_blk = start_blk;
755 __entry->count, __entry->bit, __entry->start_blk,
854 TP_PROTO(unsigned long long bg_blkno, unsigned long long start_blk,
856 TP_ARGS(bg_blkno, start_blk, start_bit, count),
859 __field(unsigned long long, start_blk)
865 __entry->start_blk = start_blk;
869 TP_printk("%llu %llu %u %u", __entry->bg_blkno, __entry->start_blk,
Dsuballoc.c2539 u64 start_blk, in _ocfs2_free_clusters() argument
2554 …BUG_ON(start_blk != ocfs2_clusters_to_blocks(bitmap_inode->i_sb, ocfs2_blocks_to_clusters(bitmap_i… in _ocfs2_free_clusters()
2558 ocfs2_block_to_cluster_group(bitmap_inode, start_blk, &bg_blkno, in _ocfs2_free_clusters()
2562 (unsigned long long)start_blk, in _ocfs2_free_clusters()
2585 u64 start_blk, in ocfs2_free_clusters() argument
2589 start_blk, num_clusters, in ocfs2_free_clusters()
2600 u64 start_blk, in ocfs2_release_clusters() argument
2604 start_blk, num_clusters, in ocfs2_release_clusters()
Dalloc.c4668 u64 start_blk, in ocfs2_insert_extent() argument
4685 rec.e_blkno = cpu_to_le64(start_blk); in ocfs2_insert_extent()
5782 u64 start_blk, in ocfs2_truncate_log_append() argument
5794 start_cluster = ocfs2_blocks_to_clusters(osb->sb, start_blk); in ocfs2_truncate_log_append()
5864 u64 start_blk; in ocfs2_replay_truncate_records() local
5899 start_blk = ocfs2_clusters_to_blocks(data_alloc_inode->i_sb, in ocfs2_replay_truncate_records()
5905 if (start_blk) { in ocfs2_replay_truncate_records()
5911 data_alloc_bh, start_blk, in ocfs2_replay_truncate_records()
6152 u64 start_blk; in ocfs2_complete_truncate_log_recovery() local
6187 start_blk = ocfs2_clusters_to_blocks(osb->sb, start_cluster); in ocfs2_complete_truncate_log_recovery()
[all …]
Ddir.c2469 int num_dx_leaves, u64 start_blk) in ocfs2_dx_dir_format_cluster() argument
2476 bh = sb_getblk(osb->sb, start_blk + i); in ocfs2_dx_dir_format_cluster()
/fs/nilfs2/
Dpage.c516 sector_t start_blk, in nilfs_find_uncommitted_extent() argument
530 index = start_blk >> (PAGE_CACHE_SHIFT - inode->i_blkbits); in nilfs_find_uncommitted_extent()
555 if (b < start_blk) in nilfs_find_uncommitted_extent()
Dpage.h64 sector_t start_blk,