/external/e2fsprogs/lib/ext2fs/ |
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...] |
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;
|
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;
|
bmap.c | 29 struct ext2_inode *inode, 33 #define inode_bmap(inode, nr) ((inode)->i_block[(nr)]) 132 errcode_t ext2fs_bmap2(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, 150 /* Read inode structure if necessary */ 151 if (!inode) { 155 inode = &inode_buf; 159 if (inode->i_flags & EXT4_EXTENTS_FL) { 163 retval = ext2fs_extent_open2(fs, ino, inode, &handle); 196 /* Update inode after setting extent * [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...] |
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...] |
res_gdt.c | 58 * uses before we can add them to the resize inode (which has to come 59 * after the creation of the inode table). 65 struct ext2_inode inode; local 80 retval = ext2fs_read_inode(fs, EXT2_RESIZE_INO, &inode); 86 if ((dindir_blk = inode.i_block[EXT2_DIND_BLOCK])) { 101 inode.i_mode = LINUX_S_IFREG | 0600; 102 inode.i_links_count = 1; 103 inode.i_block[EXT2_DIND_BLOCK] = dindir_blk; 104 ext2fs_iblk_set(fs, &inode, 1); 112 inode.i_size = inode_size & 0xFFFFFFFF [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
fs.h | 141 /* Inode flags - they have nothing to superblock flags now */ 148 #define S_NOQUOTA 32 /* Inode is not counted to quota */ 152 #define S_PRIVATE 512 /* Inode is fs-internal */ 155 * Note that nosuid etc flags are inode-specific: setting some file-system 167 #define __IS_FLG(inode,flg) ((inode)->i_sb->s_flags & (flg)) 169 #define IS_RDONLY(inode) ((inode)->i_sb->s_flags & MS_RDONLY) 170 #define IS_SYNC(inode) (__IS_FLG(inode, MS_SYNCHRONOUS) || [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
fs.h | 141 /* Inode flags - they have nothing to superblock flags now */ 148 #define S_NOQUOTA 32 /* Inode is not counted to quota */ 152 #define S_PRIVATE 512 /* Inode is fs-internal */ 155 * Note that nosuid etc flags are inode-specific: setting some file-system 167 #define __IS_FLG(inode,flg) ((inode)->i_sb->s_flags & (flg)) 169 #define IS_RDONLY(inode) ((inode)->i_sb->s_flags & MS_RDONLY) 170 #define IS_SYNC(inode) (__IS_FLG(inode, MS_SYNCHRONOUS) || [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
fs.h | 141 /* Inode flags - they have nothing to superblock flags now */ 148 #define S_NOQUOTA 32 /* Inode is not counted to quota */ 152 #define S_PRIVATE 512 /* Inode is fs-internal */ 155 * Note that nosuid etc flags are inode-specific: setting some file-system 167 #define __IS_FLG(inode,flg) ((inode)->i_sb->s_flags & (flg)) 169 #define IS_RDONLY(inode) ((inode)->i_sb->s_flags & MS_RDONLY) 170 #define IS_SYNC(inode) (__IS_FLG(inode, MS_SYNCHRONOUS) || [all...] |
/external/e2fsprogs/debugfs/ |
debugfs.c | 91 com_err(device, 0, "catastrophic mode - not reading inode or group bitmaps"); 95 com_err(device, retval, "while reading inode bitmap"); 349 "inode bitmap at %u, " 350 "inode table at %u\n" 359 gdp->bg_free_inodes_count != 1 ? "inodes" : "inode", 366 gdp->bg_itable_unused != 1 ? "inodes":"inode"); 368 print_bg_opts(gdp, EXT2_BG_INODE_UNINIT, "Inode not init", 496 struct ext2_inode_large *inode) 503 fprintf(out, "Size of extra inode fields: %u\n", inode->i_extra_isize) 827 ext2_ino_t inode; local 858 struct ext2_inode inode; local 921 ext2_ino_t inode; local 937 ext2_ino_t inode; local 952 ext2_ino_t inode; local 966 ext2_ino_t inode; local 980 ext2_ino_t inode; local 1114 struct ext2_inode inode; local 1191 ext2_ino_t inode; local 1272 struct ext2_inode inode; local 1346 struct ext2_inode inode; local 1554 struct ext2_inode inode; local 1631 struct ext2_inode inode; local 1799 struct ext2_inode inode; local 1860 struct ext2_inode inode; local 1926 ext2_ino_t inode; local [all...] |
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...] |
/external/kernel-headers/original/linux/ |
msdos_fs.h | 265 * MS-DOS file system inode data in memory 280 struct inode vfs_inode; 288 static inline struct msdos_inode_info *MSDOS_I(struct inode *inode) 290 return container_of(inode, struct msdos_inode_info, vfs_inode); 293 /* Return the FAT attribute byte for this inode */ 294 static inline u8 fat_attr(struct inode *inode) 296 return ((inode->i_mode & S_IWUGO) ? ATTR_NONE : ATTR_RO) | 297 (S_ISDIR(inode->i_mode) ? ATTR_DIR : ATTR_NONE) [all...] |
/system/extras/ext4_utils/ |
contents.c | 60 struct ext4_dir_entry_2 *prev, u32 inode, const char *name, 79 dentry->inode = inode; 90 and stores the location of the structure in an inode. The new inode's 91 .. link is set to dir_inode_num. Stores the location of the inode number 92 of each directory entry into dentries[i].inode, to be filled in later 93 when the inode for the entry is allocated. Returns the inode number of the 98 struct ext4_inode *inode; local 176 struct ext4_inode *inode; local 204 struct ext4_inode *inode; local 239 struct ext4_inode *inode = get_inode(inode_num); local 444 struct ext4_inode *inode = get_inode(inode_num); local [all...] |
ext4_jbd2.h | 17 #define EXT4_JOURNAL(inode) (EXT4_SB((inode)->i_sb)->s_journal) 44 #define ext4_forget(handle, is_metadata, inode, bh, block_nr) __ext4_forget(__func__, (handle), (is_metadata), (inode), (bh), (block_nr)) 46 #define ext4_handle_dirty_metadata(handle, inode, bh) __ext4_handle_dirty_metadata(__func__, (handle), (inode), (bh))
|
/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 264 struct ext2_inode *inode; local [all...] |
pass1.c | 2 * pass1.c -- pass #1 of e2fsck: sequential scan of the inode table 12 * and applies the following tests to each inode: 14 * - The mode field of the inode must be legal. 15 * - The size and block count fields of the inode are correct. 16 * - A data block must not be used by another inode 31 * other passes should not need to read in the inode information 34 * inode to fix it.) 89 struct ext2_inode *inode; member in struct:process_block_struct 97 struct ext2_inode inode; member in struct:process_inode_block 125 * Check to make sure a device inode is real. Returns 1 if the devic 133 struct ext2_inode *inode) struct 257 struct ext2_inode *inode = pctx->inode; local 273 struct ext2_inode_large *inode; local 353 struct ext2_inode_large *inode; local 403 struct ext2_inode *inode = pctx->inode; local 549 struct ext2_inode *inode; local 1414 struct ext2_inode *inode = pctx->inode; local 1825 struct ext2_inode *inode = pctx->inode; local 1878 struct ext2_inode *inode = pctx->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. 60 * Keeps track of how many times an inode is referenced. 352 if (!dirent->inode) 365 dirent->inode = ino; 373 if (dirent->inode != ino) 481 struct ext2_inode inode; local 1180 struct ext2_inode inode; local 1238 struct ext2_inode inode; local 1252 struct ext2_inode inode; local 1405 struct ext2_inode inode; local [all...] |
pass3.c | 76 pctx.errcode = ext2fs_allocate_inode_bitmap(fs, _("inode done bitmap"), 138 * This makes sure the root inode is present; if not, we ask if the 145 struct ext2_inode inode; local 153 * If the root inode is not a directory, die here. The 188 * Now let's create the actual data block for the inode 209 * Set up the inode structure 211 memset(&inode, 0, sizeof(inode)); 212 inode.i_mode = 040755; 213 inode.i_size = fs->blocksize 360 struct ext2_inode inode; local 506 struct ext2_inode inode; local 555 struct ext2_inode inode; local 756 struct ext2_inode inode; local [all...] |
/external/kernel-headers/original/linux/nfsd/ |
nfsfh.h | 30 * ino/dev of the exported inode. 34 __u32 fb_ino; /* our inode number */ 35 __u32 fb_dirino; /* dir inode number, 0 for directories */ 65 * 0 - 4 byte device id (ms-2-bytes major, ls-2-bytes minor), 4byte inode number 69 * 2 - 4 byte major, 4 byte minor, 4 byte inode number - DEPRECATED 70 * 3 - 4 byte device id, encoded for user-space, 4 byte inode number 78 * 1 - 32bit inode number, 32 bit generation number. 79 * 2 - 32bit inode number, 32 bit generation number, 32 bit parent directory inode number. 141 unsigned char fh_locked; /* inode locked by us * 245 struct inode *inode; local 262 struct inode *inode = fhp->fh_dentry->d_inode; local 303 struct inode *inode; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
NodeFactoryTest.java | 19 import com.android.ide.common.api.INode; 60 // Groovy scripts only see the INode interface so we want to primarily test that. 61 INode inode = proxy; local 62 assertEquals(new Rect(10, 12, 110-10-1, 120-12-1), inode.getBounds()); 63 assertTrue(Arrays.equals(new INode[0], inode.getChildren())); 64 assertEquals("com.example.MyJavaClass", inode.getFqcn()); 65 assertNull(inode.getParent()); 66 assertSame(inode, inode.getRoot()) 82 INode inode = proxy; local [all...] |
/external/yaffs2/yaffs2/ |
yaffs_fs.c | 22 * >> inode->u.generic_ip points to the associated yaffs_Object. 29 * * Michael Fischer for finding the problem with inode inconsistency. 118 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) 326 struct inode *inode = NULL; \/* NCB 2.5\/2.6 needs NULL here *\/ local 551 struct inode *inode; local 772 struct inode *inode; local 805 struct inode *inode; local 861 struct inode *inode = f->f_dentry->d_inode; local 957 struct inode *inode; local 1100 struct inode *inode = old_dentry->d_inode; local 1158 struct inode *inode; local 1250 struct inode *inode = dentry->d_inode; local 1456 struct inode *inode = NULL; local [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/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...] |
/bionic/libc/kernel/common/linux/ |
ufs_fs_i.h | 40 struct inode vfs_inode;
|
/development/ndk/platforms/android-3/include/linux/ |
ufs_fs_i.h | 30 struct inode vfs_inode;
|