Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for m_libcall (2.99 sec)

  1. src/runtime/syscall_aix.go

    //
    //go:nosplit
    //go:cgo_unsafe_args
    //go:linkname syscall_syscall6
    func syscall_syscall6(fn, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr) {
    	c := libcall{
    		fn:   fn,
    		n:    nargs,
    		args: uintptr(unsafe.Pointer(&a1)),
    	}
    
    	entersyscallblock()
    	asmcgocall(unsafe.Pointer(&asmsyscall6), unsafe.Pointer(&c))
    	exitsyscall()
    	return c.r1, 0, c.err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. src/runtime/runtime2.go

    	syscalltick uint32
    	freelink    *m // on sched.freem
    	trace       mTraceState
    
    	// these are here because they are too large to be on the stack
    	// of low-level NOSPLIT functions.
    	libcall    libcall
    	libcallpc  uintptr // for cpu profiler
    	libcallsp  uintptr
    	libcallg   guintptr
    	winsyscall winlibcall // stores syscall parameters on windows
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  3. src/runtime/stack.go

    	}
    	if !isShrinkStackSafe(gp) {
    		throw("shrinkstack at bad time")
    	}
    	// Check for self-shrinks while in a libcall. These may have
    	// pointers into the stack disguised as uintptrs, but these
    	// code paths should all be nosplit.
    	if gp == getg().m.curg && gp.m.libcallsp != 0 {
    		throw("shrinking stack in libcall")
    	}
    
    	if debug.gcshrinkstackoff > 0 {
    		return
    	}
    	f := findfunc(gp.startpc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. src/runtime/traceback.go

    // the initial PC must not be rewound to the previous instruction.
    // (All the saved pairs record a PC that is a return address, so we
    // rewind it into the CALL instruction.)
    // If gp.m.libcall{g,pc,sp} information is available, it uses that information in preference to
    // the pc/sp/lr passed in.
    func tracebacktrap(pc, sp, lr uintptr, gp *g) {
    	if gp.m.libcallsp != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    	wakep()
    
    	releasem(mp)
    
    	return now
    }
    
    // usesLibcall indicates whether this runtime performs system calls
    // via libcall.
    func usesLibcall() bool {
    	switch GOOS {
    	case "aix", "darwin", "illumos", "ios", "solaris", "windows":
    		return true
    	case "openbsd":
    		return GOARCH != "mips64"
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top