Home
last modified time | relevance | path

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

/linux/fs/ext4/
H A Dblock_validity.c26 ext4_fsblk_t start_blk;
50 if ((entry1->start_blk + entry1->count) == entry2->start_blk && in can_merge()
71 ext4_fsblk_t start_blk, in add_system_zone()
78 if (!count || (start_blk + count < start_blk)) in add_system_zone()
84 if (start_blk + count <= entry->start_blk) in add_system_zone()
86 else if (start_blk >= (entry->start_blk in add_system_zone()
25 ext4_fsblk_t start_blk; global() member
70 add_system_zone(struct ext4_system_blocks * system_blks,ext4_fsblk_t start_blk,unsigned int count,u32 ino) add_system_zone() argument
296 ext4_sb_block_valid(struct super_block * sb,struct inode * inode,ext4_fsblk_t start_blk,unsigned int count) ext4_sb_block_valid() argument
343 ext4_inode_block_valid(struct inode * inode,ext4_fsblk_t start_blk,unsigned int count) ext4_inode_block_valid() argument
[all...]
H A Dresize.c305 ext4_fsblk_t start_blk; in ext4_alloc_group_tables()
328 start_blk = ext4_group_first_block_no(sb, src_group); in ext4_alloc_group_tables()
329 last_blk = start_blk + group_data[src_group - group].blocks_count; in ext4_alloc_group_tables()
333 start_blk += overhead; in ext4_alloc_group_tables()
347 if (start_blk >= last_blk) in ext4_alloc_group_tables()
349 group_data[bb_index].block_bitmap = start_blk++; in ext4_alloc_group_tables()
350 group = ext4_get_group_number(sb, start_blk - 1); in ext4_alloc_group_tables()
358 if (start_blk >= last_blk) in ext4_alloc_group_tables()
360 group_data[ib_index].inode_bitmap = start_blk++; in ext4_alloc_group_tables()
361 group = ext4_get_group_number(sb, start_blk in ext4_alloc_group_tables()
308 ext4_fsblk_t start_blk; ext4_alloc_group_tables() local
[all...]
H A Dextents.c5448 ext4_lblk_t start_blk, len_blks; in ext4_ext_shift_path_extents()
5479 start_blk = start >> inode->i_sb->s_blocksize_bits; in ext4_ext_shift_path_extents()
5483 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_ext_shift_path_extents()
5489 return ext4_fill_es_cache_info(inode, start_blk, len_blks, fieinfo);
5345 ext4_lblk_t start_blk, len_blks; ext4_get_es_cache() local
H A Dext4.h4176 ext4_fsblk_t start_blk,
4181 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; xlog_find_head() local
1396 xfs_daddr_t new_blk, last_blk, start_blk; xlog_find_zeroed() local
[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 in ifs_find_dirty_range()
[all...]
/linux/fs/f2fs/
H A Dcheckpoint.c1000 block_t start_blk, orphan_blocks, i, j; in recover_orphan_inode()
1014 start_blk = __start_cp_addr(sbi) + 1 + __cp_payload(sbi); in recover_orphan_inode()
1017 f2fs_ra_meta_caches(sbi, start_blk, orphan_blocks, META_CP, true); in recover_orphan_inode()
1025 entry = f2fs_get_meta_cache(sbi, start_blk + i); in f2fs_recover_orphan_inodes()
1063 static void write_orphan_inodes(struct f2fs_sb_info *sbi, block_t start_blk) in f2fs_recover_orphan_inodes()
1087 entry = f2fs_grab_meta_cache(sbi, start_blk++); in write_orphan_inodes()
1758 block_t start_blk; in check_cp_time()
1824 start_blk = __start_cp_next_addr(sbi); in do_checkpoint()
1834 blk = start_blk + BLKS_PER_SEG(sbi) - nm_i->nat_bits_blocks; in do_checkpoint()
1841 f2fs_update_meta_block(sbi, ckpt, start_blk in do_checkpoint()
1023 block_t start_blk, orphan_blocks, i, j; f2fs_recover_orphan_inodes() local
1084 write_orphan_inodes(struct f2fs_sb_info * sbi,block_t start_blk) write_orphan_inodes() argument
1786 block_t start_blk; do_checkpoint() local
[all...]
H A Ddata.c467 if (FDEV(i).start_blk <= blk_addr && in f2fs_io_flags()
469 blk_addr -= FDEV(i).start_blk; in f2fs_io_flags()
489 if (FDEV(i).start_blk <= blkaddr && FDEV(i).end_blk >= blkaddr) in f2fs_io_flags()
1137 if (blkaddr < FDEV(devi).start_blk || in f2fs_grab_read_bio()
1142 blkaddr -= FDEV(devi).start_blk; in f2fs_grab_read_bio()
1851 map->m_pblk -= dev->start_blk; in f2fs_map_blocks()
2133 map->m_pblk -= FDEV(bidx).start_blk; in f2fs_fiemap()
2280 sector_t start_blk, last_blk, blk_len, max_len; in f2fs_read_single_page()
2322 start_blk = F2FS_BYTES_TO_BLK(sbi, start); in f2fs_read_multi_pages()
2324 blk_len = last_blk - start_blk in f2fs_read_multi_pages()
2047 sector_t start_blk, last_blk, blk_len, max_len; f2fs_fiemap() local
4187 f2fs_migrate_blocks(struct inode * inode,block_t start_blk,unsigned int blkcnt) f2fs_migrate_blocks() argument
[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.c1633 blkstart -= FDEV(devi).start_blk; in __issue_discard_cmd_orderly()
2098 if (blkstart < FDEV(devi).start_blk || in f2fs_issue_discard()
2103 blkstart -= FDEV(devi).start_blk; in f2fs_issue_discard()
4732 void f2fs_write_data_summaries(struct f2fs_sb_info *sbi, block_t start_blk) in adjust_sit_entry_set()
4735 write_compacted_summaries(sbi, start_blk); in adjust_sit_entry_set()
4737 write_normal_summaries(sbi, start_blk, CURSEG_HOT_DATA); in adjust_sit_entry_set()
4740 void f2fs_write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk) in adjust_sit_entry_set()
4742 write_normal_summaries(sbi, start_blk, CURSEG_HOT_NODE); in adjust_sit_entry_set()
5169 unsigned int readed, start_blk = 0; in build_sit_entries()
5174 readed = f2fs_ra_meta_caches(sbi, start_blk, BIO_MAX_VEC in build_sit_entries()
4653 f2fs_write_data_summaries(struct f2fs_sb_info * sbi,block_t start_blk) f2fs_write_data_summaries() argument
4661 f2fs_write_node_summaries(struct f2fs_sb_info * sbi,block_t start_blk) f2fs_write_node_summaries() argument
5088 unsigned int readed, start_blk = 0; build_sit_entries() local
[all...]
H A Dsegment.h981 block_t start_blk = START_BLOCK(sbi, GET_SEG_FROM_SEC(sbi, secno)); in nr_pages_to_skip()
982 int devi = f2fs_target_device_index(sbi, start_blk); in nr_pages_to_skip()
964 block_t start_blk = START_BLOCK(sbi, GET_SEG_FROM_SEC(sbi, secno)); sec_usage_check() local
H A Dsuper.c4994 return GET_SEGNO(sbi, FDEV(devi).start_blk + blks); in f2fs_setup_casefold()
5040 FDEV(i).start_blk = 0; in f2fs_tuning_parameters()
5056 FDEV(i).start_blk = 0; in f2fs_restore_device_alias()
5057 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_restore_device_alias()
5064 FDEV(i).start_blk = FDEV(i - 1).end_blk + 1; in f2fs_restore_device_alias()
5065 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_restore_device_alias()
5097 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_fill_super()
5104 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_fill_super()
H A Df2fs.h1403 block_t start_blk;
4230 void f2fs_write_data_summaries(struct f2fs_sb_info *sbi, block_t start_blk);
4231 void f2fs_write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk);
5136 if (blkaddr < FDEV(devi).start_blk || in __f2fs_schedule_timeout()
5141 blkaddr -= FDEV(devi).start_blk; in __f2fs_schedule_timeout()
1410 block_t start_blk; global() member
H A Dextent_cache.c48 if (FDEV(devi).start_blk != ei.blk || in sanity_check_extent_cache()
H A Dfile.c3451 dev_start_segno = GET_SEGNO(sbi, FDEV(range.dev_num).start_blk); in f2fs_ioc_flush_device()
3751 ei->blk = FDEV(i).start_blk; in f2fs_ioc_reserve_dev_alias()
4661 blkaddr -= FDEV(di).start_blk; in f2fs_sec_trim_file()
H A Dsysfs.c1939 FDEV(i).start_blk, FDEV(i).end_blk, in donation_list_seq_show()
/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/ocfs2/
H A Dsuballoc.h137 u64 start_blk,
142 u64 start_blk,
/linux/fs/nilfs2/
H A Dpage.h49 sector_t start_blk,
/linux/fs/ext2/
H A Dext2.h704 extern int ext2_data_block_valid(struct ext2_sb_info *sbi, ext2_fsblk_t start_blk,