Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 568 for syscalls (0.11 sec)

  1. pkg/kubelet/stats/host_stats_provider.go

    	getPodEtcHostsStats(podUID types.UID, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error)
    }
    
    type hostStatsProvider struct {
    	// osInterface is the interface for syscalls.
    	osInterface kubecontainer.OSInterface
    	// podEtcHostsPathFunc fetches a pod etc hosts path by uid.
    	podEtcHostsPathFunc PodEtcHostsPathFunc
    	// podLogsDirectory is the root directory path for pod logs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go

    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
    }
    
    func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
    	var newoffset int64
    	offsetLow := uint32(offset & 0xffffffff)
    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/syscall_linux_ppc64x.go

    }
    
    //sys	syncFileRange2(fd int, flags int, off int64, n int64) (err error) = SYS_SYNC_FILE_RANGE2
    
    func SyncFileRange(fd int, off int64, n int64, flags int) error {
    	// The sync_file_range and sync_file_range2 syscalls differ only in the
    	// order of their arguments.
    	return syncFileRange2(fd, flags, off, n)
    }
    
    //sys	kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_ppc64x.go

    }
    
    //sys	syncFileRange2(fd int, flags int, off int64, n int64) (err error) = SYS_SYNC_FILE_RANGE2
    
    func SyncFileRange(fd int, off int64, n int64, flags int) error {
    	// The sync_file_range and sync_file_range2 syscalls differ only in the
    	// order of their arguments.
    	return syncFileRange2(fd, flags, off, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.go

    		// a non-NULL pointer of length zero. Preserve the property of nilness,
    		// even if we can't use dest directly.
    		return unsafe.Pointer(&_zero)
    	}
    	return nil
    }
    
    // FreeBSD and NetBSD implement their own syscalls to handle extended attributes
    
    func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
    	d := initxattrdest(dest, 0)
    	destsize := len(dest)
    
    	nsid, a, err := xattrnamespace(attr)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm.go

    func Fstatfs(fd int, buf *Statfs_t) (err error) {
    	_, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    func Statfs(path string, buf *Statfs_t) (err error) {
    	pathp, err := BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. src/cmd/trace/procgen.go

    		// Goroutine exited a blocked syscall.
    		gs.blockedSyscallEnd(ev.Time(), ev.Stack(), ctx)
    	}
    
    	// Handle syscalls.
    	if to == trace.GoSyscall && ev.Proc() != trace.NoProc {
    		start := ev.Time()
    		if from == trace.GoUndetermined {
    			// Back-date the event to the start of the trace.
    			start = ctx.startTime
    		}
    		// Write down that we've entered a syscall. Note: we might have no P here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. src/cmd/trace/threadgen.go

    	}
    	if from == trace.GoSyscall {
    		// Exiting syscall.
    		gs.syscallEnd(ev.Time(), to != trace.GoRunning, ctx)
    	}
    
    	// Handle syscalls.
    	if to == trace.GoSyscall {
    		start := ev.Time()
    		if from == trace.GoUndetermined {
    			// Back-date the event to the start of the trace.
    			start = ctx.startTime
    		}
    		// Write down that we've entered a syscall. Note: we might have no P here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/os/path_windows_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os_test
    
    import (
    	"fmt"
    	"internal/syscall/windows"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    	"testing"
    )
    
    func TestAddExtendedPrefix(t *testing.T) {
    	// Test addExtendedPrefix instead of fixLongPath so the path manipulation code
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:37:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/runtime/debugcall.go

    	// No user calls from the system stack.
    	if getg() != getg().m.curg {
    		return debugCallSystemStack
    	}
    	if sp := getcallersp(); !(getg().stack.lo < sp && sp <= getg().stack.hi) {
    		// Fast syscalls (nanotime) and racecall switch to the
    		// g0 stack without switching g. We can't safely make
    		// a call in this state. (We can't even safely
    		// systemstack.)
    		return debugCallSystemStack
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top