Lines Matching refs:buf
2145 error = altq_getqstats(altq, pq->buf, &nbytes);
3723 user_addr_t buf;
3742 buf = (p64 ? ps64->ps_buf : ps32->ps_buf);
3752 error = copyout(pstore, buf, sizeof (*pstore));
3757 buf += sizeof (*pstore);
4251 user_addr_t buf;
4255 buf = (p64 ? io64->array : io32->array);
4269 for (i = 0; i < size; i++, buf += sizeof (*ioe)) {
4270 if (copyin(buf, ioe, sizeof (*ioe))) {
4316 if (copyout(ioe, buf, sizeof (*ioe))) {
4339 for (i = 0; i < size; i++, buf += sizeof (*ioe)) {
4340 if (copyin(buf, ioe, sizeof (*ioe))) {
4396 user_addr_t _buf = buf;
4406 for (i = 0; i < size; i++, buf += sizeof (*ioe)) {
4407 if (copyin(buf, ioe, sizeof (*ioe))) {
4466 buf = _buf;
4468 for (i = 0; i < size; i++, buf += sizeof (*ioe)) {
4469 if (copyin(buf, ioe, sizeof (*ioe))) {
4531 user_addr_t buf;
4553 buf = (p64 ? psn64->psn_buf : psn32->psn_buf);
4583 error = copyout(pstore, buf, sizeof (*pstore));
4588 buf += sizeof (*pstore);
4673 user_addr_t buf;
4676 buf = (p64 ? io64->pfiio_buffer : io32->pfiio_buffer);
4689 p64 ? io64->pfiio_name : io32->pfiio_name, buf,