Lines Matching defs:uio

52 #include <sys/uio.h>
93 struct uio *, int32_t, struct cred *, caller_context_t *);
95 struct uio *, int32_t, struct cred *, caller_context_t *);
125 struct uio *, struct cred *, int32_t *, caller_context_t *, int);
129 struct uio *, struct cred *, caller_context_t *);
171 int32_t ud_rdip(struct ud_inode *, struct uio *, int32_t, cred_t *);
172 int32_t ud_wrip(struct ud_inode *, struct uio *, int32_t, cred_t *);
292 struct uio *uiop,
341 struct uio *uiop,
1109 struct uio *uiop,
1397 struct uio *uiop,
2365 struct uio auio;
2999 ud_rdip(struct ud_inode *ip, struct uio *uio, int32_t ioflag, cred_t *cr)
3008 long oresid = uio->uio_resid;
3017 if (uio->uio_loffset > MAXOFFSET_T) {
3021 if ((uio->uio_loffset < (offset_t)0) ||
3022 ((uio->uio_loffset + uio->uio_resid) < 0)) {
3025 if (uio->uio_resid == 0) {
3039 u_offset_t uoff = uio->uio_loffset;
3043 n = (int)MIN(udf_vfsp->udf_lbsize - on, uio->uio_resid);
3066 error = uiomove(base + mapon, (long)n, UIO_READ, uio);
3099 } while (error == 0 && uio->uio_resid > 0 && n != 0);
3121 if (oresid != uio->uio_resid) {
3130 ud_wrip(struct ud_inode *ip, struct uio *uio, int ioflag, struct cred *cr)
3140 long start_resid = uio->uio_resid, premove_resid;
3141 rlim64_t limit = uio->uio_limit;
3151 if (uio->uio_loffset >= MAXOFFSET_T) {
3160 if (uio->uio_loffset >= limit) {
3169 if ((uio->uio_loffset < (offset_t)0) ||
3170 ((uio->uio_loffset + uio->uio_resid) < 0)) {
3173 if (uio->uio_resid == 0) {
3190 u_offset_t uoff = uio->uio_loffset;
3194 n = (int)MIN(udf_vfsp->udf_lbsize - on, uio->uio_resid);
3251 uio_prefaultpages((long)n, uio);
3266 premove_resid = uio->uio_resid;
3267 error = uiomove(base + mapon, (long)n, UIO_WRITE, uio);
3270 uio->uio_loffset < roundup(off + mapon + n, PAGESIZE)) {
3279 nmoved = (int)(uio->uio_loffset - (off + mapon));
3357 uio->uio_resid = premove_resid;
3405 } while (error == 0 && uio->uio_resid > 0 && n != 0);
3435 if (start_resid != uio->uio_resid) {