Lines Matching refs:DIRBLKSIZ
2671 * end of the directory, or uio_resid == 0, with all DIRBLKSIZ chunks
2719 (uio_uio_resid(uiop) & (DIRBLKSIZ - 1)) == 0,
2724 * adding one additional DIRBLKSIZ makes sense. Since uio_resid
2725 * and nm_readdirsize are both exact multiples of DIRBLKSIZ, this
2730 readsize = uio_uio_resid(uiop) + DIRBLKSIZ;
2959 left = DIRBLKSIZ - blksiz;
2976 if (blksiz == DIRBLKSIZ)
3070 * Fill last record, iff any, out to a multiple of DIRBLKSIZ
3074 left = DIRBLKSIZ - blksiz;
3098 * Add extra empty records to any remaining DIRBLKSIZ chunks.
3109 dp->d_reclen = DIRBLKSIZ;
3110 uio_iov_base_add(uiop, DIRBLKSIZ);
3111 uio_iov_len_add(uiop, -(DIRBLKSIZ));
3112 uio_uio_resid_add(uiop, -(DIRBLKSIZ));
3113 uiop->uio_offset += DIRBLKSIZ;
3126 * (ditto above w.r.t. multiple of DIRBLKSIZ, etc.)
3156 (uio_uio_resid(uiop) & (DIRBLKSIZ - 1)) == 0,
3367 left = DIRBLKSIZ - blksiz;
3384 if (blksiz == DIRBLKSIZ)
3563 * Fill last record, iff any, out to a multiple of DIRBLKSIZ
3567 left = DIRBLKSIZ - blksiz;
3591 * Add extra empty records to any remaining DIRBLKSIZ chunks.
3602 dp->d_reclen = DIRBLKSIZ;
3603 uio_iov_base_add(uiop, DIRBLKSIZ);
3604 uio_iov_len_add(uiop, -(DIRBLKSIZ));
3605 uio_uio_resid_add(uiop, -(DIRBLKSIZ));
3606 uiop->uio_offset += DIRBLKSIZ;