Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for sysvicall6 (0.27 sec)

  1. src/runtime/os_illumos.go

    	return sysvicall4(&libc_getrctl, uintptr(controlname), uintptr(oldbuf), uintptr(newbuf), uintptr(flags))
    }
    
    //go:nosplit
    func rctlblk_get_local_action(buf unsafe.Pointer) uintptr {
    	return sysvicall2(&libc_rctlblk_get_local_action, uintptr(buf), uintptr(0))
    }
    
    //go:nosplit
    func rctlblk_get_local_flags(buf unsafe.Pointer) uintptr {
    	return sysvicall1(&libc_rctlblk_get_local_flags, uintptr(buf))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 28 18:06:12 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  2. src/runtime/syscall_solaris.go

    	}
    	asmcgocall(unsafe.Pointer(&asmsysvicall6x), unsafe.Pointer(&call))
    	return call.r1, call.r2, call.err
    }
    
    // TODO(aram): Once we remove all instances of C calling sysvicallN, make
    // sysvicallN return errors and replace the body of the following functions
    // with calls to sysvicallN.
    
    //go:nosplit
    //go:linkname syscall_chdir
    func syscall_chdir(path uintptr) (err uintptr) {
    	call := libcall{
    		fn:   uintptr(unsafe.Pointer(&libc_chdir)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. src/internal/runtime/syscall/syscall_linux.go

    // only contains very minimal support for Linux.
    
    // Syscall6 calls system call number 'num' with arguments a1-6.
    func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    
    func EpollCreate1(flags int32) (fd int32, errno uintptr) {
    	r1, _, e := Syscall6(SYS_EPOLL_CREATE1, uintptr(flags), 0, 0, 0, 0, 0)
    	return int32(r1), e
    }
    
    var _zero uintptr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:26:21 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/internal/syscall/unix/at_libc.go

    	procFstatat,
    	procOpenat,
    	procUnlinkat uintptr
    )
    
    func Unlinkat(dirfd int, path string, flags int) error {
    	p, err := syscall.BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    
    	_, _, errno := syscall6(uintptr(unsafe.Pointer(&procUnlinkat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(p)), uintptr(flags), 0, 0, 0)
    	if errno != 0 {
    		return errno
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. src/internal/syscall/unix/ioctl_aix.go

    //go:linkname libc_ioctl libc_ioctl
    var libc_ioctl uintptr
    
    // Implemented in syscall/syscall_aix.go.
    func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    func Ioctl(fd int, cmd int, args unsafe.Pointer) (err error) {
    	_, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_ioctl)), 3, uintptr(fd), uintptr(cmd), uintptr(args), 0, 0, 0)
    	if e1 != 0 {
    		err = e1
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 16 16:58:24 UTC 2021
    - 679 bytes
    - Viewed (0)
  6. src/internal/runtime/syscall/asm_linux_ppc64x.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build linux && (ppc64 || ppc64le)
    
    #include "textflag.h"
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    TEXT ·Syscall6<ABIInternal>(SB),NOSPLIT,$0-80
    	MOVD	R3, R10	// Move syscall number to R10. SYSCALL will move it R0, and restore R0.
    	MOVD	R4, R3
    	MOVD	R5, R4
    	MOVD	R6, R5
    	MOVD	R7, R6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 702 bytes
    - Viewed (0)
  7. src/internal/runtime/syscall/asm_linux_arm64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	MOVD	num+0(FP), R8	// syscall entry
    	MOVD	a1+8(FP), R0
    	MOVD	a2+16(FP), R1
    	MOVD	a3+24(FP), R2
    	MOVD	a4+32(FP), R3
    	MOVD	a5+40(FP), R4
    	MOVD	a6+48(FP), R5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 645 bytes
    - Viewed (0)
  8. src/internal/runtime/syscall/asm_linux_arm.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    TEXT ·Syscall6(SB),NOSPLIT,$0-40
    	MOVW	num+0(FP), R7	// syscall entry
    	MOVW	a1+4(FP), R0
    	MOVW	a2+8(FP), R1
    	MOVW	a3+12(FP), R2
    	MOVW	a4+16(FP), R3
    	MOVW	a5+20(FP), R4
    	MOVW	a6+24(FP), R5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 696 bytes
    - Viewed (0)
  9. src/syscall/export_linux_test.go

    const (
    	Sys_GETEUID = sys_GETEUID
    )
    
    func Tcgetpgrp(fd int) (pgid int32, err error) {
    	_, _, errno := Syscall6(SYS_IOCTL, uintptr(fd), uintptr(TIOCGPGRP), uintptr(unsafe.Pointer(&pgid)), 0, 0, 0)
    	if errno != 0 {
    		return -1, errno
    	}
    	return pgid, nil
    }
    
    func Tcsetpgrp(fd int, pgid int32) (err error) {
    	_, _, errno := Syscall6(SYS_IOCTL, uintptr(fd), uintptr(TIOCSPGRP), uintptr(unsafe.Pointer(&pgid)), 0, 0, 0)
    	if errno != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:18:19 UTC 2024
    - 775 bytes
    - Viewed (0)
  10. src/syscall/exec_aix_test.go

    var (
    	libc_Getpgid,
    	libc_Getpgrp libcFunc
    )
    
    func Getpgid(pid int) (pgid int, err error) {
    	r0, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_Getpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
    	pgid = int(r0)
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    func Getpgrp() (pgrp int) {
    	r0, _, _ := syscall6(uintptr(unsafe.Pointer(&libc_Getpgrp)), 0, 0, 0, 0, 0, 0, 0)
    	pgrp = int(r0)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top