HomeSort by relevance Sort by last modified time
    Searched defs:inode (Results 26 - 50 of 174) sorted by null

12 3 4 5 6 7

  /external/e2fsprogs/debugfs/
zap.c 32 ext2_ino_t inode; local
128 inode = string_to_inode(file);
129 if (!inode)
131 errcode = ext2fs_bmap2(current_fs, inode, 0, 0, 0,
173 ext2_ino_t inode; local
196 com_err(0, 0, "Usage: block_dump [-f inode] block_num");
205 inode = string_to_inode(file);
206 if (!inode)
208 errcode = ext2fs_bmap2(current_fs, inode, 0, 0, 0,
lsdel.c 35 ext2_ino_t inode; member in struct:lsdel_struct
81 struct ext2_inode inode; local
121 "while opening inode scan");
126 retval = ext2fs_get_next_inode(scan, &ino, &inode);
130 "while starting inode scan");
135 if ((inode.i_dtime == 0) ||
136 (secs && (labs(now - secs) > (long) inode.i_dtime)))
139 lsd.inode = ino;
144 if (ext2fs_inode_has_valid_blocks2(current_fs, &inode)) {
156 inode.i_flags & EXT4_INLINE_DATA_FL)
    [all...]
  /external/e2fsprogs/e2fsck/
emptydir.c 28 struct ext2_inode inode; member in struct:empty_dir_info_struct
96 return; /* Inode number 11 is usually lost+found */
98 printf(_("Empty directory block %u (#%d) in inode %u\n"),
131 retval = ext2fs_bmap2(fs, edi->ino, &edi->inode,
161 retval = ext2fs_read_inode(fs, db->ino, &edi->inode);
171 edi->inode.i_size -= edi->freed_blocks * fs->blocksize;
172 ext2fs_iblk_add_blocks(fs, &edi->inode, edi->freed_blocks);
173 retval = ext2fs_write_inode(fs, db->ino, &edi->inode);
scantest.c 2 * scantest.c - test the speed of the inode scan routine
96 struct ext2_inode inode; local
98 printf(_("size of inode=%d\n"), sizeof(inode));
114 com_err(argv[0], retval, _("while opening inode scan"));
117 retval = ext2fs_get_next_inode(scan, &ino, &inode);
119 com_err(argv[0], retval, _("while starting inode scan"));
123 if (!inode.i_links_count)
125 printf("%lu\n", inode.i_blocks);
127 retval = ext2fs_get_next_inode(scan, &ino, &inode);
    [all...]
iscan.c 2 * Test to see how quickly we can scan the inode table (not doing
100 struct ext2_inode inode; local
119 com_err(program_name, retval, _("while opening inode scan"));
124 retval = ext2fs_get_next_inode(scan, &ino, &inode);
127 _("while getting next inode"));
  /external/e2fsprogs/lib/ext2fs/
bb_inode.c 2 * bb_inode.c --- routines to update the bad block inode.
5 * this routine returns an error, the bad block inode may be in an
55 * Given a bad blocks bitmap, update the bad blocks inode to reflect
62 struct ext2_inode inode; local
100 * block inode (!).
120 * Update the bad block inode's mod time and block count
123 retval = ext2fs_read_inode(fs, EXT2_BAD_INO, &inode);
127 inode.i_atime = inode.i_mtime = fs->now ? fs->now : time(0);
128 if (!inode.i_ctime
    [all...]
bmove.c 31 struct ext2_inode * inode; member in struct:process_block_struct
103 struct ext2_inode inode; local
138 retval = ext2fs_get_next_inode(scan, &ino, &inode);
143 if ((inode.i_links_count == 0) ||
144 !ext2fs_inode_has_valid_blocks2(fs, &inode))
148 pb.inode = &inode;
150 pb.add_dir = (LINUX_S_ISDIR(inode.i_mode) &&
161 retval = ext2fs_get_next_inode(scan, &ino, &inode);
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...]
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...]
res_gdt.c 71 * uses before we can add them to the resize inode (which has to come
72 * after the creation of the inode table).
78 struct ext2_inode inode; local
94 retval = ext2fs_read_inode(fs, EXT2_RESIZE_INO, &inode);
109 if ((dindir_blk = inode.i_block[EXT2_DIND_BLOCK])) {
124 inode.i_mode = LINUX_S_IFREG | 0600;
125 inode.i_links_count = 1;
126 inode.i_block[EXT2_DIND_BLOCK] = dindir_blk;
127 ext2fs_iblk_set(fs, &inode, 1);
135 retval = ext2fs_inode_size_set(fs, &inode, inode_size)
    [all...]
tst_iscan.c 2 * tst_inode.c --- this function tests the inode scan function
69 * Setup the variables for doing the inode scan test.
113 retval = ext2fs_allocate_inode_bitmap(test_fs, "bad inode map",
117 "While allocating bad inode bitmap");
143 struct ext2_inode inode; local
150 com_err("iterate", retval, "While opening inode scan");
154 retval = ext2fs_get_next_inode(scan, &ino, &inode);
156 com_err("iterate", retval, "while reading first inode");
160 retval = ext2fs_get_next_inode(scan, &ino, &inode);
167 "while getting next inode");
    [all...]
  /external/freetype/src/cache/
ftcimage.c 34 FTC_INode inode = (FTC_INode)ftcinode; local
38 if ( inode->glyph )
40 FT_Done_Glyph( inode->glyph );
41 inode->glyph = NULL;
44 FTC_GNode_Done( FTC_GNODE( inode ), cache );
45 FT_FREE( inode );
50 FTC_INode_Free( FTC_INode inode,
53 ftc_inode_free( FTC_NODE( inode ), cache );
65 FTC_INode inode = NULL; local
68 if ( !FT_NEW( inode ) )
111 FTC_INode inode = (FTC_INode)ftcinode; local
    [all...]
  /external/libmojo/base/debug/
proc_maps_linux.cc 119 long inode = 0; local
124 // address perms offset dev inode pathname
132 &dev_major, &dev_minor, &inode, &path_index) < 7) {
  /external/squashfs-tools/kernel/fs/squashfs/
export.c 27 * The export code uses an inode lookup table to map inode numbers passed in
28 * filehandles to an inode location on disk. This table is stored compressed
33 * The inode lookup table is used only by the export code, inode disk
50 * Look-up inode number (ino) in table, returning the inode location.
67 TRACE("squashfs_inode_lookup, inode = 0x%llx\n",
113 struct inode *inode = child->d_inode local
    [all...]
inode.c 21 * inode.c
27 * Inodes in Squashfs are identified by a 48-bit inode which encodes the
28 * location of the compressed metadata block containing the inode, and the byte
29 * offset into that block where the inode is placed (<block, offset>).
32 * (regular file, directory, device, etc.), the inode contents and length
35 * To further maximise compression, two types of regular file inode and
36 * directory inode are defined: inodes optimised for frequently occurring
51 * Initialise VFS inode with the base inode information common to all
52 * Squashfs inode types. Sqsh_ino contains the unswapped base inod
82 struct inode *inode = iget_locked(sb, ino_number); local
    [all...]
dir.c 106 struct inode *inode = file->f_dentry->d_inode; local
107 struct squashfs_sb_info *msblk = inode->i_sb->s_fs_info;
108 u64 block = squashfs_i(inode)->start + msblk->directory_table;
109 int offset = squashfs_i(inode)->offset, length = 0, dir_count, size,
138 i_ino = inode->i_ino;
142 i_ino = squashfs_i(inode)->parent;
158 length = get_dir_index_using_offset(inode->i_sb, &block, &offset,
159 squashfs_i(inode)->dir_idx_start,
160 squashfs_i(inode)->dir_idx_offset
    [all...]
namei.c 39 * is written once/if the inode start block changes. The directory
135 static struct dentry *squashfs_lookup(struct inode *dir, struct dentry *dentry,
140 struct inode *inode = NULL; local
209 "entry %s, inode %x:%x, %d\n", name,
212 inode = squashfs_iget(dir->i_sb, ino, ino_num);
213 if (IS_ERR(inode)) {
214 err = PTR_ERR(inode);
225 if (inode)
226 return d_splice_alias(inode, dentry)
    [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/squashfs-tools/squashfs-tools/
unsquash-1.c 57 struct inode *read_inode_1(unsigned int start_block, unsigned int offset)
63 static struct inode i;
65 TRACE("read_inode: reading inode [%d:%d]\n", start_block, offset);
68 EXIT_UNSQUASH("read_inode: inode table block %lld not found\n",
113 squashfs_dir_inode_header_1 *inode = &header.dir; local
118 SQUASHFS_SWAP_DIR_INODE_HEADER_1(inode,
121 memcpy(inode, block_ptr, sizeof(header.dir));
123 i.data = inode->file_size;
124 i.offset = inode->offset;
125 i.start = inode->start_block
130 squashfs_reg_inode_header_1 *inode = &header.reg; local
    [all...]
unsquash-2.c 128 struct inode *read_inode_2(unsigned int start_block, unsigned int offset)
134 static struct inode i;
136 TRACE("read_inode: reading inode [%d:%d]\n", start_block, offset);
139 EXIT_UNSQUASH("read_inode: inode table block %lld not found\n",
161 squashfs_dir_inode_header_2 *inode = &header.dir; local
172 i.data = inode->file_size;
173 i.offset = inode->offset;
174 i.start = inode->start_block;
175 i.time = inode->mtime;
179 squashfs_ldir_inode_header_2 *inode = &header.ldir local
197 squashfs_reg_inode_header_2 *inode = &header.reg; local
    [all...]
unsquash-4.c 97 struct inode *read_inode_4(unsigned int start_block, unsigned int offset)
103 static struct inode i;
105 TRACE("read_inode: reading inode [%d:%d]\n", start_block, offset);
108 EXIT_UNSQUASH("read_inode: inode table block %lld not found\n",
122 struct squashfs_dir_inode_header *inode = &header.dir; local
124 SQUASHFS_SWAP_DIR_INODE_HEADER(block_ptr, inode);
126 i.data = inode->file_size;
127 i.offset = inode->offset;
128 i.start = inode->start_block;
133 struct squashfs_ldir_inode_header *inode = &header.ldir local
144 struct squashfs_reg_inode_header *inode = &header.reg; local
164 struct squashfs_lreg_inode_header *inode = &header.lreg; local
185 struct squashfs_symlink_inode_header *inode = &header.symlink; local
209 struct squashfs_dev_inode_header *inode = &header.dev; local
219 struct squashfs_ldev_inode_header *inode = &header.ldev; local
234 struct squashfs_lipc_inode_header *inode = &header.lipc; 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...]
  /system/core/libappfuse/
FuseAppLoop.cc 47 const uint64_t inode = static_cast<uint64_t>(atol(buffer->request.lookup_name)); local
48 if (inode == 0 || inode == LONG_MAX) {
53 callback->OnLookup(buffer->request.header.unique, inode);
154 bool FuseAppLoop::ReplyLookup(uint64_t unique, uint64_t inode, int64_t size) {
157 response.entry_out.nodeid = inode;
160 response.entry_out.attr.ino = inode;
166 bool FuseAppLoop::ReplyGetAttr(uint64_t unique, uint64_t inode, int64_t size, int mode) {
171 response.attr_out.attr.ino = inode;
  /system/core/libappfuse/tests/
FuseAppLoopTest.cc 37 uint64_t inode; member in struct:android::fuse::__anon2777::CallbackRequest
45 void OnGetAttr(uint64_t seq, uint64_t inode) override {
46 EXPECT_NE(FUSE_ROOT_ID, static_cast<int>(inode));
47 EXPECT_TRUE(loop->ReplyGetAttr(seq, inode, kTestFileSize, S_IFREG | 0777));
50 void OnLookup(uint64_t unique, uint64_t inode) override {
51 EXPECT_NE(FUSE_ROOT_ID, static_cast<int>(inode));
52 EXPECT_TRUE(loop->ReplyLookup(unique, inode, kTestFileSize));
55 void OnFsync(uint64_t seq, uint64_t inode) override {
56 requests.push_back({.code = FUSE_FSYNC, .inode = inode});
    [all...]

Completed in 1028 milliseconds

12 3 4 5 6 7