Searched refs:max_read (Results 1 – 1 of 1) sorted by relevance
501 socopyoutuio(mblk_t *mp, struct uio *uiop, ssize_t max_read, int *errorp) in socopyoutuio() argument513 if (max_read == INFPSZ || max_read > uiop->uio_resid) in socopyoutuio()514 max_read = uiop->uio_resid; in socopyoutuio()517 if ((n = MIN(max_read, MBLKL(mp))) != 0) { in socopyoutuio()529 max_read -= n; in socopyoutuio()538 } while (mp != NULL && max_read > 0); in socopyoutuio()