Home
last modified time | relevance | path

Searched refs:max_read (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_subr.c501 socopyoutuio(mblk_t *mp, struct uio *uiop, ssize_t max_read, int *errorp) in socopyoutuio() argument
513 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()