Home
last modified time | relevance | path

Searched refs:inode_size (Results 1 – 25 of 70) sorted by relevance

123

/third_party/e2fsprogs/misc/
Dmke2fs-hurd.conf6 inode_size = 128
16 inode_size = 256
41 inode_size = 128
Dmke2fs.conf.in6 inode_size = 256
43 inode_size = 128
Dmke2fs.c1548 int inode_size = 0; in PRS() local
1761 inode_size = strtoul(optarg, &tmp, 0); in PRS()
2494 if (inode_size == EXT2_GOOD_OLD_INODE_SIZE) { in PRS()
2498 inode_size); in PRS()
2501 if (inode_size == 0) { in PRS()
2502 inode_size = get_int_from_profile(fs_types, in PRS()
2504 if (inode_size <= EXT2_GOOD_OLD_INODE_SIZE*2) in PRS()
2505 inode_size = EXT2_GOOD_OLD_INODE_SIZE*2; in PRS()
2569 if (inode_size == 0) in PRS()
2570 inode_size = get_int_from_profile(fs_types, "inode_size", 0); in PRS()
[all …]
Dtune2fs.c701 int inode_size; member
763 inode->i_extra_isize > ctx->inode_size - EXT2_GOOD_OLD_INODE_SIZE) in update_inline_xattr_hashes()
772 end = (struct ext2_ext_attr_entry *)((char *)inode + ctx->inode_size); in update_inline_xattr_hashes()
801 if (!memcmp(inode, ctx->zero_inode, ctx->inode_size)) in rewrite_one_inode()
803 memset(inode, 0, ctx->inode_size); in rewrite_one_inode()
809 if (ctx->inode_size != EXT2_GOOD_OLD_INODE_SIZE) in rewrite_one_inode()
813 retval = ext2fs_write_inode_full(ctx->fs, ino, inode, ctx->inode_size); in rewrite_one_inode()
857 retval = ext2fs_get_mem(ctx->inode_size, &inode); in rewrite_inodes_pass()
867 ctx->inode_size); in rewrite_inodes_pass()
898 .inode_size = EXT2_INODE_SIZE(fs->super), in rewrite_inodes()
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Dinode.c35 #define SCAN_BLOCK_STATUS(scan) ((scan)->temp_buffer + (scan)->inode_size)
48 int inode_size; member
176 scan->inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_open_inode_scan()
202 (fs->blocksize / scan->inode_size - 1)) * in ext2fs_open_inode_scan()
203 scan->inode_size / fs->blocksize; in ext2fs_open_inode_scan()
214 retval = ext2fs_get_mem(scan->inode_size + scan->inode_buffer_blocks, in ext2fs_open_inode_scan()
298 (fs->blocksize / scan->inode_size - 1)) * in get_next_blockgroup()
299 scan->inode_size / fs->blocksize; in get_next_blockgroup()
443 inodes_in_buf = num_blocks * scan->fs->blocksize / scan->inode_size; in check_inode_block_sanity()
494 p += scan->inode_size * ino_adj; in check_inode_block_sanity()
[all …]
Dswapfs.c248 unsigned int inode_size; in ext2fs_swap_inode_full() local
346 inode_size = EXT2_GOOD_OLD_INODE_SIZE + extra_isize; in ext2fs_swap_inode_full()
347 if (inode_includes(inode_size, i_checksum_hi)) in ext2fs_swap_inode_full()
349 if (inode_includes(inode_size, i_ctime_extra)) in ext2fs_swap_inode_full()
351 if (inode_includes(inode_size, i_mtime_extra)) in ext2fs_swap_inode_full()
353 if (inode_includes(inode_size, i_atime_extra)) in ext2fs_swap_inode_full()
355 if (inode_includes(inode_size, i_crtime)) in ext2fs_swap_inode_full()
357 if (inode_includes(inode_size, i_crtime_extra)) in ext2fs_swap_inode_full()
359 if (inode_includes(inode_size, i_version_hi)) in ext2fs_swap_inode_full()
361 if (inode_includes(inode_size, i_projid)) in ext2fs_swap_inode_full()
Dres_gdt.c80 unsigned long long apb, inode_size; in ext2fs_create_resize_inode() local
133 inode_size = apb*apb + apb + EXT2_NDIR_BLOCKS; in ext2fs_create_resize_inode()
134 inode_size *= fs->blocksize; in ext2fs_create_resize_inode()
135 retval = ext2fs_inode_size_set(fs, &inode, inode_size); in ext2fs_create_resize_inode()
Dopenfs.c129 unsigned int inode_size; in ext2fs_open2() local
320 inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_open2()
321 if ((inode_size < EXT2_GOOD_OLD_INODE_SIZE) || in ext2fs_open2()
322 (inode_size > fs->blocksize) || in ext2fs_open2()
323 (inode_size & (inode_size - 1))) { in ext2fs_open2()
Dext_attr.c694 const unsigned int inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_xattrs_write() local
705 i = inode_size; in ext2fs_xattrs_write()
713 inode_size); in ext2fs_xattrs_write()
719 inode_size > EXT2_GOOD_OLD_INODE_SIZE) { in ext2fs_xattrs_write()
735 inode_size <= EXT2_GOOD_OLD_INODE_SIZE + inode->i_extra_isize + in ext2fs_xattrs_write()
743 storage_size = inode_size - EXT2_GOOD_OLD_INODE_SIZE - in ext2fs_xattrs_write()
800 inode_size); in ext2fs_xattrs_write()
1533 const int inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_xattr_set() local
1572 ret = ext2fs_get_memzero(inode_size, &inode); in ext2fs_xattr_set()
1577 inode_size); in ext2fs_xattr_set()
[all …]
Dmkjournal.c285 unsigned long long inode_size; in write_journal_inode() local
313 inode_size = (unsigned long long)fs->blocksize * in write_journal_inode()
318 retval = ext2fs_inode_size_set(fs, &inode, inode_size); in write_journal_inode()
/third_party/e2fsprogs/tests/
Dmke2fs.conf.in4 inode_size = 256
41 inode_size = 128
/third_party/e2fsprogs/e2fsck/
Dpass4.c142 int inode_size = EXT2_INODE_SIZE(fs->super); in e2fsck_pass4() local
180 inode = e2fsck_allocate_memory(ctx, inode_size, "scratch inode"); in e2fsck_pass4()
243 inode_size, "pass4"); in e2fsck_pass4()
272 inode_size, "pass4"); in e2fsck_pass4()
/third_party/e2fsprogs/lib/support/
Dmkquota.c260 unsigned int inode_size; in get_qid() local
268 inode_size = EXT2_GOOD_OLD_INODE_SIZE + in get_qid()
270 if (inode_includes(inode_size, i_projid)) in get_qid()
476 int inode_size; in quota_compute_usage() local
489 inode_size = fs->super->s_inode_size; in quota_compute_usage()
490 inode = malloc(inode_size); in quota_compute_usage()
497 EXT2_INODE(inode), inode_size); in quota_compute_usage()
/third_party/e2fsprogs/tests/m_hugefile_slack/
Dscript13 inode_size = 256
/third_party/e2fsprogs/resize/
Dresize2fs.c1970 struct ext2_inode_large *inode, int inode_size, in fix_ea_ibody_entries() argument
1985 end = (struct ext2_ext_attr_entry *)((char *)inode + inode_size); in fix_ea_ibody_entries()
2022 int inode_size = EXT2_INODE_SIZE(fs->super); in fix_ea_inode_refs() local
2039 inode_size); in fix_ea_inode_refs()
2048 if (inode_size != EXT2_GOOD_OLD_INODE_SIZE) { in fix_ea_inode_refs()
2051 inode_size, last_ino); in fix_ea_inode_refs()
2054 inode_size); in fix_ea_inode_refs()
2100 int inode_size; in inode_scan_and_fix() local
2132 inode_size = EXT2_INODE_SIZE(rfs->new_fs->super); in inode_scan_and_fix()
2133 inode = malloc(inode_size); in inode_scan_and_fix()
[all …]
/third_party/e2fsprogs/tests/t_dangerous/
Dscript11 inode_size = 256
23 inode_size = 256
/third_party/e2fsprogs/tests/u_errorout/
Dscript20 inode_size = 256
/third_party/e2fsprogs/tests/f_opt_extent_ext3/
Dscript11 inode_size = 256
/third_party/e2fsprogs/tests/f_opt_extent/
Dscript11 inode_size = 256
/third_party/e2fsprogs/tests/t_enable_mcsum_ext3/
Dscript11 inode_size = 128
/third_party/e2fsprogs/tests/t_disable_mcsum_noinitbg/
Dscript11 inode_size = 256
/third_party/e2fsprogs/tests/t_enable_mcsum_initbg/
Dscript11 inode_size = 256
/third_party/e2fsprogs/tests/t_enable_mcsum/
Dscript11 inode_size = 256
/third_party/e2fsprogs/tests/t_disable_mcsum/
Dscript11 inode_size = 256
/third_party/e2fsprogs/tests/t_disable_mcsum_yesinitbg/
Dscript11 inode_size = 256

123