Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for sysvicall0 (0.39 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/runtime/os3_solaris.go

    	return int32(sysvicall4(&libc_pthread_create, uintptr(unsafe.Pointer(thread)), uintptr(unsafe.Pointer(attr)), uintptr(fn), uintptr(arg)))
    }
    
    func pthread_self() pthread {
    	return pthread(sysvicall0(&libc_pthread_self))
    }
    
    func signalM(mp *m, sig int) {
    	sysvicall2(&libc_pthread_kill, uintptr(pthread(mp.procid)), uintptr(sig))
    }
    
    //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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go

    		return
    	}
    	_, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimensat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flag), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func fcntl(fd int, cmd int, arg int) (val int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59.7K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_solaris_amd64.go

    	r0, _, e1 := sysvicall6(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 accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:09:10 UTC 2023
    - 37.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go

    )
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func readv(fd int, iovs []Iovec) (n int, err error) {
    	var _p0 *Iovec
    	if len(iovs) > 0 {
    		_p0 = &iovs[0]
    	}
    	r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procreadv)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0)
    	n = int(r0)
    	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
    - 2.6K bytes
    - Viewed (0)
  9. src/syscall/exec_solaris_test.go

    var (
    	libc_Getpgid,
    	libc_Getpgrp libcFunc
    )
    
    func Getpgid(pid int) (pgid int, err error) {
    	r0, _, e1 := sysvicall6(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, _, _ := sysvicall6(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)
  10. src/vendor/golang.org/x/net/lif/syscall.go

    )
    
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
    
    //go:linkname procIoctl libc_ioctl
    
    var procIoctl uintptr
    
    func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (uintptr, uintptr, syscall.Errno)
    
    func ioctl(s, ioc uintptr, arg unsafe.Pointer) error {
    	_, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procIoctl)), 3, s, ioc, uintptr(arg), 0, 0, 0)
    	if errno != 0 {
    		return error(errno)
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 642 bytes
    - Viewed (0)
Back to top