Home
last modified time | relevance | path

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

/openbmc/linux/fs/f2fs/
H A Dinode.c818 if (fi->cow_inode && f2fs_is_cow_file(fi->cow_inode)) { in f2fs_evict_inode()
819 clear_inode_flag(fi->cow_inode, FI_COW_FILE); in f2fs_evict_inode()
820 F2FS_I(fi->cow_inode)->atomic_inode = NULL; in f2fs_evict_inode()
821 iput(fi->cow_inode); in f2fs_evict_inode()
822 fi->cow_inode = NULL; in f2fs_evict_inode()
H A Dfile.c2153 if (fi->cow_inode == NULL) { in f2fs_ioc_start_atomic_write()
2158 ret = f2fs_get_tmpfile(idmap, dir, &fi->cow_inode); in f2fs_ioc_start_atomic_write()
2164 set_inode_flag(fi->cow_inode, FI_COW_FILE); in f2fs_ioc_start_atomic_write()
2165 clear_inode_flag(fi->cow_inode, FI_INLINE_DATA); in f2fs_ioc_start_atomic_write()
2168 F2FS_I(fi->cow_inode)->atomic_inode = inode; in f2fs_ioc_start_atomic_write()
2171 f2fs_bug_on(sbi, get_dirty_pages(fi->cow_inode)); in f2fs_ioc_start_atomic_write()
2173 invalidate_mapping_pages(fi->cow_inode->i_mapping, 0, -1); in f2fs_ioc_start_atomic_write()
2175 ret = f2fs_do_truncate_blocks(fi->cow_inode, 0, true); in f2fs_ioc_start_atomic_write()
2196 f2fs_i_size_write(fi->cow_inode, isize); in f2fs_ioc_start_atomic_write()
H A Ddata.c2613 set_new_dnode(&dn, F2FS_I(inode)->cow_inode, NULL, NULL, 0); in f2fs_do_write_data_page()
3479 struct inode *cow_inode = F2FS_I(inode)->cow_inode; in prepare_atomic_write_begin() local
3489 err = __find_data_block(cow_inode, index, blk_addr); in prepare_atomic_write_begin()
3507 err = __reserve_data_block(cow_inode, index, blk_addr, node_changed); in prepare_atomic_write_begin()
3626 F2FS_I(inode)->cow_inode : inode, page, in f2fs_write_begin()
3695 f2fs_i_size_write(F2FS_I(inode)->cow_inode, in f2fs_write_end()
H A Dsegment.c265 dec_valid_block_count(sbi, F2FS_I(inode)->cow_inode, count); in __replace_atomic_write_block()
273 trace_f2fs_replace_atomic_write_block(inode, F2FS_I(inode)->cow_inode, in __replace_atomic_write_block()
306 struct inode *cow_inode = fi->cow_inode; in __f2fs_commit_atomic_write() local
318 blen = min_t(pgoff_t, ADDRS_PER_BLOCK(cow_inode), len); in __f2fs_commit_atomic_write()
320 set_new_dnode(&dn, cow_inode, NULL, NULL, 0); in __f2fs_commit_atomic_write()
331 blen = min((pgoff_t)ADDRS_PER_PAGE(dn.node_page, cow_inode), in __f2fs_commit_atomic_write()
H A Df2fs.h842 struct inode *cow_inode; /* copy-on-write inode for atomic write */ member
/openbmc/linux/include/trace/events/
H A Df2fs.h1296 TP_PROTO(struct inode *inode, struct inode *cow_inode, pgoff_t index,
1299 TP_ARGS(inode, cow_inode, index, old_addr, new_addr, recovery),
1314 __entry->cow_ino = cow_inode->i_ino;