Home | History | Annotate | Download | only in syscall

Lines Matching refs:attrBuf

125 func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (attrs [][]byte, err error) {
126 if len(attrBuf) < 4 {
127 return nil, errorspkg.New("attrBuf too small")
141 uintptr(unsafe.Pointer(&attrBuf[0])),
142 uintptr(len(attrBuf)),
150 size := *(*uint32)(unsafe.Pointer(&attrBuf[0]))
152 // dat is the section of attrBuf that contains valid data,
155 dat := attrBuf
156 if int(size) < len(attrBuf) {
169 return attrs, errorspkg.New("truncated results; attrBuf too small")