Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/fs/ext2/
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_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()
1319 uint32_t block_size = args_from->parent->i_fs->block_size; in ext2_replace_file()
1320 uint32_t from_offset = args_from->offset; in ext2_replace_file()
1324 rc = ext2_fetch_inode_block(args_from->parent, from_blk); in ext2_replace_file()
1329 de = EXT2_DISK_DIRENTRY_BY_OFFSET(inode_current_block_mem(args_from->parent), from_blk_off); in ext2_replace_file()
1340 rc = ext2_inode_unlink(args_from->parent, args_to->inode, args_from->offset); in ext2_replace_file()
1343 ext2_set_disk_direntry_inode(de, args_from->inode->i_id); in ext2_replace_file()
1359 ext2_set_disk_direntry_inode(de, args_from->inode->i_id); 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
[all …]
Dext2_ops.c542 struct ext2_lookup_args args_from = { in ext2_rename() local
556 rc = ext2_lookup_inode(fs, &args_from); 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()
574 ext2_inode_drop(args_from.inode); in ext2_rename()
575 ext2_inode_drop(args_from.parent); in ext2_rename()