Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 229 for sysvicall6 (0.15 sec)

  1. src/syscall/syscall_darwin_arm64.go

    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    	var length = uint64(count)
    
    	_, _, e1 := syscall6(abi.FuncPCABI0(libc_sendfile_trampoline), uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
    
    	written = int(length)
    
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go

    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
    	_, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(advice), uintptr(offset>>32), uintptr(offset), uintptr(length>>32), uintptr(length))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/gccgo.go

    	syscall.Entersyscall()
    	r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
    	syscall.Exitsyscall()
    	return r, 0, syscall.Errno(errno)
    }
    
    func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
    	syscall.Entersyscall()
    	r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0)
    	syscall.Exitsyscall()
    	return r, 0, syscall.Errno(errno)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. pkg/volume/util/fs/fs_windows.go

    	// https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-
    	// By always ensuring the directory path we meet all uses cases of this function
    	path = filepath.Dir(path)
    	ret, _, err := syscall.Syscall6(
    		procGetDiskFreeSpaceEx.Addr(),
    		4,
    		uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(path))),
    		uintptr(unsafe.Pointer(&freeBytesAvailable)),
    		uintptr(unsafe.Pointer(&totalNumberOfBytes)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 21 16:25:48 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd_amd64.s

    	RET
    
    // syscall6 calls a function in libc on behalf of the syscall package.
    // syscall6 takes a pointer to a struct like:
    // struct {
    //	fn    uintptr
    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	a4    uintptr
    //	a5    uintptr
    //	a6    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscall6 must be called on the g0 stack with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/dll_windows.go

    	case 3:
    		return syscall.Syscall(p.Addr(), uintptr(len(a)), a[0], a[1], a[2])
    	case 4:
    		return syscall.Syscall6(p.Addr(), uintptr(len(a)), a[0], a[1], a[2], a[3], 0, 0)
    	case 5:
    		return syscall.Syscall6(p.Addr(), uintptr(len(a)), a[0], a[1], a[2], a[3], a[4], 0)
    	case 6:
    		return syscall.Syscall6(p.Addr(), uintptr(len(a)), a[0], a[1], a[2], a[3], a[4], a[5])
    	case 7:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 05 12:36:42 UTC 2020
    - 12K bytes
    - Viewed (0)
  7. src/runtime/sys_openbsd_arm.s

    	MOVW	R9, R13
    	RET
    
    // syscall6 calls a function in libc on behalf of the syscall package.
    // syscall6 takes a pointer to a struct like:
    // struct {
    //	fn    uintptr
    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	a4    uintptr
    //	a5    uintptr
    //	a6    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscall6 must be called on the g0 stack with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  8. src/internal/syscall/unix/net_darwin.go

    //go:linkname syscall_syscallPtr syscall.syscallPtr
    func syscall_syscallPtr(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    //go:linkname syscall_syscall6 syscall.syscall6
    func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    //go:linkname syscall_syscall6X syscall.syscall6X
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 13:41:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/internal/syscall/windows/registry/zsyscall_windows.go

    	if r0 != 0 {
    		regerrno = syscall.Errno(r0)
    	}
    	return
    }
    
    func regSetValueEx(key syscall.Handle, valueName *uint16, reserved uint32, vtype uint32, buf *byte, bufsize uint32) (regerrno error) {
    	r0, _, _ := syscall.Syscall6(procRegSetValueExW.Addr(), 6, uintptr(key), uintptr(unsafe.Pointer(valueName)), uintptr(reserved), uintptr(vtype), uintptr(unsafe.Pointer(buf)), uintptr(bufsize))
    	if r0 != 0 {
    		regerrno = syscall.Errno(r0)
    	}
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 4K bytes
    - Viewed (0)
  10. src/syscall/asm_openbsd_mips64.s

    	MOVV	R2, err+48(FP)	// errno
    	JAL	runtime·exitsyscall(SB)
    	RET
    ok:
    	MOVV	R2, r1+32(FP)	// r1
    	MOVV	R3, r2+40(FP)	// r2
    	MOVV	R0, err+48(FP)	// errno
    	JAL	runtime·exitsyscall(SB)
    	RET
    
    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	JAL	runtime·entersyscall(SB)
    	MOVV	a1+8(FP), R4
    	MOVV	a2+16(FP), R5
    	MOVV	a3+24(FP), R6
    	MOVV	a4+32(FP), R7
    	MOVV	a5+40(FP), R8
    	MOVV	a6+48(FP), R9
    	MOVV	trap+0(FP), R2	// syscall entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 08:08:26 UTC 2020
    - 2.8K bytes
    - Viewed (0)
Back to top