| /fs/ |
| A D | mpage.c | 162 sector_t first_block; in do_mpage_readpage() local 198 first_block = map_bh->b_blocknr + map_offset; in do_mpage_readpage() 252 first_block = map_bh->b_blocknr; in do_mpage_readpage() 253 else if (first_block + page_block != map_bh->b_blocknr) in do_mpage_readpage() 458 sector_t first_block; in mpage_write_folio() local 496 if (bh->b_blocknr != first_block + page_block) in mpage_write_folio() 499 first_block = bh->b_blocknr; in mpage_write_folio() 550 if (map_bh.b_blocknr != first_block + page_block) in mpage_write_folio() 553 first_block = map_bh.b_blocknr; in mpage_write_folio() 587 if (bio && mpd->last_block_in_bio != first_block - 1) in mpage_write_folio() [all …]
|
| /fs/ext4/ |
| A D | readpage.c | 224 sector_t first_block; in ext4_mpage_readpages() local 272 first_block = map.m_pblk + map_offset; in ext4_mpage_readpages() 316 first_block = map.m_pblk; in ext4_mpage_readpages() 317 else if (first_block + page_block != map.m_pblk) in ext4_mpage_readpages() 348 if (bio && (last_block_in_bio != first_block - 1 || in ext4_mpage_readpages() 364 bio->bi_iter.bi_sector = first_block << (blkbits - 9); in ext4_mpage_readpages() 380 last_block_in_bio = first_block + blocks_per_folio - 1; in ext4_mpage_readpages()
|
| A D | migrate.c | 17 ext4_lblk_t first_block, last_block, curr_block; member 32 newext.ee_block = cpu_to_le32(lb->first_block); in finish_range() 33 newext.ee_len = cpu_to_le16(lb->last_block - lb->first_block + 1); in finish_range() 37 path = ext4_find_extent(inode, lb->first_block, NULL, 0); in finish_range() 50 lb->last_block - lb->first_block + 1, path); in finish_range() 85 lb->first_block = lb->last_block = lb->curr_block; in update_extent_range()
|
| A D | indirect.c | 543 ext4_fsblk_t first_block = 0; in ext4_ind_map_blocks() local 558 first_block = le32_to_cpu(chain[depth - 1].key); in ext4_ind_map_blocks() 566 if (blk == first_block + count) in ext4_ind_map_blocks()
|
| A D | super.c | 3287 last_block = first_block + in ext4_check_descriptors() 3354 if (inode_table < first_block || in ext4_check_descriptors() 3374 first_block += EXT4_BLOCKS_PER_GROUP(sb); in ext4_check_descriptors() 4117 ext4_fsblk_t first_block, last_block, b; in count_overhead() local 4127 first_block = le32_to_cpu(sbi->s_es->s_first_data_block) + in count_overhead() 4129 last_block = first_block + EXT4_BLOCKS_PER_GROUP(sb) - 1; in count_overhead() 4133 if (b >= first_block && b <= last_block) { in count_overhead() 4134 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead() 4138 if (b >= first_block && b <= last_block) { in count_overhead() 4139 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead() [all …]
|
| A D | resize.c | 1174 ext4_fsblk_t first_block = ext4_group_first_block_no(sb, group); in update_backups() local 1184 backup_block = first_block + has_super; in update_backups() 1204 if (has_super && (backup_block == first_block)) in update_backups()
|
| A D | mballoc.c | 1355 int first_block; in ext4_mb_init_cache() local 1426 first_block = folio->index * blocks_per_page; in ext4_mb_init_cache() 1428 group = (first_block + i) >> 1; in ext4_mb_init_cache() 1459 if ((first_block + i) & 1) { in ext4_mb_init_cache()
|
| /fs/udf/ |
| A D | balloc.c | 176 uint16_t partition, uint32_t first_block, in udf_bitmap_prealloc_blocks() argument 188 if (first_block >= part_len) in udf_bitmap_prealloc_blocks() 191 if (first_block + block_count > part_len) in udf_bitmap_prealloc_blocks() 192 block_count = part_len - first_block; in udf_bitmap_prealloc_blocks() 494 uint32_t first_block, uint32_t block_count) in udf_table_prealloc_blocks() argument 522 while (first_block != eloc.logicalBlockNum) { in udf_table_prealloc_blocks() 529 eloc.logicalBlockNum, elen, first_block); in udf_table_prealloc_blocks() 532 if (first_block == eloc.logicalBlockNum) { in udf_table_prealloc_blocks() 689 uint16_t partition, uint32_t first_block, in udf_prealloc_blocks() argument 698 partition, first_block, in udf_prealloc_blocks() [all …]
|
| A D | truncate.c | 32 int first_block = (nelen + inode->i_sb->s_blocksize - 1) >> in extent_trunc() local 47 if (last_block > first_block) { in extent_trunc() 53 first_block, in extent_trunc() 54 last_block - first_block); in extent_trunc() 204 sector_t first_block = inode->i_size >> sb->s_blocksize_bits, offset; in udf_truncate_extents() local 217 ret = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset, &etype); in udf_truncate_extents()
|
| A D | inode.c | 656 sector_t first_block = newsize >> sb->s_blocksize_bits, offset; in udf_extend_file() local 678 err = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset, &etype); in udf_extend_file()
|
| /fs/nilfs2/ |
| A D | page.c | 33 unsigned long first_block; in __nilfs_get_folio_block() local 39 first_block = (unsigned long)index << (PAGE_SHIFT - blkbits); in __nilfs_get_folio_block() 40 bh = get_nth_bh(bh, block - first_block); in __nilfs_get_folio_block()
|
| A D | mdt.c | 370 unsigned long first_block = index << in nilfs_mdt_forget_block() local 372 bh = get_nth_bh(bh, block - first_block); in nilfs_mdt_forget_block()
|
| /fs/jbd2/ |
| A D | commit.c | 372 unsigned long first_block; in jbd2_journal_commit_transaction() local 754 jbd2_journal_get_log_tail(journal, &first_tid, &first_block); in jbd2_journal_commit_transaction() 758 long freed = first_block - journal->j_tail; in jbd2_journal_commit_transaction() 760 if (first_block < journal->j_tail) in jbd2_journal_commit_transaction() 900 jbd2_update_log_tail(journal, first_tid, first_block); in jbd2_journal_commit_transaction()
|
| /fs/ext2/ |
| A D | inode.c | 639 ext2_fsblk_t first_block = 0; in ext2_get_blocks() local 651 first_block = le32_to_cpu(chain[depth - 1].key); in ext2_get_blocks() 670 if (blk == first_block + count) in ext2_get_blocks() 810 unsigned long first_block = offset >> blkbits; in ext2_iomap_begin() local 824 (first_block << blkbits) < i_size_read(inode)) in ext2_iomap_begin() 835 ret = ext2_get_blocks(inode, first_block, max_blocks, in ext2_iomap_begin() 841 iomap->offset = (u64)first_block << blkbits; in ext2_iomap_begin()
|
| A D | super.c | 704 ext2_fsblk_t first_block = ext2_group_first_block_no(sb, i); in ext2_check_descriptors() local 707 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || in ext2_check_descriptors() 716 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || in ext2_check_descriptors() 725 if (le32_to_cpu(gdp->bg_inode_table) < first_block || in ext2_check_descriptors()
|
| /fs/efs/ |
| A D | super.c | 230 sb->first_block = be32_to_cpu(super->fs_firstcg); in efs_validate_super()
|
| A D | inode.c | 85 block = sb->fs_start + sb->first_block + in efs_iget()
|