Searched refs:new_inode (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/subsys/fs/ext2/ |
D | ext2_impl.c | 1019 int ext2_create_file(struct ext2_inode *parent, struct ext2_inode *new_inode, in ext2_create_file() argument 1026 rc = ext2_create_inode(fs, args->inode, new_inode, FS_DIR_ENTRY_FILE); in ext2_create_file() 1031 entry = ext2_create_direntry(args->path + args->name_pos, args->name_len, new_inode->i_id, in ext2_create_file() 1041 new_inode->i_links_count += 1; in ext2_create_file() 1043 rc = ext2_commit_inode(new_inode); in ext2_create_file() 1052 int ext2_create_dir(struct ext2_inode *parent, struct ext2_inode *new_inode, in ext2_create_dir() argument 1061 rc = ext2_create_inode(fs, args->inode, new_inode, FS_DIR_ENTRY_DIR); in ext2_create_dir() 1067 new_inode->i_size = block_size; in ext2_create_dir() 1069 entry = ext2_create_direntry(args->path + args->name_pos, args->name_len, new_inode->i_id, in ext2_create_dir() 1079 new_inode->i_links_count += 1; in ext2_create_dir() [all …]
|
D | ext2_ops.c | 70 struct ext2_inode *new_inode; in ext2_open() local 72 rc = ext2_inode_get(fs, 0, &new_inode); in ext2_open() 78 rc = ext2_create_file(parent, new_inode, &args); in ext2_open() 80 ext2_inode_drop(new_inode); in ext2_open() 85 found_inode = new_inode; in ext2_open()
|