Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for F_ffree (0.13 sec)

  1. internal/disk/stat_linux_s390x.go

    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total:  uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Frsize) * s.Bavail,
    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Type),
    	}
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    	if info.Free > info.Total {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. internal/disk/stat_linux_32bit.go

    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total:  uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Frsize) * s.Bavail,
    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Type),
    	}
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    	if info.Free > info.Total {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. internal/disk/stat_linux.go

    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:  uint64(s.Frsize) * s.Bavail,
    		Files: s.Files,
    		Ffree: s.Ffree,
    		//nolint:unconvert
    		FSType: getFSType(int64(s.Type)),
    	}
    
    	st := syscall.Stat_t{}
    	err = syscall.Stat(path, &st)
    	if err != nil {
    		return Info{}, err
    	}
    	//nolint:unconvert
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Frsize      uint64
    	Bfree       uint64
    	Files       uint32
    	Ffree       uint32
    	Favail      uint32
    	Namemax31   uint32
    	Invarsec    uint32
    	_           [4]byte
    	Fsid        uint64
    	Namemax     uint64
    }
    
    type Statfs_t struct {
    	Type    uint64
    	Bsize   uint64
    	Blocks  uint64
    	Bfree   uint64
    	Bavail  uint64
    	Files   uint32
    	Ffree   uint32
    	Fsid    uint64
    	Namelen uint64
    	Frsize  uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. internal/disk/stat_windows.go

    		uintptr(unsafe.Pointer(&lpBytesPerSector)),
    		uintptr(unsafe.Pointer(&lpNumberOfFreeClusters)),
    		uintptr(unsafe.Pointer(&lpTotalNumberOfClusters)))
    
    	info.Files = uint64(lpTotalNumberOfClusters)
    	info.Ffree = uint64(lpNumberOfFreeClusters)
    
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/syscall/ztypes_aix_ppc64.go

    	Padto_ll uint32
    	Size     int64
    }
    
    type Statfs_t struct {
    	Version   int32
    	Type      int32
    	Bsize     uint64
    	Blocks    uint64
    	Bfree     uint64
    	Bavail    uint64
    	Files     uint64
    	Ffree     uint64
    	Fsid      Fsid64_t
    	Vfstype   int32
    	Fsize     uint64
    	Vfsnumber int32
    	Vfsoff    int32
    	Vfslen    int32
    	Vfsvers   int32
    	Fname     [32]uint8
    	Fpack     [32]uint8
    	Name_max  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 14:36:41 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  7. pkg/volume/util/fs/fs.go

    	// Usage is block being used * fragment size (aka block size).
    	usage := (int64(statfs.Blocks) - int64(statfs.Bfree)) * int64(statfs.Bsize)
    
    	inodes := int64(statfs.Files)
    	inodesFree := int64(statfs.Ffree)
    	inodesUsed := inodes - inodesFree
    
    	return available, capacity, usage, inodes, inodesFree, inodesUsed, nil
    }
    
    // DiskUsage calculates the number of inodes and disk usage for a given directory
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 20 02:56:02 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    type Fsid64_t struct {
    	Val [2]uint64
    }
    
    type Statfs_t struct {
    	Version   int32
    	Type      int32
    	Bsize     uint32
    	Blocks    uint32
    	Bfree     uint32
    	Bavail    uint32
    	Files     uint32
    	Ffree     uint32
    	Fsid      Fsid_t
    	Vfstype   int32
    	Fsize     uint32
    	Vfsnumber int32
    	Vfsoff    int32
    	Vfslen    int32
    	Vfsvers   int32
    	Fname     [32]uint8
    	Fpack     [32]uint8
    	Name_max  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go

    type Fsid64_t struct {
    	Val [2]uint64
    }
    
    type Statfs_t struct {
    	Version   int32
    	Type      int32
    	Bsize     uint64
    	Blocks    uint64
    	Bfree     uint64
    	Bavail    uint64
    	Files     uint64
    	Ffree     uint64
    	Fsid      Fsid64_t
    	Vfstype   int32
    	Fsize     uint64
    	Vfsnumber int32
    	Vfsoff    int32
    	Vfslen    int32
    	Vfsvers   int32
    	Fname     [32]uint8
    	Fpack     [32]uint8
    	Name_max  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. src/syscall/types_linux.go

    #endif
    	int32_t fd;
    	int32_t pad;
    };
    
    // ustat is deprecated and glibc 2.28 removed ustat.h. Provide the type here for
    // backwards compatibility. Copied from /usr/include/bits/ustat.h
    struct ustat {
    	__daddr_t f_tfree;
    	__ino_t f_tinode;
    	char f_fname[6];
    	char f_fpack[6];
    };
    
    */
    import "C"
    
    // Machine characteristics; for internal use.
    
    const (
    	sizeofPtr      = C.sizeofPtr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 26 20:15:45 UTC 2022
    - 10.9K bytes
    - Viewed (0)
Back to top