Lines Matching refs:ok
83 reclen, ok := direntReclen(buf)
84 if !ok || reclen > uint64(len(buf)) {
89 ino, ok := direntIno(rec)
90 if !ok {
96 typ, ok := direntType(rec)
97 if !ok {
101 namlen, ok := direntNamlen(rec)
102 if !ok || namoff+namlen > uint64(len(rec)) {
138 reclen, ok := direntReclen(buf)
139 if !ok {
146 func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {