Lines Matching refs:loff_t

77 	if (((loff_t)(page->index + 1) << PAGE_CACHE_SHIFT) >  in f2fs_vm_page_mkwrite()
184 int f2fs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in f2fs_sync_file()
325 static loff_t f2fs_seek_block(struct file *file, loff_t offset, int whence) in f2fs_seek_block()
328 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_seek_block()
331 loff_t data_ofs = offset; in f2fs_seek_block()
332 loff_t isize; in f2fs_seek_block()
352 for (; data_ofs < isize; data_ofs = (loff_t)pgofs << PAGE_CACHE_SHIFT) { in f2fs_seek_block()
373 data_ofs = (loff_t)pgofs << PAGE_CACHE_SHIFT) { in f2fs_seek_block()
397 static loff_t f2fs_llseek(struct file *file, loff_t offset, int whence) in f2fs_llseek()
400 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_llseek()
722 loff_t start, loff_t len) in fill_zero()
777 static int punch_hole(struct inode *inode, loff_t offset, loff_t len) in punch_hole()
780 loff_t off_start, off_end; in punch_hole()
815 loff_t blk_start, blk_end; in punch_hole()
820 blk_start = (loff_t)pg_start << PAGE_CACHE_SHIFT; in punch_hole()
821 blk_end = (loff_t)pg_end << PAGE_CACHE_SHIFT; in punch_hole()
931 static int f2fs_collapse_range(struct inode *inode, loff_t offset, loff_t len) in f2fs_collapse_range()
934 loff_t new_size; in f2fs_collapse_range()
980 static int f2fs_zero_range(struct inode *inode, loff_t offset, loff_t len, in f2fs_zero_range()
986 loff_t new_size = i_size_read(inode); in f2fs_zero_range()
987 loff_t off_start, off_end; in f2fs_zero_range()
1022 new_size = max_t(loff_t, new_size, offset + len); in f2fs_zero_range()
1030 new_size = max_t(loff_t, new_size, in f2fs_zero_range()
1031 (loff_t)pg_start << PAGE_CACHE_SHIFT); in f2fs_zero_range()
1066 new_size = max_t(loff_t, new_size, in f2fs_zero_range()
1067 (loff_t)(index + 1) << PAGE_CACHE_SHIFT); in f2fs_zero_range()
1075 new_size = max_t(loff_t, new_size, offset + len); in f2fs_zero_range()
1089 static int f2fs_insert_range(struct inode *inode, loff_t offset, loff_t len) in f2fs_insert_range()
1093 loff_t new_size; in f2fs_insert_range()
1148 static int expand_inode_data(struct inode *inode, loff_t offset, in expand_inode_data()
1149 loff_t len, int mode) in expand_inode_data()
1153 loff_t new_size = i_size_read(inode); in expand_inode_data()
1154 loff_t off_start, off_end; in expand_inode_data()
1191 new_size = (loff_t)(index + 1) << PAGE_CACHE_SHIFT; in expand_inode_data()
1193 new_size = ((loff_t)index << PAGE_CACHE_SHIFT) + in expand_inode_data()
1211 loff_t offset, loff_t len) in f2fs_fallocate()