Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 229 for sysvicall6 (0.18 sec)

  1. src/runtime/os_solaris.go

    	if mp != nil {
    		mp.libcallsp = 0
    	}
    	return libcall.r1
    }
    
    //go:nosplit
    func sysvicall1(fn *libcFunc, a1 uintptr) uintptr {
    	r1, _ := sysvicall1Err(fn, a1)
    	return r1
    }
    
    // sysvicall1Err returns both the system call result and the errno value.
    // This is used by sysvicall1 and pipe.
    //
    //go:nosplit
    func sysvicall1Err(fn *libcFunc, a1 uintptr) (r1, err uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. src/syscall/syscall_solaris.go

    func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    // Implemented in asm_solaris_amd64.s.
    func rawSysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/syscall/mksyscall_libc.pl

    		} else {
    			push @args, "uintptr($name)";
    		}
    	}
    	my $nargs = @args;
    
    	my $asmfuncname="";
    	my $asmrawfuncname="";
    
    	if($aix){
    		$asmfuncname="syscall6";
    		$asmrawfuncname="rawSyscall6";
    	} else {
    		$asmfuncname="sysvicall6";
    		$asmrawfuncname="rawSysvicall6";
    	}
    
    	# Determine which form to use; pad args with zeros.
    	my $asm = "${syscalldot}${asmfuncname}";
    	if ($nonblock) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 11:28:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    	valptr, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
    	var err error
    	if errno != 0 {
    		err = errno
    	}
    	return int(valptr), err
    }
    
    // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  5. src/runtime/os3_solaris.go

    		throw("sem_post")
    	}
    }
    
    //go:nosplit
    func closefd(fd int32) int32 {
    	return int32(sysvicall1(&libc_close, uintptr(fd)))
    }
    
    //go:nosplit
    func exit(r int32) {
    	sysvicall1(&libc_exit, uintptr(r))
    }
    
    //go:nosplit
    func getcontext(context *ucontext) /* int32 */ {
    	sysvicall1(&libc_getcontext, uintptr(unsafe.Pointer(context)))
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/netpoll_solaris.go

    }
    
    func port_create() int32 {
    	return int32(sysvicall0(&libc_port_create))
    }
    
    func port_associate(port, source int32, object uintptr, events uint32, user uintptr) int32 {
    	return int32(sysvicall5(&libc_port_associate, uintptr(port), uintptr(source), object, uintptr(events), user))
    }
    
    func port_dissociate(port, source int32, object uintptr) int32 {
    	return int32(sysvicall3(&libc_port_dissociate, uintptr(port), uintptr(source), object))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go

    func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func callutimes(_p0 uintptr, times uintptr) (r1 uintptr, e1 Errno) {
    	r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_utimes)), 2, _p0, times, 0, 0, 0, 0)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 42.4K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_aix_ppc64.go

    func fcntl(fd int, cmd int, arg int) (val int, err error) {
    	r0, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
    	val = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup2(old int, new int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top