Lines Matching refs:whence
336 pgoff_t pgofs, int whence) in __get_first_dirty_index() argument
341 if (whence != SEEK_DATA) in __get_first_dirty_index()
355 pgoff_t dirty, pgoff_t pgofs, int whence) in __found_offset() argument
357 switch (whence) { in __found_offset()
371 static loff_t f2fs_seek_block(struct file *file, loff_t offset, int whence) in f2fs_seek_block() argument
389 if (whence == SEEK_HOLE) in f2fs_seek_block()
396 dirty = __get_first_dirty_index(inode->i_mapping, pgofs, whence); in f2fs_seek_block()
405 if (whence == SEEK_DATA) { in f2fs_seek_block()
432 pgofs, whence)) { in f2fs_seek_block()
440 if (whence == SEEK_DATA) in f2fs_seek_block()
443 if (whence == SEEK_HOLE && data_ofs > isize) in f2fs_seek_block()
452 static loff_t f2fs_llseek(struct file *file, loff_t offset, int whence) in f2fs_llseek() argument
457 switch (whence) { in f2fs_llseek()
461 return generic_file_llseek_size(file, offset, whence, in f2fs_llseek()
467 return f2fs_seek_block(file, offset, whence); in f2fs_llseek()