diff options
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go | 106 |
1 files changed, 85 insertions, 21 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go index 7e65fe0..c82ce7d 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go | |||
@@ -1,4 +1,4 @@ | |||
1 | // mksyscall.pl -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go | 1 | // go run mksyscall.go -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go |
2 | // Code generated by the command above; see README.md. DO NOT EDIT. | 2 | // Code generated by the command above; see README.md. DO NOT EDIT. |
3 | 3 | ||
4 | // +build linux,mips | 4 | // +build linux,mips |
@@ -14,6 +14,27 @@ var _ syscall.Errno | |||
14 | 14 | ||
15 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 15 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
16 | 16 | ||
17 | func FanotifyInit(flags uint, event_f_flags uint) (fd int, err error) { | ||
18 | r0, _, e1 := Syscall(SYS_FANOTIFY_INIT, uintptr(flags), uintptr(event_f_flags), 0) | ||
19 | fd = int(r0) | ||
20 | if e1 != 0 { | ||
21 | err = errnoErr(e1) | ||
22 | } | ||
23 | return | ||
24 | } | ||
25 | |||
26 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
27 | |||
28 | func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) { | ||
29 | _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask>>32), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname))) | ||
30 | if e1 != 0 { | ||
31 | err = errnoErr(e1) | ||
32 | } | ||
33 | return | ||
34 | } | ||
35 | |||
36 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
37 | |||
17 | func fchmodat(dirfd int, path string, mode uint32) (err error) { | 38 | func fchmodat(dirfd int, path string, mode uint32) (err error) { |
18 | var _p0 *byte | 39 | var _p0 *byte |
19 | _p0, err = BytePtrFromString(path) | 40 | _p0, err = BytePtrFromString(path) |
@@ -437,6 +458,16 @@ func ClockGettime(clockid int32, time *Timespec) (err error) { | |||
437 | 458 | ||
438 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 459 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
439 | 460 | ||
461 | func ClockNanosleep(clockid int32, flags int, request *Timespec, remain *Timespec) (err error) { | ||
462 | _, _, e1 := Syscall6(SYS_CLOCK_NANOSLEEP, uintptr(clockid), uintptr(flags), uintptr(unsafe.Pointer(request)), uintptr(unsafe.Pointer(remain)), 0, 0) | ||
463 | if e1 != 0 { | ||
464 | err = errnoErr(e1) | ||
465 | } | ||
466 | return | ||
467 | } | ||
468 | |||
469 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
470 | |||
440 | func Close(fd int) (err error) { | 471 | func Close(fd int) (err error) { |
441 | _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) | 472 | _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) |
442 | if e1 != 0 { | 473 | if e1 != 0 { |
@@ -1195,26 +1226,6 @@ func Removexattr(path string, attr string) (err error) { | |||
1195 | 1226 | ||
1196 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1227 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1197 | 1228 | ||
1198 | func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { | ||
1199 | var _p0 *byte | ||
1200 | _p0, err = BytePtrFromString(oldpath) | ||
1201 | if err != nil { | ||
1202 | return | ||
1203 | } | ||
1204 | var _p1 *byte | ||
1205 | _p1, err = BytePtrFromString(newpath) | ||
1206 | if err != nil { | ||
1207 | return | ||
1208 | } | ||
1209 | _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0) | ||
1210 | if e1 != 0 { | ||
1211 | err = errnoErr(e1) | ||
1212 | } | ||
1213 | return | ||
1214 | } | ||
1215 | |||
1216 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1217 | |||
1218 | func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) { | 1229 | func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) { |
1219 | var _p0 *byte | 1230 | var _p0 *byte |
1220 | _p0, err = BytePtrFromString(oldpath) | 1231 | _p0, err = BytePtrFromString(oldpath) |
@@ -1370,6 +1381,13 @@ func Setxattr(path string, attr string, data []byte, flags int) (err error) { | |||
1370 | 1381 | ||
1371 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1382 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1372 | 1383 | ||
1384 | func Signalfd(fd int, mask *Sigset_t, flags int) { | ||
1385 | SyscallNoError(SYS_SIGNALFD4, uintptr(fd), uintptr(unsafe.Pointer(mask)), uintptr(flags)) | ||
1386 | return | ||
1387 | } | ||
1388 | |||
1389 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1390 | |||
1373 | func Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error) { | 1391 | func Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error) { |
1374 | var _p0 *byte | 1392 | var _p0 *byte |
1375 | _p0, err = BytePtrFromString(path) | 1393 | _p0, err = BytePtrFromString(path) |
@@ -1661,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) { | |||
1661 | 1679 | ||
1662 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1680 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1663 | 1681 | ||
1682 | func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) { | ||
1683 | var _p0 *byte | ||
1684 | _p0, err = BytePtrFromString(pathname) | ||
1685 | if err != nil { | ||
1686 | return | ||
1687 | } | ||
1688 | _, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0) | ||
1689 | if e1 != 0 { | ||
1690 | err = errnoErr(e1) | ||
1691 | } | ||
1692 | return | ||
1693 | } | ||
1694 | |||
1695 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1696 | |||
1697 | func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) { | ||
1698 | r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags)) | ||
1699 | fd = int(r0) | ||
1700 | if e1 != 0 { | ||
1701 | err = errnoErr(e1) | ||
1702 | } | ||
1703 | return | ||
1704 | } | ||
1705 | |||
1706 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1707 | |||
1664 | func Dup2(oldfd int, newfd int) (err error) { | 1708 | func Dup2(oldfd int, newfd int) (err error) { |
1665 | _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | 1709 | _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) |
1666 | if e1 != 0 { | 1710 | if e1 != 0 { |
@@ -1820,6 +1864,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) { | |||
1820 | 1864 | ||
1821 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1865 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1822 | 1866 | ||
1867 | func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { | ||
1868 | var _p0 *byte | ||
1869 | _p0, err = BytePtrFromString(oldpath) | ||
1870 | if err != nil { | ||
1871 | return | ||
1872 | } | ||
1873 | var _p1 *byte | ||
1874 | _p1, err = BytePtrFromString(newpath) | ||
1875 | if err != nil { | ||
1876 | return | ||
1877 | } | ||
1878 | _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0) | ||
1879 | if e1 != 0 { | ||
1880 | err = errnoErr(e1) | ||
1881 | } | ||
1882 | return | ||
1883 | } | ||
1884 | |||
1885 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1886 | |||
1823 | func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { | 1887 | func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { |
1824 | r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0) | 1888 | r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0) |
1825 | n = int(r0) | 1889 | n = int(r0) |