Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for callCgoMunmap (0.6 sec)

  1. src/runtime/cgo_mmap.go

    // sysMunmap calls the munmap system call. It is implemented in assembly.
    func sysMunmap(addr unsafe.Pointer, n uintptr)
    
    // callCgoMunmap calls the munmap function in the runtime/cgo package
    // using the GCC calling convention. It is implemented in assembly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. src/runtime/sys_linux_loong64.s

    	MOVW	$-4096, R5
    	BGEU	R5, R4, 2(PC)
    	MOVV	R0, 0xf3(R0)	// crash
    	RET
    
    // Call the function stored in _cgo_munmap using the GCC calling convention.
    // This must be called on the system stack.
    // func callCgoMunmap(addr unsafe.Pointer, n uintptr)
    TEXT runtime·callCgoMunmap(SB),NOSPLIT,$0
    	MOVV	addr+0(FP), R4
    	MOVV	n+8(FP), R5
    	MOVV	_cgo_munmap(SB), R13
    	SUBV	$16, R3		// reserve 16 bytes for sp-8 where fp may be saved.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top