Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for sysfs (0.04 sec)

  1. cmd/kube-proxy/app/server_linux.go

    // Kubernetes app process.
    package app
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	goruntime "runtime"
    	"strings"
    	"time"
    
    	"github.com/google/cadvisor/machine"
    	"github.com/google/cadvisor/utils/sysfs"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/watch"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. pkg/volume/util/fsquota/quota_linux_test.go

    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/volume/util/fsquota/common"
    )
    
    const dummyMountData = `sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    devtmpfs /dev devtmpfs rw,nosuid,size=6133536k,nr_inodes=1533384,mode=755 0 0
    tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. pkg/volume/emptydir/empty_dir_test.go

    			},
    			{
    				Device: "/dev/hugepages",
    				Type:   "hugetlbfs",
    				Path:   "/mnt/hugepages-2Mi",
    				Opts:   []string{"rw", "relatime", "pagesize=2Mi"},
    			},
    			{
    				Device: "sysfs",
    				Type:   "sysfs",
    				Path:   "/sys",
    				Opts:   []string{"rw", "nosuid", "nodev", "noexec", "relatime"},
    			},
    			{
    				Device: "/dev/hugepages",
    				Type:   "hugetlbfs",
    				Path:   "/mnt/hugepages-1Gi",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. docs/config/README.md

    
    ```
    ~ mc admin config set alias/ heal
    KEY:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  5. src/internal/poll/fd_unix.go

    // FD is a file descriptor. The net and os packages use this type as a
    // field of a larger type representing a network connection or OS file.
    type FD struct {
    	// Lock sysfd and serialize access to Read and Write methods.
    	fdmu fdMutex
    
    	// System file descriptor. Immutable until Close.
    	Sysfd int
    
    	// Platform dependent state of the file descriptor.
    	SysFile
    
    	// I/O poller.
    	pd pollDesc
    
    	// Semaphore signaled when file is closed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. src/internal/poll/fd_windows.go

    	}
    
    	fd.l.Lock()
    	defer fd.l.Unlock()
    	curoffset, e := syscall.Seek(fd.Sysfd, 0, io.SeekCurrent)
    	if e != nil {
    		return 0, e
    	}
    	defer syscall.Seek(fd.Sysfd, curoffset, io.SeekStart)
    	o := syscall.Overlapped{
    		OffsetHigh: uint32(off >> 32),
    		Offset:     uint32(off),
    	}
    	var done uint32
    	e = syscall.ReadFile(fd.Sysfd, b, &done, &o)
    	if e != nil {
    		done = 0
    		if e == syscall.ERROR_HANDLE_EOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. src/os/readfrom_linux_test.go

    }
    
    func (h *copyFileRangeHook) install() {
    	h.original = *PollCopyFileRangeP
    	*PollCopyFileRangeP = func(dst, src *poll.FD, remain int64) (int64, bool, error) {
    		h.called = true
    		h.dstfd = dst.Sysfd
    		h.srcfd = src.Sysfd
    		h.remain = remain
    		h.written, h.handled, h.err = h.original(dst, src, remain)
    		return h.written, h.handled, h.err
    	}
    }
    
    func (h *copyFileRangeHook) uninstall() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. src/net/splice_linux_test.go

    }
    
    func (h *spliceHook) install() {
    	h.original = pollSplice
    	pollSplice = func(dst, src *poll.FD, remain int64) (int64, bool, error) {
    		h.called = true
    		h.dstfd = dst.Sysfd
    		h.srcfd = src.Sysfd
    		h.remain = remain
    		h.written, h.handled, h.err = h.original(dst, src, remain)
    		return h.written, h.handled, h.err
    	}
    }
    
    func (h *spliceHook) uninstall() {
    	pollSplice = h.original
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. src/os/file_windows.go

    // methods to stop working.
    func (file *File) Fd() uintptr {
    	if file == nil {
    		return uintptr(syscall.InvalidHandle)
    	}
    	return uintptr(file.pfd.Sysfd)
    }
    
    // newFile returns a new File with the given file handle and name.
    // Unlike NewFile, it does not check that h is syscall.InvalidHandle.
    func newFile(h syscall.Handle, name string, kind string) *File {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/os/file_unix.go

    	// opened in blocking mode. The File will continue to work,
    	// but any blocking operation will tie up a thread.
    	if f.nonblock {
    		f.pfd.SetBlocking()
    	}
    
    	return uintptr(f.pfd.Sysfd)
    }
    
    // NewFile returns a new File with the given file descriptor and
    // name. The returned value will be nil if fd is not a valid file
    // descriptor. On Unix systems, if the file descriptor is in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top