Lines Matching refs:unsafe
8 import "unsafe"
23 _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
24 use(unsafe.Pointer(_p0))
25 use(unsafe.Pointer(_p1))
40 r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
41 use(unsafe.Pointer(_p0))
57 var _p1 unsafe.Pointer
59 _p1 = unsafe.Pointer(&buf[0])
61 _p1 = unsafe.Pointer(&_zero)
63 r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
64 use(unsafe.Pointer(_p0))
85 _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
86 use(unsafe.Pointer(_p0))
87 use(unsafe.Pointer(_p1))
102 _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
103 use(unsafe.Pointer(_p0))
118 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
119 use(unsafe.Pointer(_p0))
134 _, _, e1 := Syscall(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
135 use(unsafe.Pointer(_p0))
145 _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
155 var _p0 unsafe.Pointer
157 _p0 = unsafe.Pointer(&buf[0])
159 _p0 = unsafe.Pointer(&_zero)
172 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
198 _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
199 use(unsafe.Pointer(_p0))
224 _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
225 use(unsafe.Pointer(_p0))
226 use(unsafe.Pointer(_p1))
227 use(unsafe.Pointer(_p2))
242 _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
243 use(unsafe.Pointer(_p0))
253 r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
269 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
270 use(unsafe.Pointer(_p0))
285 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
286 use(unsafe.Pointer(_p0))
349 _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
359 var _p0 unsafe.Pointer
361 _p0 = unsafe.Pointer(&events[0])
363 _p0 = unsafe.Pointer(&_zero)
388 _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
389 use(unsafe.Pointer(_p0))
434 _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
435 use(unsafe.Pointer(_p0))
450 _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
451 use(unsafe.Pointer(_p0))
502 var _p0 unsafe.Pointer
504 _p0 = unsafe.Pointer(&buf[0])
506 _p0 = unsafe.Pointer(&_zero)
557 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
585 var _p2 unsafe.Pointer
587 _p2 = unsafe.Pointer(&dest[0])
589 _p2 = unsafe.Pointer(&_zero)
591 r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
592 use(unsafe.Pointer(_p0))
593 use(unsafe.Pointer(_p1))
609 r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
610 use(unsafe.Pointer(_p0))
653 var _p0 unsafe.Pointer
655 _p0 = unsafe.Pointer(&buf[0])
657 _p0 = unsafe.Pointer(&_zero)
675 var _p1 unsafe.Pointer
677 _p1 = unsafe.Pointer(&dest[0])
679 _p1 = unsafe.Pointer(&_zero)
681 r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
682 use(unsafe.Pointer(_p0))
698 _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
699 use(unsafe.Pointer(_p0))
714 _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
715 use(unsafe.Pointer(_p0))
725 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
755 _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
756 use(unsafe.Pointer(_p0))
757 use(unsafe.Pointer(_p1))
767 _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
777 var _p0 unsafe.Pointer
779 _p0 = unsafe.Pointer(&p[0])
781 _p0 = unsafe.Pointer(&_zero)
804 _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
805 use(unsafe.Pointer(_p0))
806 use(unsafe.Pointer(_p1))
826 _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
827 use(unsafe.Pointer(_p0))
828 use(unsafe.Pointer(_p1))
838 var _p0 unsafe.Pointer
840 _p0 = unsafe.Pointer(&p[0])
842 _p0 = unsafe.Pointer(&_zero)
854 var _p0 unsafe.Pointer
856 _p0 = unsafe.Pointer(&p[0])
858 _p0 = unsafe.Pointer(&_zero)
891 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
921 var _p2 unsafe.Pointer
923 _p2 = unsafe.Pointer(&data[0])
925 _p2 = unsafe.Pointer(&_zero)
927 _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
928 use(unsafe.Pointer(_p0))
929 use(unsafe.Pointer(_p1))
946 _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
977 r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
996 _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
1011 _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1012 use(unsafe.Pointer(_p0))
1032 _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
1047 _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1048 use(unsafe.Pointer(_p0))
1058 var _p0 unsafe.Pointer
1060 _p0 = unsafe.Pointer(&p[0])
1062 _p0 = unsafe.Pointer(&_zero)
1085 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1096 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1117 var _p0 unsafe.Pointer
1119 _p0 = unsafe.Pointer(&b[0])
1121 _p0 = unsafe.Pointer(&_zero)
1133 var _p0 unsafe.Pointer
1135 _p0 = unsafe.Pointer(&b[0])
1137 _p0 = unsafe.Pointer(&_zero)
1149 var _p0 unsafe.Pointer
1151 _p0 = unsafe.Pointer(&b[0])
1153 _p0 = unsafe.Pointer(&_zero)
1165 var _p0 unsafe.Pointer
1167 _p0 = unsafe.Pointer(&b[0])
1169 _p0 = unsafe.Pointer(&_zero)
1221 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
1231 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
1275 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1329 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
1330 use(unsafe.Pointer(_p0))
1355 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1356 use(unsafe.Pointer(_p0))
1366 var _p0 unsafe.Pointer
1368 _p0 = unsafe.Pointer(&p[0])
1370 _p0 = unsafe.Pointer(&_zero)
1383 var _p0 unsafe.Pointer
1385 _p0 = unsafe.Pointer(&p[0])
1387 _p0 = unsafe.Pointer(&_zero)
1411 r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1422 r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
1483 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1513 r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
1529 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1530 use(unsafe.Pointer(_p0))
1545 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1546 use(unsafe.Pointer(_p0))
1571 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
1572 use(unsafe.Pointer(_p0))
1582 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1593 r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
1603 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1613 func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1624 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1635 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1644 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
1645 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
1654 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
1676 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
1686 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1696 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1706 var _p0 unsafe.Pointer
1708 _p0 = unsafe.Pointer(&p[0])
1710 _p0 = unsafe.Pointer(&_zero)
1712 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
1722 func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
1723 var _p0 unsafe.Pointer
1725 _p0 = unsafe.Pointer(&buf[0])
1727 _p0 = unsafe.Pointer(&_zero)
1739 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1750 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1772 _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
1782 _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)