- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for miblen (0.3 sec)
-
src/runtime/os_freebsd.go
oid := [2]uint32{_CTL_QUERY, _CTL_QUERY_MIB} miblen := uintptr(_CTL_MAXNAME) if sysctl(&oid[0], 2, (*byte)(unsafe.Pointer(mib)), &miblen, (*byte)(unsafe.Pointer(&name[0])), (uintptr)(len(name))) < 0 { return 0 } miblen /= unsafe.Sizeof(uint32(0)) if miblen <= 0 { return 0 } return uint32(miblen) } const ( _CPU_CURRENT_PID = -1 // Current process ID. ) //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.6K bytes - Viewed (0) -
src/runtime/os_netbsd.go
//go:noescape func sigaction(sig uint32, new, old *sigactiont) //go:noescape func sigaltstack(new, old *stackt) //go:noescape func sigprocmask(how int32, new, old *sigset) //go:noescape func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32 func lwp_tramp() func raiseproc(sig uint32) func lwp_kill(tid int32, sig int) //go:noescape func getcontext(ctxt unsafe.Pointer)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 10.1K bytes - Viewed (0) -
src/runtime/sys_netbsd_amd64.s
ADDQ $8, DI // arg 1 - ptr MOVQ $SYS__lwp_setprivate, AX SYSCALL JCC 2(PC) MOVL $0xf1, 0xf1 // crash RET TEXT runtime·sysctl(SB),NOSPLIT,$0 MOVQ mib+0(FP), DI // arg 1 - name MOVL miblen+8(FP), SI // arg 2 - namelen MOVQ out+16(FP), DX // arg 3 - oldp MOVQ size+24(FP), R10 // arg 4 - oldlenp MOVQ dst+32(FP), R8 // arg 5 - newp MOVQ ndst+40(FP), R9 // arg 6 - newlen MOVQ $SYS___sysctl, AX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.8K bytes - Viewed (0) -
src/runtime/sys_freebsd_arm.s
MOVW $4(R13), R0 // arg 1 - rqtp MOVW $0, R1 // arg 2 - rmtp MOVW $SYS_nanosleep, R7 SWI $0 RET TEXT runtime·sysctl(SB),NOSPLIT,$0 MOVW mib+0(FP), R0 // arg 1 - name MOVW miblen+4(FP), R1 // arg 2 - namelen MOVW out+8(FP), R2 // arg 3 - old MOVW size+12(FP), R3 // arg 4 - oldlenp // arg 5 (newp) and arg 6 (newlen) are passed on stack ADD $20, R13 MOVW $SYS___sysctl, R7 SWI $0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 10.4K bytes - Viewed (0) -
src/runtime/sys_netbsd_arm.s
MOVW old+4(FP), R1 // arg 2 - oss SWI $SYS___sigaltstack14 MOVW.CS $0, R8 // crash on syscall failure MOVW.CS R8, (R8) RET TEXT runtime·sysctl(SB),NOSPLIT,$8 MOVW mib+0(FP), R0 // arg 1 - name MOVW miblen+4(FP), R1 // arg 2 - namelen MOVW out+8(FP), R2 // arg 3 - oldp MOVW size+12(FP), R3 // arg 4 - oldlenp MOVW dst+16(FP), R4 // arg 5 - newp MOVW R4, 4(R13) MOVW ndst+20(FP), R4 // arg 6 - newlen
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 10.6K bytes - Viewed (0) -
src/runtime/sys_openbsd_ppc64.s
RET TEXT runtime·usleep_trampoline(SB),NOSPLIT,$32 MOVW 0(R3), R3 // arg 1 - usec CALL libc_usleep(SB) RET TEXT runtime·sysctl_trampoline(SB),NOSPLIT,$32 MOVW 8(R3), R4 // arg 2 - miblen MOVD 16(R3), R5 // arg 3 - out MOVD 24(R3), R6 // arg 4 - size MOVD 32(R3), R7 // arg 5 - dst MOVD 40(R3), R8 // arg 6 - ndst MOVD 0(R3), R3 // arg 1 - mib CALL libc_sysctl(SB) RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 02:48:11 UTC 2023 - 15.3K bytes - Viewed (0) -
src/runtime/sys_openbsd_riscv64.s
RET TEXT runtime·usleep_trampoline(SB),NOSPLIT,$8 MOVW 0(X10), X10 // arg 1 - usec CALL libc_usleep(SB) RET TEXT runtime·sysctl_trampoline(SB),NOSPLIT,$8 MOVW 8(X10), X11 // arg 2 - miblen MOV 16(X10), X12 // arg 3 - out MOV 24(X10), X13 // arg 4 - size MOV 32(X10), X14 // arg 5 - dst MOV 40(X10), X15 // arg 6 - ndst MOV 0(X10), X10 // arg 1 - mib CALL libc_sysctl(SB) RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 16.8K bytes - Viewed (0) -
src/runtime/sys_freebsd_amd64.s
MOVQ SP, SI MOVQ $AMD64_SET_FSBASE, DI MOVQ $SYS_sysarch, AX SYSCALL JCC 2(PC) MOVL $0xf1, 0xf1 // crash RET TEXT runtime·sysctl(SB),NOSPLIT,$0 MOVQ mib+0(FP), DI // arg 1 - name MOVL miblen+8(FP), SI // arg 2 - namelen MOVQ out+16(FP), DX // arg 3 - oldp MOVQ size+24(FP), R10 // arg 4 - oldlenp MOVQ dst+32(FP), R8 // arg 5 - newp MOVQ ndst+40(FP), R9 // arg 6 - newlen MOVQ $SYS___sysctl, AX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 12.7K bytes - Viewed (0) -
src/runtime/sys_openbsd_arm64.s
RET TEXT runtime·usleep_trampoline(SB),NOSPLIT,$0 MOVD 0(R0), R0 // arg 1 - usec CALL libc_usleep(SB) RET TEXT runtime·sysctl_trampoline(SB),NOSPLIT,$0 MOVW 8(R0), R1 // arg 2 - miblen MOVD 16(R0), R2 // arg 3 - out MOVD 24(R0), R3 // arg 4 - size MOVD 32(R0), R4 // arg 5 - dst MOVD 40(R0), R5 // arg 6 - ndst MOVD 0(R0), R0 // arg 1 - mib CALL libc_sysctl(SB) RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 15.1K bytes - Viewed (0) -
src/runtime/sys_darwin.go
KeepAlive(new) KeepAlive(old) } func setitimer_trampoline() //go:nosplit //go:cgo_unsafe_args func sysctl(mib *uint32, miblen uint32, oldp *byte, oldlenp *uintptr, newp *byte, newlen uintptr) int32 { ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(sysctl_trampoline)), unsafe.Pointer(&mib)) KeepAlive(mib) KeepAlive(oldp) KeepAlive(oldlenp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0)