Home
last modified time | relevance | path

Searched refs:inode_size (Results 1 – 25 of 73) 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.c1487 int inode_size = 0; in PRS() local
1697 inode_size = strtoul(optarg, &tmp, 0); in PRS()
2373 if (inode_size == EXT2_GOOD_OLD_INODE_SIZE) { in PRS()
2377 inode_size); in PRS()
2380 if (inode_size == 0) { in PRS()
2381 inode_size = get_int_from_profile(fs_types, in PRS()
2383 if (inode_size <= EXT2_GOOD_OLD_INODE_SIZE*2) in PRS()
2384 inode_size = EXT2_GOOD_OLD_INODE_SIZE*2; in PRS()
2447 if (inode_size == 0) in PRS()
2448 inode_size = get_int_from_profile(fs_types, "inode_size", 0); in PRS()
[all …]
Dtune2fs.c736 int inode_size; member
798 inode->i_extra_isize > ctx->inode_size - EXT2_GOOD_OLD_INODE_SIZE) in update_inline_xattr_hashes()
807 end = (struct ext2_ext_attr_entry *)((char *)inode + ctx->inode_size); in update_inline_xattr_hashes()
836 if (!memcmp(inode, ctx->zero_inode, ctx->inode_size)) in rewrite_one_inode()
838 memset(inode, 0, ctx->inode_size); in rewrite_one_inode()
844 if (ctx->inode_size != EXT2_GOOD_OLD_INODE_SIZE) in rewrite_one_inode()
848 retval = ext2fs_write_inode_full(ctx->fs, ino, inode, ctx->inode_size); in rewrite_one_inode()
891 .inode_size = EXT2_INODE_SIZE(fs->super), in rewrite_inodes()
897 retval = ext2fs_get_mem(ctx.inode_size, &inode); in rewrite_inodes()
901 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()
192 (fs->blocksize / scan->inode_size - 1)) * in ext2fs_open_inode_scan()
193 scan->inode_size / fs->blocksize; in ext2fs_open_inode_scan()
204 retval = ext2fs_get_mem(scan->inode_size + scan->inode_buffer_blocks, in ext2fs_open_inode_scan()
288 (fs->blocksize / scan->inode_size - 1)) * in get_next_blockgroup()
289 scan->inode_size / fs->blocksize; in get_next_blockgroup()
422 inodes_in_buf = num_blocks * scan->fs->blocksize / scan->inode_size; in check_inode_block_sanity()
473 p += scan->inode_size * ino_adj; in check_inode_block_sanity()
[all …]
Dswapfs.c246 int inode_size; in ext2fs_swap_inode_full() local
344 inode_size = EXT2_GOOD_OLD_INODE_SIZE + extra_isize; in ext2fs_swap_inode_full()
345 if (inode_includes(inode_size, i_checksum_hi)) in ext2fs_swap_inode_full()
347 if (inode_includes(inode_size, i_ctime_extra)) in ext2fs_swap_inode_full()
349 if (inode_includes(inode_size, i_mtime_extra)) in ext2fs_swap_inode_full()
351 if (inode_includes(inode_size, i_atime_extra)) in ext2fs_swap_inode_full()
353 if (inode_includes(inode_size, i_crtime)) in ext2fs_swap_inode_full()
355 if (inode_includes(inode_size, i_crtime_extra)) in ext2fs_swap_inode_full()
357 if (inode_includes(inode_size, i_version_hi)) in ext2fs_swap_inode_full()
359 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.c130 unsigned int inode_size; in ext2fs_open2() local
314 inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_open2()
315 if ((inode_size < EXT2_GOOD_OLD_INODE_SIZE) || in ext2fs_open2()
316 (inode_size > fs->blocksize) || in ext2fs_open2()
317 (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/resize/
Dresize2fs.c2009 struct ext2_inode_large *inode, int inode_size, in fix_ea_ibody_entries() argument
2024 end = (struct ext2_ext_attr_entry *)((char *)inode + inode_size); in fix_ea_ibody_entries()
2061 int inode_size = EXT2_INODE_SIZE(fs->super); in fix_ea_inode_refs() local
2078 inode_size); in fix_ea_inode_refs()
2087 if (inode_size != EXT2_GOOD_OLD_INODE_SIZE) { in fix_ea_inode_refs()
2090 inode_size, last_ino); in fix_ea_inode_refs()
2093 inode_size); in fix_ea_inode_refs()
2139 int inode_size; in inode_scan_and_fix() local
2171 inode_size = EXT2_INODE_SIZE(rfs->new_fs->super); in inode_scan_and_fix()
2172 inode = malloc(inode_size); in inode_scan_and_fix()
[all …]
/external/e2fsprogs/tests/m_hugefile_slack/
Dscript13 inode_size = 256
/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_noinitbg/
Dscript11 inode_size = 256
/external/e2fsprogs/tests/t_enable_mcsum_ext3/
Dscript11 inode_size = 128
/external/e2fsprogs/tests/r_32to64bit/
Dscript16 inode_size = 256
/external/e2fsprogs/tests/t_enable_mcsum_initbg/
Dscript11 inode_size = 256
/external/e2fsprogs/tests/t_disable_mcsum/
Dscript11 inode_size = 256
/external/e2fsprogs/tests/t_enable_mcsum/
Dscript11 inode_size = 256

123