Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for Statfs_t (0.41 sec)

  1. src/syscall/syscall_linux_loong64.go

    	_SYS_faccessat2 = 439
    	_SYS_fchmodat2  = 452
    )
    
    //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Fstatfs(fd int, buf *Statfs_t) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (euid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getuid() (uid int)
    //sys	Listen(s int, n int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_386.go

    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    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
    - 8.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go

    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Fstat(fd int, stat *Stat_t) (err error)
    //sys	Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT
    //sys	Fstatfs(fd int, buf *Statfs_t) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (euid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_s390x.go

    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Fstat(fd int, stat *Stat_t) (err error)
    //sys	fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT
    //sys	Fstatfs(fd int, buf *Statfs_t) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (euid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error) = SYS_GETRLIMIT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    	Sysid  uint32
    	Pid    int32
    	Vfs    int32
    	Start  int64
    	Len    int64
    }
    
    type Fsid_t struct {
    	Val [2]uint32
    }
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. internal/disk/stat_linux.go

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

    	Sysid  uint32
    	Pid    int32
    	Vfs    int32
    	Start  int64
    	Len    int64
    }
    
    type Fsid_t struct {
    	Val [2]uint32
    }
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. src/syscall/ztypes_openbsd_ppc64.go

    	Mtim           Timespec
    	Ctim           Timespec
    	Size           int64
    	Blocks         int64
    	Blksize        int32
    	Flags          uint32
    	Gen            uint32
    	X__st_birthtim 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. src/syscall/types_freebsd.go

    	S_IXUSR  = C.S_IXUSR
    	S_IRWXG  = C.S_IRWXG
    	S_IRWXO  = C.S_IRWXO
    )
    
    const (
    	_statfsVersion = C.STATFS_VERSION
    	_dirblksiz     = C.DIRBLKSIZ
    )
    
    type Stat_t C.struct_stat
    
    type Statfs_t C.struct_statfs
    
    type Flock_t C.struct_flock
    
    type Dirent C.struct_dirent
    
    type Fsid C.struct_fsid
    
    // File system limits
    
    const (
    	pathMax = C.PATH_MAX
    )
    
    // Sockets
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  10. src/syscall/ztypes_openbsd_riscv64.go

    	Mtim           Timespec
    	Ctim           Timespec
    	Size           int64
    	Blocks         int64
    	Blksize        int32
    	Flags          uint32
    	Gen            uint32
    	X__st_birthtim 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:38 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top