Lines Matching refs:buf
615 register char *buf = (char *)bufaddr;
623 CAST_USER_ADDR_T(&buf[tmp]),
1374 _ATPsndreq(fd, buf, len, nowait, err, proc)
1376 unsigned char *buf;
1447 if (((*err = copyin(CAST_USER_ADDR_T(buf), (caddr_t)bds, atpBDSsize)) != 0)
1448 || ((*err = copyin(CAST_USER_ADDR_T(&buf[atpBDSsize]),
1586 if ((*err = copyout((caddr_t)bds, CAST_USER_ADDR_T(buf), atpBDSsize)) != 0) {
1740 _ATPgetreq(fd, buf, buflen, err, proc)
1742 unsigned char *buf;
1795 copyout((caddr_t)gbuf_rptr(m), CAST_USER_ADDR_T(&buf[size]), len);