Home
last modified time | relevance | path

Searched refs:first_block (Results 1 – 17 of 17) sorted by relevance

/fs/xfs/
Dxfs_rename.c111 xfs_fsblock_t first_block; in xfs_rename() local
150 xfs_bmap_init(&free_list, &first_block); in xfs_rename()
234 src_ip->i_ino, &first_block, in xfs_rename()
275 &first_block, &free_list, spaceres); in xfs_rename()
308 &first_block, &free_list, spaceres); in xfs_rename()
340 &first_block, &free_list, spaceres); in xfs_rename()
Dxfs_vnodeops.c821 xfs_fsblock_t first_block; in xfs_inactive_symlink_rmt() local
865 xfs_bmap_init(&free_list, &first_block); in xfs_inactive_symlink_rmt()
868 XFS_BMAPI_METADATA, &first_block, 0, mval, &nmaps, in xfs_inactive_symlink_rmt()
884 &first_block, &free_list, NULL, &done))) in xfs_inactive_symlink_rmt()
1126 xfs_fsblock_t first_block; in xfs_inactive() local
1291 xfs_bmap_init(&free_list, &first_block); in xfs_inactive()
1395 xfs_fsblock_t first_block; in xfs_create() local
1464 xfs_bmap_init(&free_list, &first_block); in xfs_create()
1507 &first_block, &free_list, resblks ? in xfs_create()
1794 xfs_fsblock_t first_block; in xfs_remove() local
[all …]
Dxfs_iomap.c704 xfs_fsblock_t first_block; in xfs_iomap_write_allocate() local
754 xfs_bmap_init(&free_list, &first_block); in xfs_iomap_write_allocate()
805 XFS_BMAPI_WRITE, &first_block, 1, in xfs_iomap_write_allocate()
Dxfs_inode.c1475 xfs_fsblock_t first_block; in xfs_itruncate_finish() local
1617 xfs_bmap_init(&free_list, &first_block); in xfs_itruncate_finish()
1623 &first_block, &free_list, in xfs_itruncate_finish()
/fs/udf/
Dballoc.c230 uint16_t partition, uint32_t first_block, in udf_bitmap_prealloc_blocks() argument
242 if (first_block < 0 || first_block >= part_len) in udf_bitmap_prealloc_blocks()
245 if (first_block + block_count > part_len) in udf_bitmap_prealloc_blocks()
246 block_count = part_len - first_block; in udf_bitmap_prealloc_blocks()
250 block = first_block + (sizeof(struct spaceBitmapDesc) << 3); in udf_bitmap_prealloc_blocks()
664 uint32_t first_block, uint32_t block_count) in udf_table_prealloc_blocks() argument
674 if (first_block < 0 || in udf_table_prealloc_blocks()
675 first_block >= sbi->s_partmaps[partition].s_partition_len) in udf_table_prealloc_blocks()
692 while (first_block != eloc.logicalBlockNum && in udf_table_prealloc_blocks()
695 eloc.logicalBlockNum, elen, first_block); in udf_table_prealloc_blocks()
[all …]
Dtruncate.c37 int first_block = (nelen + inode->i_sb->s_blocksize - 1) >> in extent_trunc() local
52 if (last_block - first_block > 0) { in extent_trunc()
58 first_block, in extent_trunc()
59 last_block - first_block); in extent_trunc()
207 sector_t first_block = inode->i_size >> sb->s_blocksize_bits, offset; in udf_truncate_extents() local
219 etype = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset); in udf_truncate_extents()
/fs/ext4/
Dmigrate.c24 ext4_lblk_t first_block, last_block; member
39 newext.ee_block = cpu_to_le32(lb->first_block); in finish_range()
40 newext.ee_len = cpu_to_le16(lb->last_block - lb->first_block + 1); in finish_range()
42 path = ext4_ext_find_extent(inode, lb->first_block, NULL); in finish_range()
57 lb->last_block - lb->first_block + 1, path); in finish_range()
108 lb->first_block = lb->last_block = blk_num; in update_extent_range()
Dsuper.c1665 ext4_fsblk_t first_block = le32_to_cpu(sbi->s_es->s_first_data_block); in ext4_check_descriptors() local
1684 last_block = first_block + in ext4_check_descriptors()
1688 if (block_bitmap < first_block || block_bitmap > last_block) { in ext4_check_descriptors()
1695 if (inode_bitmap < first_block || inode_bitmap > last_block) { in ext4_check_descriptors()
1702 if (inode_table < first_block || in ext4_check_descriptors()
1722 first_block += EXT4_BLOCKS_PER_GROUP(sb); in ext4_check_descriptors()
Dmballoc.c749 int first_block; in ext4_mb_init_cache() local
848 first_block = page->index * blocks_per_page; in ext4_mb_init_cache()
855 group = (first_block + i) >> 1; in ext4_mb_init_cache()
872 if ((first_block + i) & 1) { in ext4_mb_init_cache()
Dinode.c876 ext4_fsblk_t first_block = 0; in ext4_get_blocks_handle() local
892 first_block = le32_to_cpu(chain[depth - 1].key); in ext4_get_blocks_handle()
901 if (blk == first_block + count) in ext4_get_blocks_handle()
/fs/partitions/
Dsgi.c23 __be32 first_block; /* First logical block */ member
71 start = be32_to_cpu(p->first_block); in sgi_partition()
/fs/ext2/
Dsuper.c631 ext2_fsblk_t first_block = ext2_group_first_block_no(sb, i); in ext2_check_descriptors() local
637 last_block = first_block + in ext2_check_descriptors()
640 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || in ext2_check_descriptors()
649 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || in ext2_check_descriptors()
658 if (le32_to_cpu(gdp->bg_inode_table) < first_block || in ext2_check_descriptors()
Dinode.c587 ext2_fsblk_t first_block = 0; in ext2_get_blocks() local
598 first_block = le32_to_cpu(chain[depth - 1].key); in ext2_get_blocks()
616 if (blk == first_block + count) in ext2_get_blocks()
/fs/efs/
Dsuper.c235 sb->first_block = be32_to_cpu(super->fs_firstcg); in efs_validate_super()
Dinode.c83 block = sb->fs_start + sb->first_block + in efs_iget()
/fs/ext3/
Dsuper.c1318 ext3_fsblk_t first_block = ext3_group_first_block_no(sb, i); in ext3_check_descriptors() local
1324 last_block = first_block + in ext3_check_descriptors()
1327 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || in ext3_check_descriptors()
1337 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || in ext3_check_descriptors()
1347 if (le32_to_cpu(gdp->bg_inode_table) < first_block || in ext3_check_descriptors()
Dinode.c803 ext3_fsblk_t first_block = 0; in ext3_get_blocks_handle() local
816 first_block = le32_to_cpu(chain[depth - 1].key); in ext3_get_blocks_handle()
837 if (blk == first_block + count) in ext3_get_blocks_handle()