Lines Matching full:inode
55 struct ext2_inode *inode;
159 * Begin functions to handle an inode's extent information
168 if (handle->inode)
169 ext2fs_free_mem(&handle->inode);
187 struct ext2_inode *inode,
197 if (!inode)
206 retval = ext2fs_get_mem(sizeof(struct ext2_inode), &handle->inode);
213 if (inode) {
214 memcpy(handle->inode, inode, sizeof(struct ext2_inode));
217 retval = ext2fs_read_inode(fs, ino, handle->inode);
222 eh = (struct ext3_extent_header *) &handle->inode->i_block[0];
225 if (handle->inode->i_block[i])
231 i = (sizeof(handle->inode->i_block) - sizeof(*eh)) /
234 handle->inode->i_flags |= EXT4_EXTENTS_FL;
237 if (!(handle->inode->i_flags & EXT4_EXTENTS_FL)) {
242 retval = ext2fs_extent_header_verify(eh, sizeof(handle->inode->i_block));
254 handle->path[0].buf = (char *) handle->inode->i_block;
261 ((((__u64) handle->inode->i_size_high << 32) +
262 handle->inode->i_size + (fs->blocksize - 1))
550 handle->inode);
1031 /* new node hooked in, so update inode block count (do this here?) */
1032 handle->inode->i_blocks += handle->fs->blocksize / 512;
1034 handle->inode);
1506 handle->inode->i_blocks -= handle->fs->blocksize / 512;
1508 handle->inode);
1586 ext2_ino_t inode;
1596 printf("Current inode is %d\n", current_ino);
1598 printf("No current inode\n");
1602 if (common_inode_args_process(argc, argv, &inode, 0)) {
1608 retval = ext2fs_extent_open(current_fs, inode, ¤t_handle);
1614 current_ino = inode;
1616 printf("Loaded inode %d\n", current_ino);