Lines Matching refs:offset
204 SYSCALL_DEFINE(sync_file_range)(int fd, loff_t offset, loff_t nbytes, in SYSCALL_DEFINE()
217 endbyte = offset + nbytes; in SYSCALL_DEFINE()
219 if ((s64)offset < 0) in SYSCALL_DEFINE()
223 if (endbyte < offset) in SYSCALL_DEFINE()
227 if (offset >= (0x100000000ULL << PAGE_CACHE_SHIFT)) { in SYSCALL_DEFINE()
259 ret = do_sync_mapping_range(file->f_mapping, offset, endbyte, flags); in SYSCALL_DEFINE()
266 asmlinkage long SyS_sync_file_range(long fd, loff_t offset, loff_t nbytes, in SyS_sync_file_range() argument
269 return SYSC_sync_file_range((int) fd, offset, nbytes, in SyS_sync_file_range()
278 loff_t offset, loff_t nbytes) in SYSCALL_DEFINE()
280 return sys_sync_file_range(fd, offset, nbytes, flags); in SYSCALL_DEFINE()
284 loff_t offset, loff_t nbytes) in SyS_sync_file_range2() argument
287 offset, nbytes); in SyS_sync_file_range2()
295 int do_sync_mapping_range(struct address_space *mapping, loff_t offset, in do_sync_mapping_range() argument
308 offset >> PAGE_CACHE_SHIFT, in do_sync_mapping_range()
315 ret = __filemap_fdatawrite_range(mapping, offset, endbyte, in do_sync_mapping_range()
323 offset >> PAGE_CACHE_SHIFT, in do_sync_mapping_range()