Lines Matching refs:args_to
1311 int ext2_replace_file(struct ext2_lookup_args *args_from, struct ext2_lookup_args *args_to) in ext2_replace_file() argument
1314 LOG_DBG("Inode: %d Inode to replace: %d", args_from->inode->i_id, args_to->inode->i_id); in ext2_replace_file()
1339 ext2_set_disk_direntry_inode(de, args_to->inode->i_id); in ext2_replace_file()
1340 rc = ext2_inode_unlink(args_from->parent, args_to->inode, args_from->offset); in ext2_replace_file()
1347 uint32_t to_offset = args_to->offset; in ext2_replace_file()
1351 rc = ext2_fetch_inode_block(args_to->parent, to_blk); in ext2_replace_file()
1356 de = EXT2_DISK_DIRENTRY_BY_OFFSET(inode_current_block_mem(args_to->parent), to_blk_off); in ext2_replace_file()
1362 rc = ext2_commit_inode_block(args_to->parent); in ext2_replace_file()
1369 int ext2_move_file(struct ext2_lookup_args *args_from, struct ext2_lookup_args *args_to) in ext2_move_file() argument
1375 struct ext2_inode *tparent = args_to->parent; in ext2_move_file()
1394 if (reclen - sizeof(struct ext2_disk_direntry) >= args_to->name_len) { in ext2_move_file()
1396 ext2_set_disk_direntry_namelen(de, args_to->name_len); in ext2_move_file()
1397 ext2_set_disk_direntry_name(de, args_to->path + args_to->name_pos, in ext2_move_file()
1398 args_to->name_len); in ext2_move_file()
1422 new_de = ext2_create_direntry(args_to->path + args_to->name_pos, args_to->name_len, inode, in ext2_move_file()