Home
last modified time | relevance | path

Searched refs:i_size (Results 1 – 25 of 56) sorted by relevance

123

/external/grub/stage2/
Dfsys_minix.c90 __u32 i_size; member
108 __u32 i_size; member
371 filemax = (INODE->i_size); in minix_dir()
422 filemax = (INODE->i_size); in minix_dir()
435 if (!(INODE->i_size) || !S_ISDIR (INODE->i_mode)) in minix_dir()
458 if (loc >= INODE->i_size) in minix_dir()
Ddisk_inode_ffs.h60 #define i_size ic_size.val[1] macro
62 #define i_size ic_size.val[0] macro
Dfsys_ffs.c210 filemax = INODE->i_size; in ffs_dir()
222 if (!(INODE->i_size) || ((INODE->i_mode & IFMT) != IFDIR)) in ffs_dir()
237 if (loc >= INODE->i_size) in ffs_dir()
Dfsys_ext2fs.c101 __u32 i_size; /* 4: Size in bytes */ member
617 filemax = (INODE->i_size); in ext2fs_dir()
678 filemax = (INODE->i_size); in ext2fs_dir()
690 if (!(INODE->i_size) || !S_ISDIR (INODE->i_mode)) in ext2fs_dir()
714 if (loc >= INODE->i_size) in ext2fs_dir()
Dufs2.h68 #define i_size di_size macro
411 (((lbn) >= NDADDR || (ip)->i_size >= smalllblktosize(fs, (lbn) + 1)) \
413 : (fragroundup(fs, blkoff(fs, (ip)->i_size))))
Dfs.h434 (((lbn) >= NDADDR || (ip)->i_size >= ((lbn) + 1) << (fs)->fs_bshift) \
436 : (fragroundup(fs, blkoff(fs, (ip)->i_size))))
/external/e2fsprogs/lib/ext2fs/
Dvalid_blk.c48 if (inode->i_size >= EXT2_N_BLOCKS*4) in ext2fs_inode_has_valid_blocks()
50 if (inode->i_size > 4 && inode->i_block[1] == 0) in ext2fs_inode_has_valid_blocks()
Dres_gdt.c113 inode.i_size = inode_size & 0xFFFFFFFF; in ext2fs_create_resize_inode()
208 inode.i_size); in ext2fs_create_resize_inode()
Dmkdir.c89 inode.i_size = fs->blocksize; in ext2fs_mkdir()
Dexpanddir.c118 inode.i_size += fs->blocksize; in ext2fs_expand_dir()
Dmkjournal.c230 inode.i_size += fs->blocksize * size; in write_journal_inode()
241 fs->super->s_jnl_blocks[16] = inode.i_size; in write_journal_inode()
/external/e2fsprogs/e2fsck/
Dmessage.c258 printf("%u", inode->i_size); in expand_inode_expression()
263 inode->i_size); in expand_inode_expression()
265 printf("%u", inode->i_size); in expand_inode_expression()
267 printf("%llu", inode->i_size | in expand_inode_expression()
Dpass1.c173 if ((inode->i_size_high || inode->i_size == 0) || in e2fsck_pass1_check_symlink()
179 if ((inode->i_size >= fs->blocksize) || in e2fsck_pass1_check_symlink()
196 if (inode->i_size >= sizeof(inode->i_block)) in e2fsck_pass1_check_symlink()
203 if (len != inode->i_size) in e2fsck_pass1_check_symlink()
233 if ((inode->i_size == 0) && (inode->i_size_high == 0)) in check_size()
239 inode->i_size = 0; in check_size()
1581 ((inode->i_size / fs->blocksize) >= 3)) in check_blocks()
1601 ino, inode->i_size, pb.last_block, inode->i_blocks, in check_blocks()
1605 int nblock = inode->i_size >> EXT2_BLOCK_SIZE_BITS(fs->super); in check_blocks()
1606 if (inode->i_size & (fs->blocksize - 1)) in check_blocks()
[all …]
Drehash.c98 if (offset + fs->blocksize > fd->inode->i_size) { in fill_dir_block()
670 inode.i_size = outdir->num * fs->blocksize; in write_directory()
693 dir_buf = malloc(inode.i_size); in e2fsck_rehash_dir()
697 fd.max_array = inode.i_size / 32; in e2fsck_rehash_dir()
710 (inode.i_size / fs->blocksize) < 2) in e2fsck_rehash_dir()
Djournal.c285 j_inode->i_ext2.i_size = sb->s_jnl_blocks[16]; in e2fsck_get_journal()
298 if (j_inode->i_ext2.i_size / journal->j_blocksize < in e2fsck_get_journal()
308 j_inode->i_ext2.i_size) { in e2fsck_get_journal()
319 journal->j_maxlen = j_inode->i_ext2.i_size / journal->j_blocksize; in e2fsck_get_journal()
921 sb->s_jnl_blocks[16] = inode.i_size; in e2fsck_move_ext3_journal()
/external/e2fsprogs/misc/
De2initrd_helper.c93 if (inode.i_size_high || (inode.i_size > 65536)) in get_file()
96 buf = malloc(inode.i_size + 1); in get_file()
99 memset(buf, 0, inode.i_size+1); in get_file()
105 retval = ext2fs_file_read(e2_file, buf, inode.i_size, &got); in get_file()
/external/e2fsprogs/debugfs/
Dls.c93 fprintf(ls->f, "%5d", inode.i_size); in list_dir_proc()
95 fprintf(ls->f, "%5llu", inode.i_size | in list_dir_proc()
Ddump.c196 buf = malloc(inode->i_size + 1); in rdump_symlink()
207 unsigned bytes = inode->i_size; in rdump_symlink()
226 buf[inode->i_size] = 0; in rdump_symlink()
/external/e2fsprogs/tests/f_dupfsblks/
Dexpect.14 Inode 12, i_size is 4096, should be 5120. Fix? yes
6 Inode 13, i_size is 0, should be 2048. Fix? yes
/external/yaffs2/yaffs2/
Dyaffs_fs.c564 if (offset > inode->i_size) { in yaffs_writepage()
569 (unsigned)inode->i_size)); in yaffs_writepage()
576 end_index = inode->i_size >> PAGE_CACHE_SHIFT; in yaffs_writepage()
582 nBytes = inode->i_size & (PAGE_CACHE_SIZE - 1); in yaffs_writepage()
597 (int)obj->variant.fileVariant.fileSize, (int)inode->i_size)); in yaffs_writepage()
605 (int)obj->variant.fileVariant.fileSize, (int)inode->i_size)); in yaffs_writepage()
723 inode->i_size = yaffs_GetObjectFileLength(obj); in yaffs_FillInodeFromObject()
724 inode->i_blocks = (inode->i_size + 511) >> 9; in yaffs_FillInodeFromObject()
732 (int)inode->i_size, atomic_read(&inode->i_count))); in yaffs_FillInodeFromObject()
817 ipos = inode->i_size; in yaffs_file_write()
[all …]
/external/e2fsprogs/ext2ed/
Ddir_com.c66 info_ptr->blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_dir_info()
67 info_ptr->file_length=ptr->i_size; in init_dir_info()
270 if (type_data.u.t_ext2_inode.i_size > 60) { /* I'm lazy, I guess :-) */ in type_dir___cd()
/external/e2fsprogs/tests/f_big_sparse/
Dexpect.12 Inode 12, i_size is 61440, should be 4398050758656. Fix? yes
/external/e2fsprogs/tests/f_holedir/
Dexpect.17 Inode 11, i_size is 12288, should be 11264. Fix? yes
/external/e2fsprogs/tests/f_messy_inode/
Dexpect.115 Inode 14, i_size is 18446462598732849291, should be 2048. Fix? yes
/external/e2fsprogs/tests/f_baddir/
Dexpect.14 Inode 12, i_size is 182, should be 1024. Fix? yes

123