/external/erofs-utils/lib/ |
D | inode.c | 53 static struct erofs_inode *erofs_igrab(struct erofs_inode *inode) in erofs_igrab() argument 55 ++inode->i_count; in erofs_igrab() 56 return inode; in erofs_igrab() 64 struct erofs_inode *inode; in erofs_iget() local 66 list_for_each_entry(inode, head, i_hash) in erofs_iget() 67 if (inode->i_ino[1] == ino && inode->dev == dev) in erofs_iget() 68 return erofs_igrab(inode); in erofs_iget() 76 struct erofs_inode *inode; in erofs_iget_by_nid() local 78 list_for_each_entry(inode, head, i_hash) in erofs_iget_by_nid() 79 if (inode->nid == nid) in erofs_iget_by_nid() [all …]
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | inode.c | 55 static int squashfs_new_inode(struct super_block *sb, struct inode *inode, in squashfs_new_inode() argument 60 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->uid), &inode->i_uid); in squashfs_new_inode() 64 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->guid), &inode->i_gid); in squashfs_new_inode() 68 inode->i_ino = le32_to_cpu(sqsh_ino->inode_number); in squashfs_new_inode() 69 inode->i_mtime.tv_sec = le32_to_cpu(sqsh_ino->mtime); in squashfs_new_inode() 70 inode->i_atime.tv_sec = inode->i_mtime.tv_sec; in squashfs_new_inode() 71 inode->i_ctime.tv_sec = inode->i_mtime.tv_sec; in squashfs_new_inode() 72 inode->i_mode = le16_to_cpu(sqsh_ino->mode); in squashfs_new_inode() 73 inode->i_size = 0; in squashfs_new_inode() 79 struct inode *squashfs_iget(struct super_block *sb, long long ino, in squashfs_iget() [all …]
|
D | file.c | 61 static struct meta_index *locate_meta_index(struct inode *inode, int offset, in locate_meta_index() argument 65 struct squashfs_sb_info *msblk = inode->i_sb->s_fs_info; in locate_meta_index() 76 if (msblk->meta_index[i].inode_number == inode->i_ino && in locate_meta_index() 100 static struct meta_index *empty_meta_index(struct inode *inode, int offset, in empty_meta_index() argument 103 struct squashfs_sb_info *msblk = inode->i_sb->s_fs_info; in empty_meta_index() 149 meta->inode_number = inode->i_ino; in empty_meta_index() 161 static void release_meta_index(struct inode *inode, struct meta_index *meta) in release_meta_index() argument 163 struct squashfs_sb_info *msblk = inode->i_sb->s_fs_info; in release_meta_index() 237 static int fill_meta_index(struct inode *inode, int index, in fill_meta_index() argument 240 struct squashfs_sb_info *msblk = inode->i_sb->s_fs_info; in fill_meta_index() [all …]
|
/external/e2fsprogs/tests/f_h_reindex/ |
D | expect.1 | 1 Backing up journal inode block information. 5 Problem in HTREE directory inode 16001: block #1 has bad max hash 6 Problem in HTREE directory inode 16001: block #2 has bad min hash 7 Problem in HTREE directory inode 16001: block #2 has bad max hash 8 Problem in HTREE directory inode 16001: block #3 has bad min hash 9 Problem in HTREE directory inode 16001: block #3 has bad max hash 10 Problem in HTREE directory inode 16001: block #4 has bad min hash 11 Problem in HTREE directory inode 16001: block #4 has bad max hash 12 Problem in HTREE directory inode 16001: block #5 has bad min hash 13 Problem in HTREE directory inode 16001: block #5 has bad max hash [all …]
|
/external/e2fsprogs/tests/f_journal/ |
D | expect.1 | 2 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/ltp/testcases/kernel/device-drivers/drm/kernel_space/ |
D | str_drm.h | 34 extern int tdrm_test_interface(struct inode *inode, struct file *filp, 36 extern int tdrm_test_stub_register(struct inode *inode,struct file *filp, 38 extern int tdrm_test_stub_unregister(struct inode *inode,struct file *filp, 40 extern int tdrm_test_uninit_agp(struct inode *inode,struct file *filp, 42 extern int tdrm_test_init_agp(struct inode *inode,struct file *filp, 44 extern int tdrm_test_add_magic(struct inode *inode,struct file *filp, 46 extern int tdrm_test_remove_magic(struct inode *inode,struct file *filp, 48 extern int tdrm_test_ctxbitmap_init(struct inode *inode,struct file *filp, 50 extern int tdrm_test_ctxbitmap_cleanup(struct inode *inode,struct file *filp, 52 extern int tdrm_test_alloc_pages(struct inode *inode,struct file *filp, [all …]
|
D | tdrm.c | 81 int tdrm_test_stub_register(struct inode *inode, struct file *filp, in tdrm_test_stub_register() argument 92 int tdrm_test_stub_unregister(struct inode *inode, struct file *filp, in tdrm_test_stub_unregister() argument 99 int tdrm_test_uninit_agp(struct inode *inode, struct file *filp, in tdrm_test_uninit_agp() argument 106 int tdrm_test_init_agp(struct inode *inode, struct file *filp, in tdrm_test_init_agp() argument 113 int tdrm_test_add_magic(struct inode *inode, struct file *filp, in tdrm_test_add_magic() argument 122 int tdrm_test_remove_magic(struct inode *inode, struct file *filp, in tdrm_test_remove_magic() argument 131 int tdrm_test_ctxbitmap_init(struct inode *inode, struct file *filp, in tdrm_test_ctxbitmap_init() argument 139 int tdrm_test_ctxbitmap_cleanup(struct inode *inode, struct file *filp, in tdrm_test_ctxbitmap_cleanup() argument 148 int tdrm_test_alloc_pages(struct inode *inode, struct file *filp, in tdrm_test_alloc_pages() argument 156 int tdrm_test_free_pages(struct inode *inode, struct file *filp, in tdrm_test_free_pages() argument
|
/external/e2fsprogs/tests/f_unshare_blocks_no_space/ |
D | expect.1 | 3 Running additional passes to resolve blocks claimed by more than one inode... 5 Multiply-claimed block(s) in inode 24: 10 6 Multiply-claimed block(s) in inode 25: 9 9 9--10 7 Multiply-claimed block(s) in inode 26: 9 9 9--10 8 Multiply-claimed block(s) in inode 27: 9 9 9--10 9 Multiply-claimed block(s) in inode 28: 9 9 9--10 10 Multiply-claimed block(s) in inode 29: 9 9 9--10 11 Multiply-claimed block(s) in inode 30: 9 9 9--10 12 Multiply-claimed block(s) in inode 31: 9 9 9--10 13 Multiply-claimed block(s) in inode 32: 9 9 9--10 [all …]
|
/external/e2fsprogs/tests/f_expand/ |
D | expect.1.gz | ... 3Pass 3: Checking directory connectivity
4Unconnected directory inode 310 (<12>/<310>) ... |
/external/e2fsprogs/tests/f_badsymlinks2/ |
D | expect.1 | 3 Symlink /default/empty (inode #13) is invalid. 6 Symlink /default/fast_isize_too_small (inode #15) is invalid. 9 Symlink /default/fast_isize_too_large (inode #16) is invalid. 12 Symlink /default/slow_isize_too_small (inode #19) is invalid. 15 Symlink /default/slow_isize_too_large (inode #20) is invalid. 18 Symlink /default/one_too_long (inode #22) is invalid. 21 Symlink /default/too_long (inode #23) is invalid. 24 Symlink /encrypted/empty (inode #25) is invalid. 27 Symlink /encrypted/fast_isize_too_large (inode #28) is invalid. 30 Symlink /encrypted/fast_isize_too_small (inode #27) is invalid. [all …]
|
/external/e2fsprogs/tests/f_dup4/ |
D | expect.1 | 3 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/ |
D | expect.1 | 1 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/squashfs-tools/squashfs-tools/ |
D | unsquash-4.c | 97 struct inode *read_inode_4(unsigned int start_block, unsigned int offset) in read_inode_4() 103 static struct inode i; in read_inode_4() 122 struct squashfs_dir_inode_header *inode = &header.dir; in read_inode_4() local 124 SQUASHFS_SWAP_DIR_INODE_HEADER(block_ptr, inode); in read_inode_4() 126 i.data = inode->file_size; in read_inode_4() 127 i.offset = inode->offset; in read_inode_4() 128 i.start = inode->start_block; in read_inode_4() 133 struct squashfs_ldir_inode_header *inode = &header.ldir; in read_inode_4() local 135 SQUASHFS_SWAP_LDIR_INODE_HEADER(block_ptr, inode); in read_inode_4() 137 i.data = inode->file_size; in read_inode_4() [all …]
|
/external/e2fsprogs/tests/f_rebuild_csum_rootdir/ |
D | expect.1 | 3 Directory inode 2, block #0, offset 0: directory has no checksum. 6 Directory inode 2, block #0, offset 0: directory corrupted 9 Missing '.' in directory inode 2. 13 Missing '..' in directory inode 2. 18 '..' in / (2) is <The NULL inode> (0), should be / (2). 21 Unconnected directory inode 11 (/???) 30 Unattached inode 12 35 Unattached inode 13 40 Unattached inode 14 45 Unattached inode 15 [all …]
|
/external/e2fsprogs/debugfs/ |
D | dump.c | 70 static void fix_perms(const char *cmd, const struct ext2_inode *inode, in fix_perms() argument 77 i = fchmod(fd, mode_xlate(inode->i_mode)); in fix_perms() 79 i = chmod(name, mode_xlate(inode->i_mode)); in fix_perms() 84 i = chown(name, inode->i_uid, inode->i_gid); in fix_perms() 87 i = fchown(fd, inode->i_uid, inode->i_gid); in fix_perms() 89 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 …]
|
D | debugfs.c | 614 struct ext2_inode_large *inode) in internal_dump_inode_extra() argument 616 fprintf(out, "Size of extra inode fields: %u\n", inode->i_extra_isize); in internal_dump_inode_extra() 617 if (inode->i_extra_isize > EXT2_INODE_SIZE(current_fs->super) - in internal_dump_inode_extra() 620 inode->i_extra_isize); in internal_dump_inode_extra() 625 static void dump_blocks(FILE *f, const char *prefix, ext2_ino_t inode) in dump_blocks() argument 634 ext2fs_block_iterate3(current_fs, inode, BLOCK_FLAG_READ_ONLY, NULL, in dump_blocks() 785 struct ext2_inode *inode, const char *prefix) in dump_inline_symlink() argument 800 inode, buf, &size); in dump_inline_symlink() 814 ext2_ino_t inode_num, struct ext2_inode *inode, in internal_dump_inode() argument 825 large_inode = (struct ext2_inode_large *) inode; in internal_dump_inode() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | symlink.c | 51 struct ext2_inode inode; in ext2fs_symlink() local 79 memset(&inode, 0, sizeof(struct ext2_inode)); in ext2fs_symlink() 80 fastlink = (target_len < sizeof(inode.i_block)); in ext2fs_symlink() 83 &inode, in ext2fs_symlink() 103 inode.i_mode = LINUX_S_IFLNK | 0777; in ext2fs_symlink() 104 inode.i_uid = inode.i_gid = 0; in ext2fs_symlink() 105 inode.i_links_count = 1; in ext2fs_symlink() 106 ext2fs_inode_size_set(fs, &inode, target_len); in ext2fs_symlink() 112 strcpy((char *)&inode.i_block, target); in ext2fs_symlink() 115 inode.i_flags |= EXT4_INLINE_DATA_FL; in ext2fs_symlink() [all …]
|
D | valid_blk.c | 27 int ext2fs_inode_has_valid_blocks2(ext2_filsys fs, struct ext2_inode *inode) in ext2fs_inode_has_valid_blocks2() argument 33 if (!LINUX_S_ISDIR(inode->i_mode) && !LINUX_S_ISREG(inode->i_mode) && in ext2fs_inode_has_valid_blocks2() 34 !LINUX_S_ISLNK(inode->i_mode)) in ext2fs_inode_has_valid_blocks2() 41 if (LINUX_S_ISLNK (inode->i_mode)) { in ext2fs_inode_has_valid_blocks2() 42 if (ext2fs_file_acl_block(fs, inode) == 0) { in ext2fs_inode_has_valid_blocks2() 44 if (inode->i_blocks == 0) in ext2fs_inode_has_valid_blocks2() 48 if (inode->i_size >= EXT2_N_BLOCKS*4) in ext2fs_inode_has_valid_blocks2() 50 if (inode->i_size > 4 && inode->i_block[1] == 0) in ext2fs_inode_has_valid_blocks2() 60 if (inode->i_flags & EXT4_INLINE_DATA_FL) in ext2fs_inode_has_valid_blocks2() 65 int ext2fs_inode_has_valid_blocks(struct ext2_inode *inode) in ext2fs_inode_has_valid_blocks() argument [all …]
|
D | i_block.c | 30 errcode_t ext2fs_iblk_add_blocks(ext2_filsys fs, struct ext2_inode *inode, in ext2fs_iblk_add_blocks() argument 33 unsigned long long b = inode->i_blocks; in ext2fs_iblk_add_blocks() 36 b += ((long long) inode->osd2.linux2.l_i_blocks_hi) << 32; in ext2fs_iblk_add_blocks() 39 !(inode->i_flags & EXT4_HUGE_FILE_FL)) in ext2fs_iblk_add_blocks() 46 inode->osd2.linux2.l_i_blocks_hi = b >> 32; in ext2fs_iblk_add_blocks() 49 inode->i_blocks = b & 0xFFFFFFFF; in ext2fs_iblk_add_blocks() 53 errcode_t ext2fs_iblk_sub_blocks(ext2_filsys fs, struct ext2_inode *inode, in ext2fs_iblk_sub_blocks() argument 56 unsigned long long b = inode->i_blocks; in ext2fs_iblk_sub_blocks() 59 b += ((long long) inode->osd2.linux2.l_i_blocks_hi) << 32; in ext2fs_iblk_sub_blocks() 62 !(inode->i_flags & EXT4_HUGE_FILE_FL)) in ext2fs_iblk_sub_blocks() [all …]
|
/external/ltp/testcases/kernel/syscalls/utils/ |
D | inotify.h | 87 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 …]
|
/external/e2fsprogs/e2fsck/ |
D | pass1.c | 104 struct ext2_inode *inode; member 115 struct ext2_inode_large inode; member 151 struct ext2_inode *inode) in e2fsck_pass1_check_device_inode() argument 159 if (inode->i_flags & (EXT2_INDEX_FL | EXT4_EXTENTS_FL)) in e2fsck_pass1_check_device_inode() 173 if (inode->i_flags & (EXT2_IMMUTABLE_FL | EXT2_APPEND_FL)) { in e2fsck_pass1_check_device_inode() 175 if (inode->i_block[i]) in e2fsck_pass1_check_device_inode() 186 struct ext2_inode *inode, char *buf) in e2fsck_pass1_check_symlink() argument 191 if ((inode->i_size_high || inode->i_size == 0) || in e2fsck_pass1_check_symlink() 192 (inode->i_flags & EXT2_INDEX_FL)) in e2fsck_pass1_check_symlink() 195 if (inode->i_flags & EXT4_INLINE_DATA_FL) { in e2fsck_pass1_check_symlink() [all …]
|
D | pass4.c | 30 struct ext2_inode_large *inode) in disconnect_inode() argument 37 e2fsck_read_inode_full(ctx, i, EXT2_INODE(inode), in disconnect_inode() 41 extra_size = inode->i_extra_isize; in disconnect_inode() 45 pctx.inode = EXT2_INODE(inode); in disconnect_inode() 48 eamagic = *(__u32 *)(((char *)inode) +EXT2_GOOD_OLD_INODE_SIZE + in disconnect_inode() 56 if (!inode->i_blocks && eamagic != EXT2_EXT_ATTR_MAGIC && in disconnect_inode() 57 (LINUX_S_ISREG(inode->i_mode) || LINUX_S_ISDIR(inode->i_mode))) { in disconnect_inode() 59 e2fsck_clear_inode(ctx, i, EXT2_INODE(inode), 0, in disconnect_inode() 66 LINUX_S_ISDIR(inode->i_mode)); in disconnect_inode() 67 quota_data_inodes(ctx->qctx, inode, i, -1); in disconnect_inode() [all …]
|
/external/e2fsprogs/tests/f_bad_inode_csum/ |
D | expect.1 | 5 Inode 49 passes checks, but checksum does not match inode. Fix? yes 7 Inode 65 passes checks, but checksum does not match inode. Fix? yes 9 Inode 81 passes checks, but checksum does not match inode. Fix? yes 44 Extended attribute block for inode 49 (/38) is invalid (4294967295). 47 Entry '86' in / (2) has deleted/unused inode 97. Clear? yes 49 Entry '87' in / (2) has deleted/unused inode 98. Clear? yes 51 Entry '88' in / (2) has deleted/unused inode 99. Clear? yes 53 Entry '89' in / (2) has deleted/unused inode 100. Clear? yes 55 Entry '90' in / (2) has deleted/unused inode 101. Clear? yes 57 Entry '91' in / (2) has deleted/unused inode 102. Clear? yes [all …]
|
/external/e2fsprogs/tests/f_holedir4/ |
D | expect.1 | 2 Directory inode 12 block 211 should be at block 25. Fix? yes 9 Directory inode 12 has an unallocated block #2. Allocate? yes 11 Directory inode 12 has an unallocated block #3. Allocate? yes 13 Directory inode 12 has an unallocated block #4. Allocate? yes 15 Directory inode 12 has an unallocated block #5. Allocate? yes 17 Directory inode 12 has an unallocated block #6. Allocate? yes 19 Directory inode 12 has an unallocated block #7. Allocate? yes 21 Directory inode 12 has an unallocated block #8. Allocate? yes 23 Directory inode 12 has an unallocated block #9. Allocate? yes 25 Directory inode 12 has an unallocated block #10. Allocate? yes [all …]
|
/external/freetype/src/cache/ |
D | ftcimage.c | 33 FTC_INode inode = (FTC_INode)ftcinode; in ftc_inode_free() local 37 if ( inode->glyph ) in ftc_inode_free() 39 FT_Done_Glyph( inode->glyph ); in ftc_inode_free() 40 inode->glyph = NULL; in ftc_inode_free() 43 FTC_GNode_Done( FTC_GNODE( inode ), cache ); in ftc_inode_free() 44 FT_FREE( inode ); in ftc_inode_free() 49 FTC_INode_Free( FTC_INode inode, in FTC_INode_Free() argument 52 ftc_inode_free( FTC_NODE( inode ), cache ); in FTC_INode_Free() 64 FTC_INode inode = NULL; in FTC_INode_New() local 67 if ( !FT_NEW( inode ) ) in FTC_INode_New() [all …]
|