Home
last modified time | relevance | path

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

/linux/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()
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 Dresize.c308 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 Dextents.c5345 ext4_lblk_t start_blk, len_blks; in ext4_get_es_cache() local
5376 start_blk = start >> inode->i_sb->s_blocksize_bits; in ext4_get_es_cache()
5380 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_get_es_cache()
5386 return ext4_fill_es_cache_info(inode, start_blk, len_blks, fieinfo); in ext4_get_es_cache()
H A Dext4.h3886 ext4_fsblk_t start_blk,
3891 ext4_fsblk_t start_blk, unsigned int count);
/linux/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()
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 Dbuffered-io.c48 unsigned start_blk, unsigned end_blk) in ifs_next_uptodate_block() argument
52 return find_next_bit(ifs->state, end_blk + 1, start_blk); in ifs_next_uptodate_block()
60 unsigned start_blk, unsigned end_blk) in ifs_next_nonuptodate_block() argument
64 return find_next_zero_bit(ifs->state, end_blk + 1, start_blk); in ifs_next_nonuptodate_block()
121 unsigned start_blk, unsigned end_blk) in ifs_next_dirty_block() argument
128 blks + start_blk) - blks; in ifs_next_dirty_block()
136 unsigned start_blk, unsigned end_blk) in ifs_next_clean_block() argument
143 blks + start_blk) - blks; in ifs_next_clean_block()
150 unsigned start_blk = in ifs_find_dirty_range() local
157 start_blk = ifs_next_dirty_block(folio, start_blk, end_blk); in ifs_find_dirty_range()
[all …]
/linux/fs/f2fs/
H A Dcheckpoint.c1023 block_t start_blk, orphan_blocks, i, j; in f2fs_recover_orphan_inodes() local
1037 start_blk = __start_cp_addr(sbi) + 1 + __cp_payload(sbi); in f2fs_recover_orphan_inodes()
1040 f2fs_ra_meta_pages(sbi, start_blk, orphan_blocks, META_CP, true); in f2fs_recover_orphan_inodes()
1047 folio = f2fs_get_meta_folio(sbi, start_blk + i); in f2fs_recover_orphan_inodes()
1084 static void write_orphan_inodes(struct f2fs_sb_info *sbi, block_t start_blk) in write_orphan_inodes() argument
1107 folio = f2fs_grab_meta_folio(sbi, start_blk++); in write_orphan_inodes()
1786 block_t start_blk; in do_checkpoint() local
1852 start_blk = __start_cp_next_addr(sbi); in do_checkpoint()
1862 blk = start_blk + BLKS_PER_SEG(sbi) - nm_i->nat_bits_blocks; in do_checkpoint()
1869 f2fs_update_meta_page(sbi, ckpt, start_blk++); in do_checkpoint()
[all …]
H A Ddata.c432 if (FDEV(i).start_blk <= blk_addr && in f2fs_target_device()
434 blk_addr -= FDEV(i).start_blk; in f2fs_target_device()
454 if (FDEV(i).start_blk <= blkaddr && FDEV(i).end_blk >= blkaddr) in f2fs_target_device_index()
1022 if (blkaddr < FDEV(devi).start_blk || in is_end_zone_blkaddr()
1027 blkaddr -= FDEV(devi).start_blk; in is_end_zone_blkaddr()
1619 map->m_pblk -= dev->start_blk; in f2fs_map_blocks_cached()
1901 map->m_pblk -= FDEV(bidx).start_blk; in f2fs_map_blocks()
2047 sector_t start_blk, last_blk, blk_len, max_len; in f2fs_fiemap() local
2089 start_blk = F2FS_BYTES_TO_BLK(start); in f2fs_fiemap()
2091 blk_len = last_blk - start_blk + 1; 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.c1623 blkstart -= FDEV(devi).start_blk; in __queue_discard_cmd()
2034 if (blkstart < FDEV(devi).start_blk || in __f2fs_issue_discard_zone()
2039 blkstart -= FDEV(devi).start_blk; in __f2fs_issue_discard_zone()
4653 void f2fs_write_data_summaries(struct f2fs_sb_info *sbi, block_t start_blk) in f2fs_write_data_summaries() argument
4656 write_compacted_summaries(sbi, start_blk); in f2fs_write_data_summaries()
4658 write_normal_summaries(sbi, start_blk, CURSEG_HOT_DATA); in f2fs_write_data_summaries()
4661 void f2fs_write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk) in f2fs_write_node_summaries() argument
4663 write_normal_summaries(sbi, start_blk, CURSEG_HOT_NODE); in f2fs_write_node_summaries()
5088 unsigned int readed, start_blk = 0; in build_sit_entries() local
5093 readed = f2fs_ra_meta_pages(sbi, start_blk, BIO_MAX_VECS, in build_sit_entries()
[all …]
H A Dsegment.h964 block_t start_blk = START_BLOCK(sbi, GET_SEG_FROM_SEC(sbi, secno)); in sec_usage_check() local
965 int devi = f2fs_target_device_index(sbi, start_blk); in sec_usage_check()
H A Dsuper.c4867 return GET_SEGNO(sbi, FDEV(devi).start_blk + blks); in get_first_seq_zone_segno()
4913 FDEV(i).start_blk = 0; in f2fs_scan_devices()
4929 FDEV(i).start_blk = 0; in f2fs_scan_devices()
4930 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_scan_devices()
4937 FDEV(i).start_blk = FDEV(i - 1).end_blk + 1; in f2fs_scan_devices()
4938 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_scan_devices()
4970 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_scan_devices()
4977 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_scan_devices()
H A Df2fs.h1410 block_t start_blk; member
4121 void f2fs_write_data_summaries(struct f2fs_sb_info *sbi, block_t start_blk);
4122 void f2fs_write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk);
5024 if (blkaddr < FDEV(devi).start_blk || in f2fs_is_sequential_zone_area()
5029 blkaddr -= FDEV(devi).start_blk; in f2fs_is_sequential_zone_area()
H A Dextent_cache.c48 if (FDEV(devi).start_blk != ei.blk || in sanity_check_extent_cache()
H A Dfile.c3437 dev_start_segno = GET_SEGNO(sbi, FDEV(range.dev_num).start_blk); in f2fs_ioc_flush_device()
3737 ei->blk = FDEV(i).start_blk; in f2fs_get_dev_alias_extent()
4646 blkaddr -= FDEV(di).start_blk; in f2fs_sec_trim_file()
H A Dsysfs.c1909 FDEV(i).start_blk, FDEV(i).end_blk, in disk_map_seq_show()
/linux/fs/ocfs2/
H A Dsuballoc.h137 u64 start_blk,
142 u64 start_blk,
/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c2392 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 Dmbox_defs.h600 uint32_t start_blk; member
612 uint32_t start_blk; member
/linux/fs/nilfs2/
H A Dpage.h49 sector_t start_blk,