Lines Matching refs:whence
343 pgoff_t pgofs, int whence) in __get_first_dirty_index() argument
348 if (whence != SEEK_DATA) in __get_first_dirty_index()
362 pgoff_t dirty, pgoff_t pgofs, int whence) in __found_offset() argument
364 switch (whence) { in __found_offset()
378 static loff_t f2fs_seek_block(struct file *file, loff_t offset, int whence) in f2fs_seek_block() argument
396 if (whence == SEEK_HOLE) in f2fs_seek_block()
403 dirty = __get_first_dirty_index(inode->i_mapping, pgofs, whence); in f2fs_seek_block()
412 if (whence == SEEK_DATA) { in f2fs_seek_block()
439 pgofs, whence)) { in f2fs_seek_block()
447 if (whence == SEEK_DATA) in f2fs_seek_block()
450 if (whence == SEEK_HOLE && data_ofs > isize) in f2fs_seek_block()
459 static loff_t f2fs_llseek(struct file *file, loff_t offset, int whence) in f2fs_llseek() argument
464 switch (whence) { in f2fs_llseek()
468 return generic_file_llseek_size(file, offset, whence, in f2fs_llseek()
474 return f2fs_seek_block(file, offset, whence); in f2fs_llseek()