/external/e2fsprogs/lib/ext2fs/ |
lookup.c | 24 ext2_ino_t *inode; member in struct:lookup_struct 43 *ls->inode = dirent->inode; 50 int namelen, char *buf, ext2_ino_t *inode) 59 ls.inode = inode;
|
mkdir.c | 37 struct ext2_inode parent_inode, inode; local 46 * Allocate an inode, if necessary 70 * Get the parent's inode, if necessary 80 * Create the inode structure.... 82 memset(&inode, 0, sizeof(struct ext2_inode)); 83 inode.i_mode = LINUX_S_IFDIR | (0777 & ~fs->umask); 84 inode.i_uid = inode.i_gid = 0; 85 inode.i_blocks = fs->blocksize / 512; 86 inode.i_block[0] = blk [all...] |
read_bb.c | 2 * read_bb --- read the bad blocks inode 62 * Reads the current bad blocks from the bad blocks inode. 68 struct ext2_inode inode; local 74 retval = ext2fs_read_inode(fs, EXT2_BAD_INO, &inode); 77 if (inode.i_blocks < 500) 78 numblocks = (inode.i_blocks /
|
expanddir.c | 85 struct ext2_inode inode; local 112 * Update the size and block count fields in the inode. 114 retval = ext2fs_read_inode(fs, dir, &inode); 118 inode.i_size += fs->blocksize; 119 inode.i_blocks += (fs->blocksize / 512) * es.newblocks; 121 retval = ext2fs_write_inode(fs, dir, &inode);
|
link.c | 24 ext2_ino_t inode; member in struct:link_struct 49 (next->inode == 0) && 60 if (dirent->inode) { 68 next->inode = 0; 80 dirent->inode = ls->inode; 102 struct ext2_inode inode; local 111 ls.inode = ino; 124 if ((retval = ext2fs_read_inode(fs, dir, &inode)) != 0) 127 if (inode.i_flags & EXT2_INDEX_FL) [all...] |
unlink.c | 24 ext2_ino_t inode; member in struct:link_struct 51 if (ls->inode) { 52 if (dirent->inode != ls->inode) 55 if (!dirent->inode) 62 dirent->inode = 0; 87 ls.inode = ino;
|
bb_inode.c | 2 * bb_inode.c --- routines to update the bad block inode. 5 * this routine returns an error, the bad block inode may be in an 54 * Given a bad blocks bitmap, update the bad blocks inode to reflect 61 struct ext2_inode inode; local 100 * block inode (!). 120 * Update the bad block inode's mod time and block count 123 retval = ext2fs_read_inode(fs, EXT2_BAD_INO, &inode); 127 inode.i_atime = inode.i_mtime = fs->now ? fs->now : time(0); 128 if (!inode.i_ctime [all...] |
bmove.c | 26 struct ext2_inode * inode; member in struct:process_block_struct 96 struct ext2_inode inode; local 131 retval = ext2fs_get_next_inode(scan, &ino, &inode); 136 if ((inode.i_links_count == 0) || 137 !ext2fs_inode_has_valid_blocks(&inode)) 141 pb.inode = &inode; 143 pb.add_dir = (LINUX_S_ISDIR(inode.i_mode) && 154 retval = ext2fs_get_next_inode(scan, &ino, &inode);
|
namei.c | 28 ext2_ino_t inode, int link_count, 37 printf("follow_link: root=%lu, dir=%lu, inode=%lu, lc=%d\n", 38 root, dir, inode, link_count); 41 retval = ext2fs_read_inode (fs, inode, &ei); 44 *res_inode = inode; 71 * directory and the root directory, and returns the inode of the 84 ext2_ino_t inode; local 101 retval = ext2fs_lookup (fs, dir, thisname, len, buf, &inode); 103 retval = follow_link (fs, root, dir, inode, 119 ext2_ino_t dir, inode; local [all...] |
/external/e2fsprogs/debugfs/ |
icheck.c | 30 ext2_ino_t inode; member in struct:block_walk_struct 45 bw->barray[i].ino = bw->inode; 62 struct ext2_inode inode; local 76 "while allocating inode info array"); 96 com_err("icheck", retval, "while opening inode scan"); 101 retval = ext2fs_get_next_inode(scan, &ino, &inode); 104 com_err("icheck", retval, "while starting inode scan"); 109 if (!inode.i_links_count) 112 bw.inode = ino; 114 if (inode.i_file_acl) [all...] |
ncheck.c | 48 if (iw->iarray[i].ino == dirent->inode) { 66 struct ext2_inode inode; local 71 com_err(argv[0], 0, "Usage: ncheck <inode number> ..."); 80 "while allocating inode info array"); 88 com_err(argv[0], 0, "Bad inode - %s", argv[i]); 97 com_err("ncheck", retval, "while opening inode scan"); 102 retval = ext2fs_get_next_inode(scan, &ino, &inode); 105 com_err("ncheck", retval, "while starting inode scan"); 110 if (!inode.i_links_count) 116 if (inode.i_dtime [all...] |
ls.c | 51 struct ext2_inode inode; variable in typeref:struct:ext2_inode 66 ino = dirent->inode; 77 if (debugfs_read_inode(ino, &inode, name)) 79 modtime = inode.i_mtime; 87 memset(&inode, 0, sizeof(struct ext2_inode)); 90 inode.i_mode, dirent->name_len >> 8, 91 inode_uid(inode), inode_gid(inode)); 92 if (LINUX_S_ISDIR(inode.i_mode)) 93 fprintf(ls->f, "%5d", inode.i_size) 115 ext2_ino_t inode; local [all...] |
lsdel.c | 34 ext2_ino_t inode; member in struct:lsdel_struct 80 struct ext2_inode inode; local 120 "while opening inode scan"); 125 retval = ext2fs_get_next_inode(scan, &ino, &inode); 129 "while starting inode scan"); 134 if ((inode.i_dtime == 0) || 135 (secs && ((unsigned) abs(now - secs) > inode.i_dtime))) 138 lsd.inode = ino; 164 delarray[num_delarray].mode = inode.i_mode; 165 delarray[num_delarray].uid = inode_uid(inode); [all...] |
/external/e2fsprogs/e2fsck/ |
pass4.c | 20 * This routine is called when an inode is not connected to the 29 struct ext2_inode inode; local 32 e2fsck_read_inode(ctx, i, &inode, "pass4: disconnect_inode"); 35 pctx.inode = &inode; 43 if (!inode.i_blocks && (LINUX_S_ISREG(inode.i_mode) || 44 LINUX_S_ISDIR(inode.i_mode))) { 47 inode.i_links_count = 0; 48 inode.i_dtime = ctx->now 86 struct ext2_inode inode; local [all...] |
emptydir.c | 27 struct ext2_inode inode; member in struct:empty_dir_info_struct 95 return; /* Inode number 11 is usually lost+found */ 97 printf(_("Empty directory block %u (#%d) in inode %u\n"), 130 retval = ext2fs_bmap(fs, edi->ino, &edi->inode, 160 retval = ext2fs_read_inode(fs, db->ino, &edi->inode); 170 edi->inode.i_size -= edi->freed_blocks * fs->blocksize; 171 edi->inode.i_blocks -= edi->freed_blocks * 173 retval = ext2fs_write_inode(fs, db->ino, &edi->inode);
|
scantest.c | 2 * scantest.c - test the speed of the inode scan routine 98 struct ext2_inode inode; local 100 printf(_("size of inode=%d\n"), sizeof(inode)); 116 com_err(argv[0], retval, _("while opening inode scan")); 119 retval = ext2fs_get_next_inode(scan, &ino, &inode); 121 com_err(argv[0], retval, _("while starting inode scan")); 125 if (!inode.i_links_count) 127 printf("%lu\n", inode.i_blocks); 129 retval = ext2fs_get_next_inode(scan, &ino, &inode); [all...] |
iscan.c | 2 * Test to see how quickly we can scan the inode table (not doing 102 struct ext2_inode inode; local 121 com_err(program_name, retval, _("while opening inode scan")); 126 retval = ext2fs_get_next_inode(scan, &ino, &inode); 129 _("while getting next inode"));
|
/bionic/libc/kernel/common/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/external/kernel-headers/original/linux/ |
efs_dir.h | 14 __be32 inode; member in struct:efs_dentry
|
/ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|