Home
last modified time | relevance | path

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

/openbmc/linux/fs/f2fs/
H A Dfile.c704 pgoff_t free_from; in f2fs_do_truncate_blocks() local
711 free_from = (pgoff_t)F2FS_BLK_ALIGN(from); in f2fs_do_truncate_blocks()
713 if (free_from >= max_file_blocks(inode)) in f2fs_do_truncate_blocks()
733 err = f2fs_get_dnode_of_data(&dn, free_from, LOOKUP_NODE_RA); in f2fs_do_truncate_blocks()
747 free_from += count; in f2fs_do_truncate_blocks()
752 err = f2fs_truncate_inode_blocks(inode, free_from); in f2fs_do_truncate_blocks()
767 u64 free_from = from; in f2fs_truncate_blocks() local
776 free_from = round_up(from, in f2fs_truncate_blocks()
780 err = f2fs_do_truncate_blocks(inode, free_from, lock); in f2fs_truncate_blocks()
789 if (f2fs_compressed_file(inode) && !free_from in f2fs_truncate_blocks()
[all …]