Lines Matching defs:inode
430 struct ext4_inode *inode = get_inode(EXT4_RESIZE_INO);
431 if (inode == NULL) {
432 error("failed to get resize inode");
449 inode_attach_resize(inode, reserve_inode_alloc);
451 inode->i_mode = S_IFREG | S_IRUSR | S_IWUSR;
452 inode->i_links_count = 1;
457 /* Allocate the blocks to hold a journal inode and connect them to the
458 reserved journal inode */
461 struct ext4_inode *inode = get_inode(EXT4_JOURNAL_INO);
462 if (inode == NULL) {
463 error("failed to get journal inode");
467 u8 *journal_data = inode_allocate_data_extents(inode,
475 inode->i_mode = S_IFREG | S_IRUSR | S_IWUSR;
476 inode->i_links_count = 1;
487 memcpy(aux_info.sb->s_jnl_blocks, &inode->i_block, sizeof(inode->i_block));