Home
last modified time | relevance | path

Searched refs:cow_inode (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/fs/f2fs/
Dinode.c839 if (fi->cow_inode) { in f2fs_evict_inode()
840 clear_inode_flag(fi->cow_inode, FI_COW_FILE); in f2fs_evict_inode()
841 iput(fi->cow_inode); in f2fs_evict_inode()
842 fi->cow_inode = NULL; in f2fs_evict_inode()
Ddata.c2708 set_new_dnode(&dn, F2FS_I(inode)->cow_inode, NULL, NULL, 0); in f2fs_do_write_data_page()
3576 struct inode *cow_inode = F2FS_I(inode)->cow_inode; in prepare_atomic_write_begin() local
3586 err = __find_data_block(cow_inode, index, blk_addr); in prepare_atomic_write_begin()
3604 err = __reserve_data_block(cow_inode, index, blk_addr, node_changed); in prepare_atomic_write_begin()
3723 F2FS_I(inode)->cow_inode : inode, page, in f2fs_write_begin()
3789 f2fs_i_size_write(F2FS_I(inode)->cow_inode, in f2fs_write_end()
Dsegment.c259 dec_valid_block_count(sbi, F2FS_I(inode)->cow_inode, count); in __replace_atomic_write_block()
267 trace_f2fs_replace_atomic_write_block(inode, F2FS_I(inode)->cow_inode, in __replace_atomic_write_block()
300 struct inode *cow_inode = fi->cow_inode; in __f2fs_commit_atomic_write() local
312 blen = min_t(pgoff_t, ADDRS_PER_BLOCK(cow_inode), len); in __f2fs_commit_atomic_write()
314 set_new_dnode(&dn, cow_inode, NULL, NULL, 0); in __f2fs_commit_atomic_write()
325 blen = min((pgoff_t)ADDRS_PER_PAGE(dn.node_page, cow_inode), in __f2fs_commit_atomic_write()
Dfile.c2103 if (fi->cow_inode == NULL) { in f2fs_ioc_start_atomic_write()
2112 ret = f2fs_get_tmpfile(idmap, pinode, &fi->cow_inode); in f2fs_ioc_start_atomic_write()
2119 set_inode_flag(fi->cow_inode, FI_COW_FILE); in f2fs_ioc_start_atomic_write()
2120 clear_inode_flag(fi->cow_inode, FI_INLINE_DATA); in f2fs_ioc_start_atomic_write()
2123 ret = f2fs_do_truncate_blocks(fi->cow_inode, 0, true); in f2fs_ioc_start_atomic_write()
2144 f2fs_i_size_write(fi->cow_inode, isize); in f2fs_ioc_start_atomic_write()
Df2fs.h837 struct inode *cow_inode; /* copy-on-write inode for atomic write */ member
/linux-6.6.21/include/trace/events/
Df2fs.h1295 TP_PROTO(struct inode *inode, struct inode *cow_inode, pgoff_t index,
1298 TP_ARGS(inode, cow_inode, index, old_addr, new_addr, recovery),
1313 __entry->cow_ino = cow_inode->i_ino;