/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 ext2fs_iblk_set(fs, &inode, 1); 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 numblocks = inode.i_blocks; 80 (inode.i_flags & EXT4_HUGE_FILE_FL)))
|
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 ext2fs_iblk_add_blocks(fs, &inode, es.newblocks); 121 retval = ext2fs_write_inode(fs, dir, &inode);
|
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 | 30 struct ext2_inode * inode; member in struct:process_block_struct 100 struct ext2_inode inode; local 135 retval = ext2fs_get_next_inode(scan, &ino, &inode); 140 if ((inode.i_links_count == 0) || 141 !ext2fs_inode_has_valid_blocks(&inode)) 145 pb.inode = &inode; 147 pb.add_dir = (LINUX_S_ISDIR(inode.i_mode) && 158 retval = ext2fs_get_next_inode(scan, &ino, &inode);
|
link.c | 25 ext2_ino_t inode; member in struct:link_struct 56 (next->inode == 0) && 70 if (dirent->inode) { 80 next->inode = 0; 94 dirent->inode = ls->inode; 116 struct ext2_inode inode; local 126 ls.inode = ino; 143 if ((retval = ext2fs_read_inode(fs, dir, &inode)) != 0) 146 if (inode.i_flags & EXT2_INDEX_FL) [all...] |
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 | 42 if (iw->iarray[i] == dirent->inode) { 59 struct ext2_inode inode; local 64 com_err(argv[0], 0, "Usage: ncheck <inode number> ..."); 73 "while allocating inode info array"); 81 com_err(argv[0], 0, "Bad inode - %s", argv[i]); 90 com_err("ncheck", retval, "while opening inode scan"); 95 retval = ext2fs_get_next_inode(scan, &ino, &inode); 98 com_err("ncheck", retval, "while starting inode scan"); 102 printf("Inode\tPathname\n"); 104 if (!inode.i_links_count [all...] |
/external/e2fsprogs/e2fsck/ |
pass4.c | 21 * This routine is called when an inode is not connected to the 28 struct ext2_inode *inode) 36 e2fsck_read_inode_full(ctx, i, inode,EXT2_INODE_SIZE(fs->super), 38 extra_size = ((struct ext2_inode_large *)inode)->i_extra_isize; 40 e2fsck_read_inode(ctx, i, inode, "pass4: disconnect_inode"); 44 pctx.inode = inode; 47 eamagic = *(__u32 *)(((char *)inode) +EXT2_GOOD_OLD_INODE_SIZE + 55 if (!inode->i_blocks && eamagic != EXT2_EXT_ATTR_MAGIC && 56 (LINUX_S_ISREG(inode->i_mode) || LINUX_S_ISDIR(inode->i_mode))) 93 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 ext2fs_iblk_add_blocks(fs, &edi->inode, edi->freed_blocks); 172 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...] |
/external/libcap-ng/libcap-ng-0.7/utils/ |
proc-llist.h | 37 unsigned long inode; // inode of socket member in struct:_lnode
|
/system/extras/ext4_utils/ |
contents.h | 30 u32 *inode; member in struct:dentry
|
/bionic/libc/kernel/common/linux/ |
efs_dir.h | 25 __be32 inode; member in struct:efs_dentry
|
/development/ndk/platforms/android-3/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/external/chromium_org/base/debug/ |
proc_maps_linux.cc | 113 long inode = 0; local 118 // address perms offset dev inode pathname 126 &dev_major, &dev_minor, &inode, &path_index) < 7) {
|
/external/kernel-headers/original/linux/ |
efs_dir.h | 14 __be32 inode; member in struct:efs_dentry
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
efs_dir.h | 19 __be32 inode; member in struct:efs_dentry
|