Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 88 of 88 for Statfs_t (0.12 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go

    	Gid     uint32
    	Rdev    int32
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Size    int64
    	Blocks  int64
    	Blksize int32
    	Flags   uint32
    	Gen     uint32
    	_       Timespec
    }
    
    type Statfs_t struct {
    	F_flags       uint32
    	F_bsize       uint32
    	F_iosize      uint32
    	F_blocks      uint64
    	F_bfree       uint64
    	F_bavail      int64
    	F_files       uint64
    	F_ffree       uint64
    	F_favail      int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go

    	Gid     uint32
    	Rdev    int32
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Size    int64
    	Blocks  int64
    	Blksize int32
    	Flags   uint32
    	Gen     uint32
    	_       Timespec
    }
    
    type Statfs_t struct {
    	F_flags       uint32
    	F_bsize       uint32
    	F_iosize      uint32
    	F_blocks      uint64
    	F_bfree       uint64
    	F_bavail      int64
    	F_files       uint64
    	F_ffree       uint64
    	F_favail      int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go

    	Rdev    uint64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Btim    Timespec
    	Size    int64
    	Blocks  int64
    	Blksize int32
    	Flags   uint32
    	Gen     uint64
    	Spare   [10]uint64
    }
    
    type Statfs_t struct {
    	Version     uint32
    	Type        uint32
    	Flags       uint64
    	Bsize       uint64
    	Iosize      uint64
    	Blocks      uint64
    	Bfree       uint64
    	Bavail      int64
    	Files       uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go

    	Rdev    uint64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Btim    Timespec
    	Size    int64
    	Blocks  int64
    	Blksize int32
    	Flags   uint32
    	Gen     uint64
    	Spare   [10]uint64
    }
    
    type Statfs_t struct {
    	Version     uint32
    	Type        uint32
    	Flags       uint64
    	Bsize       uint64
    	Iosize      uint64
    	Blocks      uint64
    	Bfree       uint64
    	Bavail      int64
    	Files       uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. pkg/volume/util/fsquota/common/quota_common_linux_impl.go

    	}
    	return strings.Contains(data, "Accounting: ON"), nil
    }
    
    func isFilesystemOfType(mountpoint string, backingDev string, typeMagic int64) bool {
    	var buf syscall.Statfs_t
    	err := syscall.Statfs(mountpoint, &buf)
    	if err != nil {
    		klog.Warningf("Warning: Unable to statfs %s: %v", mountpoint, err)
    		return false
    	}
    	if int64(buf.Type) != typeMagic {
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. internal/disk/stat_solaris.go

    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. internal/disk/stat_netbsd.go

    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    	Pid    int32
    	Pad    [4]int64
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Name   [1]int8
    	_      [5]byte
    }
    
    type _Fsblkcnt_t uint64
    
    type Statvfs_t struct {
    	Bsize    uint64
    	Frsize   uint64
    	Blocks   uint64
    	Bfree    uint64
    	Bavail   uint64
    	Files    uint64
    	Ffree    uint64
    	Favail   uint64
    	Fsid     uint64
    	Basetype [16]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top