Lines Matching refs:syscall
8 "syscall"
15 a := fs1.sys.(*syscall.Dir)
16 b := fs2.sys.(*syscall.Dir)
20 func fileInfoFromStat(d *syscall.Dir) FileInfo {
28 if d.Mode&syscall.DMDIR != 0 {
31 if d.Mode&syscall.DMAPPEND != 0 {
34 if d.Mode&syscall.DMEXCL != 0 {
37 if d.Mode&syscall.DMTMP != 0 {
44 func dirstat(arg interface{}) (*syscall.Dir, error) {
48 size := syscall.STATFIXLEN + 16*4
57 n, err = syscall.Fstat(a.fd, buf)
60 n, err = syscall.Stat(a, buf)
75 d, err := syscall.UnmarshalDir(buf[:n])
85 err = syscall.ErrBadStat
111 return time.Unix(int64(fi.Sys().(*syscall.Dir).Atime), 0)