Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for libcCall (0.12 sec)

  1. src/runtime/sys_darwin.go

    //go:cgo_unsafe_args
    func pthread_attr_init(attr *pthreadattr) int32 {
    	ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(pthread_attr_init_trampoline)), unsafe.Pointer(&attr))
    	KeepAlive(attr)
    	return ret
    }
    func pthread_attr_init_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func pthread_attr_getstacksize(attr *pthreadattr, size *uintptr) int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/runtime/sys_openbsd2.go

    //
    //go:linkname exit
    //go:nosplit
    //go:cgo_unsafe_args
    func exit(code int32) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(exit_trampoline)), unsafe.Pointer(&code))
    }
    func exit_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func getthrid() (tid int32) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(getthrid_trampoline)), unsafe.Pointer(&tid))
    	return
    }
    func getthrid_trampoline()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/runtime/sys_openbsd.go

    //go:nosplit
    //go:cgo_unsafe_args
    func pthread_attr_init(attr *pthreadattr) int32 {
    	ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(pthread_attr_init_trampoline)), unsafe.Pointer(&attr))
    	KeepAlive(attr)
    	return ret
    }
    func pthread_attr_init_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func pthread_attr_destroy(attr *pthreadattr) int32 {
    	ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(pthread_attr_destroy_trampoline)), unsafe.Pointer(&attr))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 30 03:11:18 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  4. src/runtime/sys_libc.go

    		// libc function.  We don't want that second libcCall
    		// from within the handler to be recorded, and we
    		// don't want that call's completion to zero
    		// libcallsp.
    		// We don't need to set libcall* while we're in a sighandler
    		// (even if we're not currently in libc) because we block all
    		// signals while we're handling a signal. That includes the
    		// profile signal, which is the one that uses the libcall* info.
    		mp = nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd1.go

    	ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(thrsleep_trampoline)), unsafe.Pointer(&ident))
    	KeepAlive(tsp)
    	KeepAlive(abort)
    	return ret
    }
    func thrsleep_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func thrwakeup(ident uintptr, n int32) int32 {
    	return libcCall(unsafe.Pointer(abi.FuncPCABI0(thrwakeup_trampoline)), unsafe.Pointer(&ident))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 30 03:11:18 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  6. src/runtime/sys_openbsd3.go

    	entersyscall()
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(syscall)), unsafe.Pointer(&fn))
    	exitsyscall()
    	return
    }
    func syscall()
    
    //go:linkname syscall_syscallX syscall.syscallX
    //go:nosplit
    //go:cgo_unsafe_args
    func syscall_syscallX(fn, a1, a2, a3 uintptr) (r1, r2, err uintptr) {
    	entersyscall()
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(syscallX)), unsafe.Pointer(&fn))
    	exitsyscall()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/runtime/sys_openbsd_ppc64.s

    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscall must be called on the g0 stack with the
    // C calling convention (use libcCall).
    //
    // syscall expects a 32-bit result and tests for 32-bit -1
    // to decide there was an error.
    TEXT runtime·syscall(SB),NOSPLIT,$32
    	MOVD    R3, R14			// pointer to args
    
    	MOVD	(0*8)(R14), R12		// fn
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. src/runtime/sys_openbsd_arm64.s

    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscall must be called on the g0 stack with the
    // C calling convention (use libcCall).
    //
    // syscall expects a 32-bit result and tests for 32-bit -1
    // to decide there was an error.
    TEXT runtime·syscall(SB),NOSPLIT,$0
    	MOVD    R0, R19			// pointer to args
    
    	MOVD	(0*8)(R19), R11		// fn
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  9. src/runtime/sys_openbsd_riscv64.s

    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscall must be called on the g0 stack with the
    // C calling convention (use libcCall).
    //
    // syscall expects a 32-bit result and tests for 32-bit -1
    // to decide there was an error.
    TEXT runtime·syscall(SB),NOSPLIT,$8
    	MOV	X10, X9			// pointer to args
    
    	MOV	(0*8)(X9), X5		// fn
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  10. src/runtime/sys_openbsd_amd64.s

    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscall must be called on the g0 stack with the
    // C calling convention (use libcCall).
    //
    // syscall expects a 32-bit result and tests for 32-bit -1
    // to decide there was an error.
    TEXT runtime·syscall(SB),NOSPLIT,$16
    	MOVQ	(0*8)(DI), CX // fn
    	MOVQ	(2*8)(DI), SI // a2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.5K bytes
    - Viewed (0)
Back to top