Lines Matching refs:whence
279 pgoff_t pgofs, int whence) in __get_first_dirty_index() argument
284 if (whence != SEEK_DATA) in __get_first_dirty_index()
297 int whence) in __found_offset() argument
299 switch (whence) { in __found_offset()
313 static loff_t f2fs_seek_block(struct file *file, loff_t offset, int whence) in f2fs_seek_block() argument
331 if (whence == SEEK_HOLE) in f2fs_seek_block()
338 dirty = __get_first_dirty_index(inode->i_mapping, pgofs, whence); in f2fs_seek_block()
347 if (whence == SEEK_DATA) { in f2fs_seek_block()
365 if (__found_offset(blkaddr, dirty, pgofs, whence)) { in f2fs_seek_block()
373 if (whence == SEEK_DATA) in f2fs_seek_block()
376 if (whence == SEEK_HOLE && data_ofs > isize) in f2fs_seek_block()
385 static loff_t f2fs_llseek(struct file *file, loff_t offset, int whence) in f2fs_llseek() argument
390 switch (whence) { in f2fs_llseek()
394 return generic_file_llseek_size(file, offset, whence, in f2fs_llseek()
400 return f2fs_seek_block(file, offset, whence); in f2fs_llseek()