Lines Matching defs:eofflag
3864 * '*off' to 0 (or any valid start offset) and '*eofflag' to 0. There are no
3870 * and '*eofflag') must be re-initialized before a subsequent call. On error
3873 * '*len', '*off' and '*eofflag' are internal state the caller should not
3875 * to read from to refill the buffer. '*eofflag' is set to 0 or 1 by the last
3883 struct dirent **dpp, size_t *len, off_t *off, int *eofflag)
3931 switch (*eofflag) {
3937 *eofflag = 2; /* Remember the caller reached EOF. */
3961 error = VOP_READDIR(vp, &uio, td->td_ucred, eofflag,
3971 MPASS(*eofflag != 0);
3972 *eofflag = 1;
3980 if (*eofflag != 0)
3981 *eofflag = 1;
4013 int eofflag, error;
4031 eofflag = 0;
4035 &dp, &len, &off, &eofflag);