- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 170 for miblen (0.1 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_openbsd_syscall2.go
if old != nil { *old = r } } func pipe2(flags int32) (r, w int32, errno int32) //go:noescape func setitimer(mode int32, new, old *itimerval) //go:noescape func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32 // mmap calls the mmap system call. It is implemented in assembly. // We only pass the lower 32 bits of file offset to the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.5K bytes - Viewed (0) -
src/runtime/sys_freebsd_arm64.s
MOVD $SYS_madvise, R8 SVC BCC ok MOVW $-1, R0 ok: MOVW R0, ret+24(FP) RET // func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32 TEXT runtime·sysctl(SB),NOSPLIT,$0 MOVD mib+0(FP), R0 MOVD miblen+8(FP), R1 MOVD out+16(FP), R2 MOVD size+24(FP), R3 MOVD dst+32(FP), R4 MOVD ndst+40(FP), R5 MOVD $SYS___sysctl, R8 SVC BCC ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.5K bytes - Viewed (0) -
src/runtime/sys_freebsd_riscv64.s
MOV $SYS_madvise, T0 ECALL BEQ T0, ZERO, ok MOV $-1, A0 ok: MOVW A0, ret+24(FP) RET // func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32 TEXT runtime·sysctl(SB),NOSPLIT,$0 MOV mib+0(FP), A0 MOV miblen+8(FP), A1 MOV out+16(FP), A2 MOV size+24(FP), A3 MOV dst+32(FP), A4 MOV ndst+40(FP), A5 MOV $SYS___sysctl, T0 ECALL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 8.9K bytes - Viewed (0) -
src/runtime/sys_openbsd_mips64.s
MOVW n+8(FP), R5 // arg 2 - n MOVV $301, R2 // sys___thrwakeup SYSCALL MOVW R2, ret+16(FP) RET TEXT runtime·sysctl(SB),NOSPLIT,$0 MOVV mib+0(FP), R4 // arg 1 - mib MOVW miblen+8(FP), R5 // arg 2 - miblen MOVV out+16(FP), R6 // arg 3 - out MOVV size+24(FP), R7 // arg 4 - size MOVV dst+32(FP), R8 // arg 5 - dest MOVV ndst+40(FP), R9 // arg 6 - newlen MOVV $202, R2 // sys___sysctl SYSCALL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 8.8K bytes - Viewed (0) -
src/runtime/sys_openbsd2.go
//go:nosplit //go:cgo_unsafe_args func usleep_no_g(usec uint32) { asmcgocall_no_g(unsafe.Pointer(abi.FuncPCABI0(usleep_trampoline)), unsafe.Pointer(&usec)) } //go:nosplit //go:cgo_unsafe_args func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32 { ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(sysctl_trampoline)), unsafe.Pointer(&mib)) KeepAlive(mib) KeepAlive(out) KeepAlive(size)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.7K bytes - Viewed (0) -
src/runtime/os_dragonfly.go
func sigaction(sig uint32, new, old *sigactiont) //go:noescape func sigprocmask(how int32, new, old *sigset) //go:noescape func setitimer(mode int32, new, old *itimerval) //go:noescape func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32 func raiseproc(sig uint32) func lwp_gettid() int32 func lwp_kill(pid, tid int32, sig int) //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7.1K 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_netbsd_arm64.s
SVC $SYS___sigaltstack14 BCS fail RET fail: MOVD $0, R0 MOVD R0, (R0) // crash TEXT runtime·sysctl(SB),NOSPLIT,$0 MOVD mib+0(FP), R0 // arg 1 - name MOVW miblen+8(FP), R1 // arg 2 - namelen MOVD out+16(FP), R2 // arg 3 - oldp MOVD size+24(FP), R3 // arg 4 - oldlenp MOVD dst+32(FP), R4 // arg 5 - newp MOVD ndst+40(FP), R5 // arg 6 - newlen SVC $SYS___sysctl BCC ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.5K bytes - Viewed (0)