Home
last modified time | relevance | path

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

123

/external/e2fsprogs/tests/
Dmke2fs.conf.in4 inode_size = 256
18 inode_size = 256
22 inode_size = 128
27 inode_size = 128
43 inode_size = 128
/external/e2fsprogs/misc/
Dmke2fs.conf.in6 inode_size = 256
15 inode_size = 256
19 inode_size = 128
24 inode_size = 128
46 inode_size = 128
Dmke2fs-hurd.conf6 inode_size = 128
16 inode_size = 256
41 inode_size = 128
Dmke2fs.c1532 int inode_size = 0; in PRS() local
1742 inode_size = strtoul(optarg, &tmp, 0); in PRS()
2448 if (inode_size == EXT2_GOOD_OLD_INODE_SIZE) { in PRS()
2452 inode_size); in PRS()
2455 if (inode_size == 0) { in PRS()
2456 inode_size = get_int_from_profile(fs_types, in PRS()
2458 if (inode_size <= EXT2_GOOD_OLD_INODE_SIZE*2) in PRS()
2459 inode_size = EXT2_GOOD_OLD_INODE_SIZE*2; in PRS()
2522 if (inode_size == 0) in PRS()
2523 inode_size = get_int_from_profile(fs_types, "inode_size", 0); in PRS()
[all …]
Dtune2fs.c682 int inode_size; member
744 inode->i_extra_isize > ctx->inode_size - EXT2_GOOD_OLD_INODE_SIZE) in update_inline_xattr_hashes()
753 end = (struct ext2_ext_attr_entry *)((char *)inode + ctx->inode_size); in update_inline_xattr_hashes()
782 if (!memcmp(inode, ctx->zero_inode, ctx->inode_size)) in rewrite_one_inode()
784 memset(inode, 0, ctx->inode_size); in rewrite_one_inode()
790 if (ctx->inode_size != EXT2_GOOD_OLD_INODE_SIZE) in rewrite_one_inode()
794 retval = ext2fs_write_inode_full(ctx->fs, ino, inode, ctx->inode_size); in rewrite_one_inode()
837 .inode_size = EXT2_INODE_SIZE(fs->super), in rewrite_inodes()
843 retval = ext2fs_get_mem(ctx.inode_size, &inode); in rewrite_inodes()
847 retval = ext2fs_get_memzero(ctx.inode_size, &ctx.zero_inode); in rewrite_inodes()
[all …]
/external/kernel-headers/original/uapi/linux/
Dnilfs2_ondisk.h95 #define NILFS_SR_MDT_OFFSET(inode_size, i) \ argument
97 (inode_size) * (i))
98 #define NILFS_SR_DAT_OFFSET(inode_size) NILFS_SR_MDT_OFFSET(inode_size, 0) argument
99 #define NILFS_SR_CPFILE_OFFSET(inode_size) NILFS_SR_MDT_OFFSET(inode_size, 1) argument
100 #define NILFS_SR_SUFILE_OFFSET(inode_size) NILFS_SR_MDT_OFFSET(inode_size, 2) argument
101 #define NILFS_SR_BYTES(inode_size) NILFS_SR_MDT_OFFSET(inode_size, 3) argument
/external/e2fsprogs/lib/ext2fs/
Dinode.c35 #define SCAN_BLOCK_STATUS(scan) ((scan)->temp_buffer + (scan)->inode_size)
48 int inode_size; member
174 scan->inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_open_inode_scan()
200 (fs->blocksize / scan->inode_size - 1)) * in ext2fs_open_inode_scan()
201 scan->inode_size / fs->blocksize; in ext2fs_open_inode_scan()
212 retval = ext2fs_get_mem(scan->inode_size + scan->inode_buffer_blocks, in ext2fs_open_inode_scan()
296 (fs->blocksize / scan->inode_size - 1)) * in get_next_blockgroup()
297 scan->inode_size / fs->blocksize; in get_next_blockgroup()
434 inodes_in_buf = num_blocks * scan->fs->blocksize / scan->inode_size; in check_inode_block_sanity()
485 p += scan->inode_size * ino_adj; in check_inode_block_sanity()
[all …]
Dswapfs.c249 int inode_size; in ext2fs_swap_inode_full() local
347 inode_size = EXT2_GOOD_OLD_INODE_SIZE + extra_isize; in ext2fs_swap_inode_full()
348 if (inode_includes(inode_size, i_checksum_hi)) in ext2fs_swap_inode_full()
350 if (inode_includes(inode_size, i_ctime_extra)) in ext2fs_swap_inode_full()
352 if (inode_includes(inode_size, i_mtime_extra)) in ext2fs_swap_inode_full()
354 if (inode_includes(inode_size, i_atime_extra)) in ext2fs_swap_inode_full()
356 if (inode_includes(inode_size, i_crtime)) in ext2fs_swap_inode_full()
358 if (inode_includes(inode_size, i_crtime_extra)) in ext2fs_swap_inode_full()
360 if (inode_includes(inode_size, i_version_hi)) in ext2fs_swap_inode_full()
362 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
313 inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_open2()
314 if ((inode_size < EXT2_GOOD_OLD_INODE_SIZE) || in ext2fs_open2()
315 (inode_size > fs->blocksize) || in ext2fs_open2()
316 (inode_size & (inode_size - 1))) { in ext2fs_open2()
Dext_attr.c696 const unsigned int inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_xattrs_write() local
707 i = inode_size; in ext2fs_xattrs_write()
715 inode_size); in ext2fs_xattrs_write()
721 inode_size > EXT2_GOOD_OLD_INODE_SIZE) { in ext2fs_xattrs_write()
737 inode_size <= EXT2_GOOD_OLD_INODE_SIZE + inode->i_extra_isize + in ext2fs_xattrs_write()
745 storage_size = inode_size - EXT2_GOOD_OLD_INODE_SIZE - in ext2fs_xattrs_write()
802 inode_size); in ext2fs_xattrs_write()
1531 const int inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_xattr_set() local
1569 ret = ext2fs_get_memzero(inode_size, &inode); in ext2fs_xattr_set()
1574 inode_size); in ext2fs_xattr_set()
[all …]
Dmkjournal.c270 unsigned long long inode_size; in write_journal_inode() local
298 inode_size = (unsigned long long)fs->blocksize * num_blocks; in write_journal_inode()
302 retval = ext2fs_inode_size_set(fs, &inode, inode_size); in write_journal_inode()
/external/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()
241 inode_size, "pass4"); in e2fsck_pass4()
260 inode_size, "pass4"); in e2fsck_pass4()
/external/e2fsprogs/lib/support/
Dmkquota.c259 unsigned int inode_size; in get_qid() local
267 inode_size = EXT2_GOOD_OLD_INODE_SIZE + in get_qid()
269 if (inode_includes(inode_size, i_projid)) in get_qid()
473 int inode_size; in quota_compute_usage() local
486 inode_size = fs->super->s_inode_size; in quota_compute_usage()
487 inode = malloc(inode_size); in quota_compute_usage()
494 EXT2_INODE(inode), inode_size); in quota_compute_usage()
/external/e2fsprogs/tests/m_hugefile_slack/
Dscript13 inode_size = 256
/external/e2fsprogs/tests/t_dangerous/
Dscript11 inode_size = 256
23 inode_size = 256
/external/e2fsprogs/resize/
Dresize2fs.c1956 struct ext2_inode_large *inode, int inode_size, in fix_ea_ibody_entries() argument
1971 end = (struct ext2_ext_attr_entry *)((char *)inode + inode_size); in fix_ea_ibody_entries()
2008 int inode_size = EXT2_INODE_SIZE(fs->super); in fix_ea_inode_refs() local
2025 inode_size); in fix_ea_inode_refs()
2034 if (inode_size != EXT2_GOOD_OLD_INODE_SIZE) { in fix_ea_inode_refs()
2037 inode_size, last_ino); in fix_ea_inode_refs()
2040 inode_size); in fix_ea_inode_refs()
2086 int inode_size; in inode_scan_and_fix() local
2118 inode_size = EXT2_INODE_SIZE(rfs->new_fs->super); in inode_scan_and_fix()
2119 inode = malloc(inode_size); in inode_scan_and_fix()
[all …]
/external/e2fsprogs/tests/u_errorout/
Dscript20 inode_size = 256
/external/e2fsprogs/tests/f_opt_extent/
Dscript11 inode_size = 256
/external/e2fsprogs/tests/f_opt_extent_ext3/
Dscript11 inode_size = 256
/external/e2fsprogs/tests/t_disable_mcsum/
Dscript11 inode_size = 256
/external/e2fsprogs/tests/r_32to64bit/
Dscript16 inode_size = 256
/external/e2fsprogs/tests/t_enable_mcsum_initbg/
Dscript11 inode_size = 256
/external/e2fsprogs/tests/t_enable_mcsum/
Dscript11 inode_size = 256
/external/e2fsprogs/tests/t_disable_mcsum_noinitbg/
Dscript11 inode_size = 256

123