Home
last modified time | relevance | path

Searched refs:inode (Results 1 – 25 of 235) sorted by relevance

12345678910

/external/e2fsprogs/tests/f_h_reindex/
Dexpect.11 Backing up journal inode block information.
5 Problem in HTREE directory inode 16001: node (1) has bad max hash
6 Problem in HTREE directory inode 16001: node (2) has bad min hash
7 Problem in HTREE directory inode 16001: node (2) has bad max hash
8 Problem in HTREE directory inode 16001: node (3) has bad min hash
9 Problem in HTREE directory inode 16001: node (3) has bad max hash
10 Problem in HTREE directory inode 16001: node (4) has bad min hash
11 Problem in HTREE directory inode 16001: node (4) has bad max hash
12 Problem in HTREE directory inode 16001: node (5) has bad min hash
13 Problem in HTREE directory inode 16001: node (5) has bad max hash
[all …]
/external/kernel-headers/original/linux/
Dfs.h162 #define __IS_FLG(inode,flg) ((inode)->i_sb->s_flags & (flg)) argument
164 #define IS_RDONLY(inode) ((inode)->i_sb->s_flags & MS_RDONLY) argument
165 #define IS_SYNC(inode) (__IS_FLG(inode, MS_SYNCHRONOUS) || \ argument
166 ((inode)->i_flags & S_SYNC))
167 #define IS_DIRSYNC(inode) (__IS_FLG(inode, MS_SYNCHRONOUS|MS_DIRSYNC) || \ argument
168 ((inode)->i_flags & (S_SYNC|S_DIRSYNC)))
169 #define IS_MANDLOCK(inode) __IS_FLG(inode, MS_MANDLOCK) argument
171 #define IS_NOQUOTA(inode) ((inode)->i_flags & S_NOQUOTA) argument
172 #define IS_APPEND(inode) ((inode)->i_flags & S_APPEND) argument
173 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE) argument
[all …]
Dmsdos_fs.h280 struct inode vfs_inode;
288 static inline struct msdos_inode_info *MSDOS_I(struct inode *inode) in MSDOS_I() argument
290 return container_of(inode, struct msdos_inode_info, vfs_inode); in MSDOS_I()
294 static inline u8 fat_attr(struct inode *inode) in fat_attr() argument
296 return ((inode->i_mode & S_IWUGO) ? ATTR_NONE : ATTR_RO) | in fat_attr()
297 (S_ISDIR(inode->i_mode) ? ATTR_DIR : ATTR_NONE) | in fat_attr()
298 MSDOS_I(inode)->i_attrs; in fat_attr()
345 extern void fat_cache_inval_inode(struct inode *inode);
346 extern int fat_get_cluster(struct inode *inode, int cluster,
348 extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys,
[all …]
Dinotify.h87 struct inode *inode; /* associated inode */ member
94 const char *, struct inode *);
102 extern void inotify_d_instantiate(struct dentry *, struct inode *);
104 extern void inotify_inode_queue_event(struct inode *, __u32, __u32,
105 const char *, struct inode *);
109 extern void inotify_inode_is_dead(struct inode *);
117 extern __s32 inotify_find_watch(struct inotify_handle *, struct inode *,
119 extern __s32 inotify_find_update_watch(struct inotify_handle *, struct inode *,
122 struct inode *, __u32);
133 struct inode *inode) in inotify_d_instantiate() argument
[all …]
Dext3_fs.h491 static inline struct ext3_inode_info *EXT3_I(struct inode *inode) in EXT3_I() argument
493 return container_of(inode, struct ext3_inode_info, vfs_inode); in EXT3_I()
511 #define NEXT_ORPHAN(inode) EXT3_I(inode)->i_dtime argument
606 __le32 inode; /* Inode number */ member
619 __le32 inode; /* Inode number */ member
750 extern ext3_fsblk_t ext3_new_block (handle_t *handle, struct inode *inode,
752 extern ext3_fsblk_t ext3_new_blocks (handle_t *handle, struct inode *inode,
754 extern void ext3_free_blocks (handle_t *handle, struct inode *inode,
765 extern void ext3_init_block_alloc_info(struct inode *);
769 extern int ext3_check_dir_entry(const char *, struct inode *,
[all …]
/external/e2fsprogs/tests/f_journal/
Dexpect.12 Clearing orphaned inode 37 (uid=0, gid=0, mode=0100600, size=4096)
3 Clearing orphaned inode 90 (uid=0, gid=0, mode=040700, size=1024)
4 Clearing orphaned inode 67 (uid=0, gid=0, mode=0100600, size=4096)
5 Clearing orphaned inode 50 (uid=0, gid=0, mode=0100600, size=4096)
6 Clearing orphaned inode 57 (uid=0, gid=0, mode=040700, size=1024)
7 Clearing orphaned inode 80 (uid=0, gid=0, mode=040700, size=1024)
8 Clearing orphaned inode 45 (uid=0, gid=0, mode=040700, size=1024)
9 Clearing orphaned inode 71 (uid=0, gid=0, mode=0100600, size=4096)
10 Clearing orphaned inode 86 (uid=0, gid=0, mode=040700, size=1024)
11 Clearing orphaned inode 83 (uid=0, gid=0, mode=040700, size=1024)
[all …]
/external/e2fsprogs/tests/f_expand/
Dexpect.1.gz
/external/e2fsprogs/debugfs/
Ddebugfs.c459 struct ext2_inode_large *inode) in internal_dump_inode_extra() argument
466 fprintf(out, "Size of extra inode fields: %u\n", inode->i_extra_isize); in internal_dump_inode_extra()
467 if (inode->i_extra_isize > EXT2_INODE_SIZE(current_fs->super) - in internal_dump_inode_extra()
470 inode->i_extra_isize); in internal_dump_inode_extra()
475 inode->i_extra_isize; in internal_dump_inode_extra()
476 magic = (__u32 *)((char *)inode + EXT2_GOOD_OLD_INODE_SIZE + in internal_dump_inode_extra()
477 inode->i_extra_isize); in internal_dump_inode_extra()
480 end = (char *) inode + EXT2_INODE_SIZE(current_fs->super); in internal_dump_inode_extra()
503 static void dump_blocks(FILE *f, const char *prefix, ext2_ino_t inode) in dump_blocks() argument
512 ext2fs_block_iterate2(current_fs, inode, 0, NULL, in dump_blocks()
[all …]
Ddump.c67 static void fix_perms(const char *cmd, const struct ext2_inode *inode, in fix_perms() argument
74 i = fchmod(fd, mode_xlate(inode->i_mode)); in fix_perms()
76 i = chmod(name, mode_xlate(inode->i_mode)); in fix_perms()
81 i = chown(name, inode->i_uid, inode->i_gid); in fix_perms()
84 i = fchown(fd, inode->i_uid, inode->i_gid); in fix_perms()
86 i = chown(name, inode->i_uid, inode->i_gid); in fix_perms()
94 ut.actime = inode->i_atime; in fix_perms()
95 ut.modtime = inode->i_mtime; in fix_perms()
104 struct ext2_inode inode; in dump_file() local
110 if (debugfs_read_inode(ino, &inode, cmdname)) in dump_file()
[all …]
Dls.c51 struct ext2_inode inode; in list_dir_proc() local
66 ino = dirent->inode; in list_dir_proc()
77 if (debugfs_read_inode(ino, &inode, name)) in list_dir_proc()
79 modtime = inode.i_mtime; in list_dir_proc()
87 memset(&inode, 0, sizeof(struct ext2_inode)); in list_dir_proc()
90 inode.i_mode, dirent->name_len >> 8, in list_dir_proc()
91 inode_uid(inode), inode_gid(inode)); in list_dir_proc()
92 if (LINUX_S_ISDIR(inode.i_mode)) in list_dir_proc()
93 fprintf(ls->f, "%5d", inode.i_size); in list_dir_proc()
95 fprintf(ls->f, "%5llu", inode.i_size | in list_dir_proc()
[all …]
/external/e2fsprogs/tests/f_dup4/
Dexpect.13 Running additional passes to resolve blocks claimed by more than one inode...
5 Multiply-claimed block(s) in inode 16: 30
6 Multiply-claimed block(s) in inode 17: 30
7 Multiply-claimed block(s) in inode 18: 30
8 Multiply-claimed block(s) in inode 19: 30
9 Multiply-claimed block(s) in inode 20: 34
10 Multiply-claimed block(s) in inode 21: 34
11 Multiply-claimed block(s) in inode 22: 34
12 Multiply-claimed block(s) in inode 23: 34
17 File /dir/foo (inode #16, mod time Tue Apr 10 21:00:00 2007)
[all …]
/external/e2fsprogs/tests/f_badorphan/
Dexpect.11 Clearing orphaned inode 54 (uid=0, gid=0, mode=0100600, size=44610)
2 Clearing orphaned inode 32 (uid=0, gid=0, mode=040700, size=1024)
3 Clearing orphaned inode 67 (uid=0, gid=0, mode=040700, size=1024)
4 Clearing orphaned inode 55 (uid=0, gid=0, mode=040700, size=1024)
5 Backing up journal inode block information.
10 Inode 13 was part of the orphaned inode list. FIXED.
11 Inode 17 was part of the orphaned inode list. FIXED.
12 Deleted inode 18 has zero dtime. Fix? yes
14 Inode 19 was part of the orphaned inode list. FIXED.
15 Inode 22 was part of the orphaned inode list. FIXED.
[all …]
/external/e2fsprogs/e2fsck/
Dpass1.c88 struct ext2_inode *inode; member
96 struct ext2_inode inode; member
132 struct ext2_inode *inode) in e2fsck_pass1_check_device_inode() argument
140 if (inode->i_flags & EXT2_INDEX_FL) in e2fsck_pass1_check_device_inode()
154 if (inode->i_flags & (EXT2_IMMUTABLE_FL | EXT2_APPEND_FL)) { in e2fsck_pass1_check_device_inode()
156 if (inode->i_block[i]) in e2fsck_pass1_check_device_inode()
166 int e2fsck_pass1_check_symlink(ext2_filsys fs, struct ext2_inode *inode, in e2fsck_pass1_check_symlink() argument
173 if ((inode->i_size_high || inode->i_size == 0) || in e2fsck_pass1_check_symlink()
174 (inode->i_flags & EXT2_INDEX_FL)) in e2fsck_pass1_check_symlink()
177 blocks = ext2fs_inode_data_blocks(fs, inode); in e2fsck_pass1_check_symlink()
[all …]
Dmessage.c243 struct ext2_inode *inode; in expand_inode_expression() local
249 if (!ctx || !ctx->inode) in expand_inode_expression()
252 inode = ctx->inode; in expand_inode_expression()
253 large_inode = (struct ext2_inode_large *) inode; in expand_inode_expression()
257 if (LINUX_S_ISDIR(inode->i_mode)) in expand_inode_expression()
258 printf("%u", inode->i_size); in expand_inode_expression()
261 if (inode->i_size_high) in expand_inode_expression()
262 printf("0x%x%08x", inode->i_size_high, in expand_inode_expression()
263 inode->i_size); in expand_inode_expression()
265 printf("%u", inode->i_size); in expand_inode_expression()
[all …]
Dpass2.c360 if (!dirent->inode) in check_dot()
372 dirent->inode = ino; in check_dot()
380 if (dirent->inode != ino) { in check_dot()
382 dirent->inode = ino; in check_dot()
395 nextdir->inode = 0; in check_dot()
415 if (!dirent->inode) in check_dotdot()
433 dirent->inode = EXT2_ROOT_INO; in check_dotdot()
442 if (e2fsck_dir_info_set_dotdot(ctx, ino, dirent->inode)) { in check_dotdot()
486 struct ext2_inode inode; in check_filetype() local
497 if (ext2fs_test_inode_bitmap(ctx->inode_dir_map, dirent->inode)) { in check_filetype()
[all …]
Dswapfs.c26 struct ext2_inode *inode; member
59 if (*block_nr == sb->inode->i_block[EXT2_IND_BLOCK]) in swap_block()
64 if (*block_nr == sb->inode->i_block[EXT2_DIND_BLOCK]) in swap_block()
69 if (*block_nr == sb->inode->i_block[EXT2_TIND_BLOCK]) in swap_block()
81 struct ext2_inode *inode) in swap_inode_blocks() argument
87 sb.inode = inode; in swap_inode_blocks()
91 if (LINUX_S_ISDIR(inode->i_mode)) in swap_inode_blocks()
118 struct ext2_inode * inode; in swap_inodes() local
143 inode = (struct ext2_inode *) buf; in swap_inodes()
145 i++, ino++, inode++) { in swap_inodes()
[all …]
Dpass4.c29 struct ext2_inode inode; in disconnect_inode() local
32 e2fsck_read_inode(ctx, i, &inode, "pass4: disconnect_inode"); in disconnect_inode()
35 pctx.inode = &inode; in disconnect_inode()
43 if (!inode.i_blocks && (LINUX_S_ISREG(inode.i_mode) || in disconnect_inode()
44 LINUX_S_ISDIR(inode.i_mode))) { in disconnect_inode()
47 inode.i_links_count = 0; in disconnect_inode()
48 inode.i_dtime = ctx->now; in disconnect_inode()
49 e2fsck_write_inode(ctx, i, &inode, in disconnect_inode()
58 LINUX_S_ISDIR(inode.i_mode)); in disconnect_inode()
86 struct ext2_inode inode; in e2fsck_pass4() local
[all …]
Dpass1b.c62 ext2_ino_t inode; member
81 struct ext2_inode inode; member
119 struct ext2_inode *inode) in add_dupe() argument
139 ino_el->inode = ino; in add_dupe()
158 di->inode = *inode; in add_dupe()
246 struct ext2_inode *inode; member
254 struct ext2_inode inode; in pass1b() local
270 ctx->stashed_inode = &inode; in pass1b()
275 pctx.errcode = ext2fs_get_next_inode(scan, &ino, &inode); in pass1b()
292 pb.inode = &inode; in pass1b()
[all …]
/external/yaffs2/yaffs2/
Dyaffs_fs.c118 static int yaffs_create(struct inode *dir, struct dentry *dentry, int mode,
120 static struct dentry *yaffs_lookup(struct inode *dir, struct dentry *dentry,
123 static int yaffs_create(struct inode *dir, struct dentry *dentry, int mode);
124 static struct dentry *yaffs_lookup(struct inode *dir, struct dentry *dentry);
126 static int yaffs_link(struct dentry *old_dentry, struct inode *dir,
128 static int yaffs_unlink(struct inode *dir, struct dentry *dentry);
129 static int yaffs_symlink(struct inode *dir, struct dentry *dentry,
131 static int yaffs_mkdir(struct inode *dir, struct dentry *dentry, int mode);
134 static int yaffs_mknod(struct inode *dir, struct dentry *dentry, int mode,
137 static int yaffs_mknod(struct inode *dir, struct dentry *dentry, int mode,
[all …]
/external/kernel-headers/original/linux/nfsd/
Dnfsfh.h245 struct inode *inode; in fill_pre_wcc() local
247 inode = fhp->fh_dentry->d_inode; in fill_pre_wcc()
249 fhp->fh_pre_mtime = inode->i_mtime; in fill_pre_wcc()
250 fhp->fh_pre_ctime = inode->i_ctime; in fill_pre_wcc()
251 fhp->fh_pre_size = inode->i_size; in fill_pre_wcc()
262 struct inode *inode = fhp->fh_dentry->d_inode; in fill_post_wcc() local
267 fhp->fh_post_mode = inode->i_mode; in fill_post_wcc()
268 fhp->fh_post_nlink = inode->i_nlink; in fill_post_wcc()
269 fhp->fh_post_uid = inode->i_uid; in fill_post_wcc()
270 fhp->fh_post_gid = inode->i_gid; in fill_post_wcc()
[all …]
/external/e2fsprogs/tests/f_baddotdir/
Dexpect.15 Missing '.' in directory inode 12.
8 Missing '..' in directory inode 12.
11 First entry 'X' (inode=11) in directory inode 13 (/b) should be '.'
14 Missing '..' in directory inode 14.
17 Second entry 'XX' (inode=11) in directory inode 15 should be '..'
20 '.' directory entry in directory inode 17 is not NULL terminated
23 '..' directory entry in directory inode 17 is not NULL terminated
26 Missing '.' in directory inode 16.
29 Missing '..' in directory inode 16.
33 '..' in /a (12) is <The NULL inode> (0), should be / (2).
[all …]
/external/e2fsprogs/lib/ext2fs/
Dvalid_blk.c27 int ext2fs_inode_has_valid_blocks(struct ext2_inode *inode) in ext2fs_inode_has_valid_blocks() argument
33 if (!LINUX_S_ISDIR(inode->i_mode) && !LINUX_S_ISREG(inode->i_mode) && in ext2fs_inode_has_valid_blocks()
34 !LINUX_S_ISLNK(inode->i_mode)) in ext2fs_inode_has_valid_blocks()
41 if (LINUX_S_ISLNK (inode->i_mode)) { in ext2fs_inode_has_valid_blocks()
42 if (inode->i_file_acl == 0) { in ext2fs_inode_has_valid_blocks()
44 if (inode->i_blocks == 0) in ext2fs_inode_has_valid_blocks()
48 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()
Dnamei.c28 ext2_ino_t inode, int link_count, in follow_link() argument
38 root, dir, inode, link_count); in follow_link()
41 retval = ext2fs_read_inode (fs, inode, &ei); in follow_link()
44 *res_inode = inode; in follow_link()
84 ext2_ino_t inode; in dir_namei() local
101 retval = ext2fs_lookup (fs, dir, thisname, len, buf, &inode); in dir_namei()
103 retval = follow_link (fs, root, dir, inode, in dir_namei()
119 ext2_ino_t dir, inode; in open_namei() local
133 retval = ext2fs_lookup (fs, dir, base_name, namelen, buf, &inode); in open_namei()
137 retval = follow_link(fs, root, dir, inode, link_count, in open_namei()
[all …]
Dres_gdt.c65 struct ext2_inode inode; in ext2fs_create_resize_inode() local
81 retval = ext2fs_read_inode(fs, EXT2_RESIZE_INO, &inode); in ext2fs_create_resize_inode()
88 if ((dindir_blk = inode.i_block[EXT2_DIND_BLOCK])) { in ext2fs_create_resize_inode()
102 inode.i_mode = LINUX_S_IFREG | 0600; in ext2fs_create_resize_inode()
103 inode.i_links_count = 1; in ext2fs_create_resize_inode()
104 inode.i_block[EXT2_DIND_BLOCK] = dindir_blk; in ext2fs_create_resize_inode()
105 inode.i_blocks = rsv_add; in ext2fs_create_resize_inode()
113 inode.i_size = inode_size & 0xFFFFFFFF; in ext2fs_create_resize_inode()
114 inode.i_size_high = (inode_size >> 32) & 0xFFFFFFFF; in ext2fs_create_resize_inode()
115 if(inode.i_size_high) { in ext2fs_create_resize_inode()
[all …]
/external/e2fsprogs/tests/f_bbfile/
Dexpect.14 Group 0's inode bitmap (4) is bad. Relocate? yes
6 Relocating group 0's inode bitmap from 4 to 43...
8 Running additional passes to resolve blocks claimed by more than one inode...
10 Multiply-claimed block(s) in inode 2: 21
11 Multiply-claimed block(s) in inode 11: 9 10 11 12 13 14 15 16 17 18 19 20
12 Multiply-claimed block(s) in inode 12: 25 26
17 File / (inode #2, mod time Sun Jan 2 08:29:13 1994)
19 <The bad blocks inode> (inode #1, mod time Sun Jul 17 00:47:58 1994)
22 File /lost+found (inode #11, mod time Sun Jan 2 08:28:40 1994)
24 <The bad blocks inode> (inode #1, mod time Sun Jul 17 00:47:58 1994)
[all …]

12345678910