HomeSort by relevance Sort by last modified time
    Searched defs:inode (Results 1 - 25 of 120) sorted by null

1 2 3 4 5

  /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;