/external/e2fsprogs/debugfs/ |
ls.c | 92 struct ext2_inode inode; variable in typeref:struct:ext2_inode 105 ino = dirent->inode; 121 if (debugfs_read_inode(ino, &inode, "ls")) 124 memset(&inode, 0, sizeof(struct ext2_inode)); 125 fprintf(ls->f,"/%u/%06o/%d/%d/%*s/", ino, inode.i_mode, 126 inode.i_uid, inode.i_gid, thislen, dirent->name); 127 if (LINUX_S_ISDIR(inode.i_mode)) 130 fprintf(ls->f, "%lld/", EXT2_I_SIZE(&inode)); 134 if (debugfs_read_inode(ino, &inode, "ls") 195 struct ext2_inode inode; local [all...] |
debugfs.c | 188 com_err(device, 0, "catastrophic mode - not reading inode or group bitmaps"); 192 com_err(device, retval, "while reading inode bitmap"); 462 "inode bitmap at %llu, " 463 "inode table at %llu\n" 475 "inodes" : "inode", 483 "inodes" : "inode"); 485 print_bg_opts(current_fs, i, EXT2_BG_INODE_UNINIT, "Inode not init", 594 struct ext2_inode_large *inode) 596 fprintf(out, "Size of extra inode fields: %u\n", inode->i_extra_isize) 966 ext2_ino_t inode; local 997 struct ext2_inode inode; local 1068 ext2_ino_t inode; local 1085 ext2_ino_t inode; local 1102 ext2_ino_t inode; local 1119 ext2_ino_t inode; local 1149 ext2_ino_t inode; local 1178 ext2_ino_t inode; local 1315 struct ext2_inode inode; local 1393 ext2_ino_t inode; local 1446 struct ext2_inode inode; local 1522 struct ext2_inode inode; local 1594 struct ext2_inode inode; local 1835 struct ext2_inode inode; local 1896 struct ext2_inode inode; local 1962 ext2_ino_t inode; local [all...] |
icheck.c | 31 ext2_ino_t inode; member in struct:block_walk_struct 46 bw->barray[i].ino = bw->inode; 63 struct ext2_inode inode; local 77 "while allocating inode info array"); 97 com_err("icheck", retval, "while opening inode scan"); 102 retval = ext2fs_get_next_inode(scan, &ino, &inode); 105 com_err("icheck", retval, "while starting inode scan"); 112 if (!inode.i_links_count) 115 bw.inode = ino; 117 blk = ext2fs_file_acl_block(current_fs, &inode); [all...] |
ncheck.c | 46 struct ext2_inode inode; local 55 if (iw->iarray[i] == dirent->inode) { 62 "while calling ext2fs_get_pathname for inode #%u", iw->dir); 77 if (!debugfs_read_inode(dirent->inode, &inode, 79 filetype != ext2_file_type(inode.i_mode)) { 98 struct ext2_inode inode; local 119 com_err(argv[0], 0, "Usage: ncheck [-c] <inode number> ..."); 128 "while allocating inode number array"); 136 com_err(argv[0], 0, "Bad inode - %s", argv[i]) [all...] |
/external/syslinux/core/fs/ext2/ |
bmap.c | 46 bmap_extent(struct inode *inode, uint32_t block, size_t *nblocks) 48 struct fs_info *fs = inode->fs; 54 leaf = ext4_find_leaf(fs, &PVT(inode)->i_extent_hdr, block); 144 bmap_traditional(struct inode *inode, block_t block, size_t *nblocks) 146 struct fs_info *fs = inode->fs; 156 return scan_set_nblocks(&PVT(inode)->i_block[block], 162 return bmap_indirect(fs, PVT(inode)->i_block[EXT2_IND_BLOCK], 168 return bmap_indirect(fs, PVT(inode)->i_block[EXT2_DIND_BLOCK] [all...] |
/external/syslinux/core/fs/ufs/ |
bmap.c | 120 uint64_t ufs_bmap (struct inode *inode, block_t block, size_t *nblocks) 124 struct fs_info *fs = inode->fs; 142 return scan_set_nblocks((uint8_t *) PVT(inode)->direct_blk_ptr, 149 return bmap_indirect(fs, PVT(inode)->indirect_blk_ptr, 155 return bmap_indirect(fs, PVT(inode)->double_indirect_blk_ptr, 161 return bmap_indirect(fs, PVT(inode)->triple_indirect_blk_ptr, 172 int ufs_next_extent(struct inode *inode, uint32_t lstart) 174 struct fs_info *fs = inode->fs [all...] |
/external/e2fsprogs/lib/ext2fs/ |
unlink.c | 25 ext2_ino_t inode; member in struct:link_struct 52 if (ls->inode) { 53 if (dirent->inode != ls->inode) 56 if (!dirent->inode) 63 dirent->inode = 0; 88 ls.inode = ino;
|
link.c | 26 ext2_ino_t inode; member in struct:link_struct 64 (next->inode == 0) && 83 !dirent->inode) { 112 if (dirent->inode) { 122 next->inode = 0; 137 dirent->inode = ls->inode; 159 struct ext2_inode inode; local 169 ls.inode = ino; 186 if ((retval = ext2fs_read_inode(fs, dir, &inode)) != 0 [all...] |
namei.c | 30 ext2_ino_t inode, int link_count, 40 printf("follow_link: root=%lu, dir=%lu, inode=%lu, lc=%d\n", 41 root, dir, inode, link_count); 44 retval = ext2fs_read_inode (fs, inode, &ei); 47 *res_inode = inode; 54 retval = ext2fs_bmap2(fs, inode, &ei, NULL, 0, 0, NULL, &blk); 79 * directory and the root directory, and returns the inode of the 92 ext2_ino_t inode; local 109 retval = ext2fs_lookup (fs, dir, thisname, len, buf, &inode); 111 retval = follow_link (fs, root, dir, inode, 127 ext2_ino_t dir, inode; local [all...] |
ext2_ext_attr.h | 62 extern int ext2_get_ext_attr(struct inode *, const char *, char *, size_t, int); 63 extern int ext2_set_ext_attr(struct inode *, const char *, char *, size_t, int); 64 extern void ext2_ext_attr_free_inode(struct inode *inode);
|
ext_attr.c | 321 struct ext2_inode_large *inode) 329 /* Read inode? */ 330 if (inode == NULL) { 335 inode = &i; 339 blk = ext2fs_file_acl_block(fs, (struct ext2_inode *)inode); 371 ext2fs_file_acl_block_set(fs, (struct ext2_inode *)inode, 0); 374 err = ext2fs_iblk_sub_blocks(fs, (struct ext2_inode *)inode, 1); 378 /* Write inode? */ 379 if (inode == &i) { 393 struct ext2_inode_large *inode) 523 struct ext2_inode_large *inode; local 782 struct ext2_inode_large *inode; local 938 struct ext2_inode_large *inode; local [all...] |
/external/squashfs-tools/squashfs-tools/ |
unsquash-3.c | 115 struct inode *read_inode_3(unsigned int start_block, unsigned int offset) 121 static struct inode i; 123 TRACE("read_inode: reading inode [%d:%d]\n", start_block, offset); 126 EXIT_UNSQUASH("read_inode: inode table block %lld not found\n", 148 squashfs_dir_inode_header_3 *inode = &header.dir; local 159 i.data = inode->file_size; 160 i.offset = inode->offset; 161 i.start = inode->start_block; 165 squashfs_ldir_inode_header_3 *inode = &header.ldir; local 176 i.data = inode->file_size 182 squashfs_reg_inode_header_3 *inode = &header.reg; local 207 squashfs_lreg_inode_header_3 *inode = &header.lreg; local [all...] |
/external/e2fsprogs/contrib/android/ |
perms.c | 36 com_err(__func__, retval, _("while opening inode %u"), ino); 42 _("while reading xattrs of inode %u"), ino); 48 _("while setting xattrs of inode %u"), ino); 54 _("while writting xattrs of inode %u"), ino); 61 _("while closing xattrs of inode %u"), ino); 72 struct ext2_inode inode; local 77 retval = ext2fs_read_inode(fs, ino, &inode); 80 _("while reading inode %u"), ino); 85 inode.i_mode); 104 struct ext2_inode inode; local 145 struct ext2_inode inode; local 187 struct ext2_inode inode; local [all...] |
/external/squashfs-tools/kernel/fs/squashfs/ |
squashfs.h | 30 static inline struct squashfs_inode_info *squashfs_i(struct inode *inode) 32 return list_entry(inode, struct squashfs_inode_info, vfs_inode); 68 /* inode.c */ 69 extern struct inode *squashfs_iget(struct super_block *, long long, 71 extern int squashfs_read_inode(struct inode *, long long);
|
/external/syslinux/core/include/ |
net.h | 32 struct inode; 39 void core_tcp_close_file(struct inode *inode); 40 void core_tcp_fill_buffer(struct inode *inode);
|
/external/e2fsprogs/e2fsck/ |
message.c | 19 * %Di <dirent>->ino inode number 24 * %d <dir> inode number 26 * %i <ino> inode number 27 * %Is <inode> -> i_size 28 * %IS <inode> -> i_extra_isize 29 * %Ib <inode> -> i_blocks 30 * %Il <inode> -> i_links_count 31 * %Im <inode> -> i_mode 32 * %IM <inode> -> i_mtime 33 * %IF <inode> -> i_fadd 270 struct ext2_inode *inode; local [all...] |
pass2.c | 20 * - The inode number in the directory entry should be within 22 * - The inode number should refer to a in-use inode. 23 * - The first entry should be '.', and its inode should be 24 * the inode of the directory. 31 * - The inode numbers of the subdirectories for each directory. 61 * Keeps track of how many times an inode is referenced. 362 if (!dirent->inode) 375 dirent->inode = ino; 384 if (dirent->inode != ino) 508 struct ext2_inode inode; local 794 struct ext2_inode inode; local 1608 struct ext2_inode inode; local 1677 struct ext2_inode inode; local 1691 struct ext2_inode inode; local 1842 struct ext2_inode inode; local [all...] |
/external/f2fs-tools/fsck/ |
xattr.c | 20 void *read_all_xattrs(struct f2fs_sb_info *sbi, struct f2fs_node *inode) 24 u64 inline_size = inline_xattr_size(&inode->i); 30 memcpy(txattr_addr, inline_xattr_addr(&inode->i), inline_size); 33 if (inode->i.i_xattr_nid) { 37 get_node_info(sbi, le32_to_cpu(inode->i.i_xattr_nid), &ni); 68 struct f2fs_node *inode, __u32 hsize, void *txattr_addr) 76 nid_t xnid = le32_to_cpu(inode->i.i_xattr_nid); 77 u64 inline_size = inline_xattr_size(&inode->i); 80 memcpy(inline_xattr_addr(&inode->i), txattr_addr, inline_size); 88 set_new_dnode(&dn, inode, NULL, new_nid) 116 struct f2fs_node *inode; local [all...] |
segment.c | 19 static void write_inode(u64 blkaddr, struct f2fs_node *inode) 22 inode->i.i_inode_checksum = 23 cpu_to_le32(f2fs_inode_chksum(inode)); 24 ASSERT(dev_write_block(inode, blkaddr) >= 0); 90 struct f2fs_node *inode; local 102 /* Memory allocation for block buffer and inode. */ 105 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); 107 /* Read inode */ 109 ASSERT(dev_read_block(inode, ni.blk_addr) >= 0); 110 ASSERT(!S_ISDIR(le16_to_cpu(inode->i.i_mode))) 173 struct f2fs_node *inode; local 259 struct f2fs_node *inode; local [all...] |
/external/syslinux/core/fs/pxe/ |
ftp.c | 31 static int ftp_cmd_response(struct inode *inode, const char *cmd, 35 struct pxe_pvt_inode *socket = PVT(inode); 83 while ((c = pxe_getc(inode)) >= 0) { 151 static void ftp_free(struct inode *inode) 153 struct pxe_pvt_inode *socket = PVT(inode); 160 core_tcp_close_file(inode); 163 static void ftp_close_file(struct inode *inode) [all...] |
/external/ltp/testcases/kernel/device-drivers/v4l/kernel_space/ |
video_dummy.c | 13 static int dummy_open(struct inode *inode, struct file *file) 15 int minor = iminor(inode); 22 static int dummy_close(struct inode *inode, struct file *file) 24 int minor = iminor(inode);
|
/external/e2fsprogs/misc/ |
fuse2fs.c | 296 * ext2_file_t contains a struct inode, so we can't leave files open. 350 * Extended fields will fit into an inode if the filesystem was formatted 355 * the extended inode fields is critical for correct filesystem operation. 356 * This macro checks if a certain field fits in the inode. Note that 357 * inode-size = GOOD_OLD_INODE_SIZE + i_extra_isize 438 static void increment_version(struct ext2_inode_large *inode) 442 ver = inode->osd1.linux1.l_i_version; 443 if (EXT4_FITS_IN_INODE(inode, i_version_hi)) 444 ver |= (__u64)inode->i_version_hi << 32; 446 inode->osd1.linux1.l_i_version = ver 468 struct ext2_inode_large inode; local 500 struct ext2_inode_large inode, *pinode; local 535 struct ext2_inode_large inode; local 626 struct ext2_inode inode; local 767 struct ext2_inode_large inode; local 837 struct ext2_inode inode; local 917 struct ext2_inode_large inode; local 1043 struct ext2_inode_large inode; local 1215 struct ext2_inode_large inode; local 1344 struct ext2_inode_large inode; local 1430 struct ext2_inode_large inode; local 1551 struct ext2_inode inode; local 1776 struct ext2_inode_large inode; local 1877 struct ext2_inode_large inode; local 1936 struct ext2_inode_large inode; local 2842 struct ext2_inode_large inode; local 3037 struct ext2_inode_large inode; local 3097 struct ext2_inode_large inode; local 3120 struct ext2_inode_large inode; local 3158 struct ext2_inode_large inode; local 3176 struct ext2_inode_large inode; local 3347 struct ext2_inode_large inode; local 3483 struct ext2_inode_large inode; local [all...] |
/external/e2fsprogs/lib/support/ |
mkquota.c | 29 static void print_inode(struct ext2_inode *inode) 31 if (!inode) 34 fprintf(stderr, " i_mode = %d\n", inode->i_mode); 35 fprintf(stderr, " i_uid = %d\n", inode->i_uid); 36 fprintf(stderr, " i_size = %d\n", inode->i_size); 37 fprintf(stderr, " i_atime = %d\n", inode->i_atime); 38 fprintf(stderr, " i_ctime = %d\n", inode->i_ctime); 39 fprintf(stderr, " i_mtime = %d\n", inode->i_mtime); 40 fprintf(stderr, " i_dtime = %d\n", inode->i_dtime); 41 fprintf(stderr, " i_gid = %d\n", inode->i_gid) 122 struct ext2_inode inode; local 452 struct ext2_inode_large *inode; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/pat_trie_/ |
traits.hpp | 79 typedef base_type::_Inode<synth_access_traits, metadata> inode; typedef in struct:__gnu_pbds::detail::trie_traits 81 typedef base_type::_Iter<node, leaf, head, inode, true> iterator; 82 typedef base_type::_CIter<node, leaf, head, inode, true> const_iterator; 83 typedef base_type::_Iter<node, leaf, head, inode, false> reverse_iterator; 84 typedef base_type::_CIter<node, leaf, head, inode, false> const_reverse_iterator; 88 typedef base_type::_Node_citer<node, leaf, head, inode, const_iterator, iterator, _Alloc> node_const_iterator; 90 typedef base_type::_Node_iter<node, leaf, head, inode, const_iterator, iterator, _Alloc> node_iterator; 126 typedef base_type::_Inode<synth_access_traits, metadata> inode; typedef in struct:__gnu_pbds::detail::trie_traits 128 typedef base_type::_CIter<node, leaf, head, inode, true> const_iterator; 130 typedef base_type::_CIter<node, leaf, head, inode, false> const_reverse_iterator [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/pat_trie_/ |
traits.hpp | 79 typedef base_type::_Inode<synth_access_traits, metadata> inode; typedef in struct:__gnu_pbds::detail::trie_traits 81 typedef base_type::_Iter<node, leaf, head, inode, true> iterator; 82 typedef base_type::_CIter<node, leaf, head, inode, true> const_iterator; 83 typedef base_type::_Iter<node, leaf, head, inode, false> reverse_iterator; 84 typedef base_type::_CIter<node, leaf, head, inode, false> const_reverse_iterator; 88 typedef base_type::_Node_citer<node, leaf, head, inode, const_iterator, iterator, _Alloc> node_const_iterator; 90 typedef base_type::_Node_iter<node, leaf, head, inode, const_iterator, iterator, _Alloc> node_iterator; 126 typedef base_type::_Inode<synth_access_traits, metadata> inode; typedef in struct:__gnu_pbds::detail::trie_traits 128 typedef base_type::_CIter<node, leaf, head, inode, true> const_iterator; 130 typedef base_type::_CIter<node, leaf, head, inode, false> const_reverse_iterator [all...] |