Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/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.c1309 int ext2_replace_file(struct ext2_lookup_args *args_from, struct ext2_lookup_args *args_to) in ext2_replace_file() argument
1312 LOG_DBG("Inode: %d Inode to replace: %d", args_from->inode->i_id, args_to->inode->i_id); in ext2_replace_file()
1317 uint32_t block_size = args_from->parent->i_fs->block_size; in ext2_replace_file()
1318 uint32_t from_offset = args_from->offset; in ext2_replace_file()
1322 rc = ext2_fetch_inode_block(args_from->parent, from_blk); in ext2_replace_file()
1327 de = EXT2_DISK_DIRENTRY_BY_OFFSET(inode_current_block_mem(args_from->parent), from_blk_off); in ext2_replace_file()
1338 rc = ext2_inode_unlink(args_from->parent, args_to->inode, args_from->offset); in ext2_replace_file()
1341 ext2_set_disk_direntry_inode(de, args_from->inode->i_id); in ext2_replace_file()
1357 ext2_set_disk_direntry_inode(de, args_from->inode->i_id); in ext2_replace_file()
1367 int ext2_move_file(struct ext2_lookup_args *args_from, struct ext2_lookup_args *args_to) in ext2_move_file() argument
[all …]
Dext2_ops.c541 struct ext2_lookup_args args_from = { in ext2_rename() local
555 rc = ext2_lookup_inode(fs, &args_from); in ext2_rename()
567 ret = ext2_replace_file(&args_from, &args_to); in ext2_rename()
570 ret = ext2_move_file(&args_from, &args_to); in ext2_rename()
573 ext2_inode_drop(args_from.inode); in ext2_rename()
574 ext2_inode_drop(args_from.parent); in ext2_rename()