Home
last modified time | relevance | path

Searched refs:args_to (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/fs/ext2/
Dext2_impl.c1311 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()
[all …]
Dext2_impl.h311 int ext2_move_file(struct ext2_lookup_args *args_from, struct ext2_lookup_args *args_to);
324 int ext2_replace_file(struct ext2_lookup_args *args_from, struct ext2_lookup_args *args_to);
Dext2_ops.c549 struct ext2_lookup_args args_to = { in ext2_rename() local
561 rc = ext2_lookup_inode(fs, &args_to); in ext2_rename()
566 if (args_to.inode != NULL) { in ext2_rename()
568 ret = ext2_replace_file(&args_from, &args_to); in ext2_rename()
571 ret = ext2_move_file(&args_from, &args_to); in ext2_rename()
576 ext2_inode_drop(args_to.inode); in ext2_rename()
577 ext2_inode_drop(args_to.parent); in ext2_rename()