HomeSort by: relevance | last modified time | path
    Searched refs:uio (Results 1 - 25 of 862) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/rump/librump/rumpkern/
accessors.c 40 #include <sys/uio.h>
44 struct uio *
47 struct uio *uio; local in function:rump_uio_setup
61 uio = kmem_alloc(sizeof(struct uio), KM_SLEEP);
62 uio->uio_iov = kmem_alloc(sizeof(struct iovec), KM_SLEEP);
64 uio->uio_iov->iov_base = buf;
65 uio->uio_iov->iov_len = bufsize;
67 uio->uio_iovcnt = 1
    [all...]
  /src/sys/arch/vax/include/
leds.h 43 int leds_uio(struct uio *uio);
  /src/sys/miscfs/procfs/
procfs_cmdline.c 50 struct uio *uio = cookie; local in function:procfs_doprocargs_helper
53 buf += uio->uio_offset - off;
54 if (off + len <= (uintmax_t)uio->uio_offset)
56 return uiomove(buf, off + len - uio->uio_offset, cookie);
67 struct uio *uio,
75 if (uio->uio_rw != UIO_READ)
86 if (0 == uio->uio_offset) {
87 error = uiomove(msg, 1, uio);
    [all...]
procfs_auxv.c 43 struct uio *uio)
49 if (uio->uio_rw != UIO_READ)
55 if ((uintmax_t)uio->uio_offset < bufsize)
56 error = uiomove((char *)buffer + uio->uio_offset,
57 bufsize - uio->uio_offset, uio);
procfs_mem.c 95 struct uio *uio
99 return (process_domem(curl, l, uio));
procfs_regs.c 89 struct uio *uio
93 return (process_doregs(curl, l, uio));
procfs_note.c 91 struct uio *uio
98 if (uio->uio_rw != UIO_WRITE)
102 error = vfs_getuserstr(uio, note, &xlen);
procfs_subr.c 145 struct uio *uio = ap->a_uio; local in function:procfs_rw
152 if (uio->uio_offset < 0)
169 p, pfs, KAUTH_ARG(M2K(uio->uio_rw)), NULL);
195 error = procfs_donote(curl, p, pfs, uio);
199 error = procfs_doregs(curl, l, pfs, uio);
203 error = procfs_dofpregs(curl, l, pfs, uio);
207 error = procfs_dostatus(curl, l, pfs, uio);
211 error = procfs_do_pid_stat(curl, l, pfs, uio);
215 error = procfs_dolimit(curl, p, pfs, uio);
    [all...]
procfs.h 225 int vfs_getuserstr(struct uio *, char *, int *);
244 struct uio *);
246 struct uio *);
248 struct uio *);
250 struct uio *);
252 struct uio *);
254 struct uio *);
256 struct uio *, int);
258 struct uio *, int);
260 struct uio *);
    [all...]
  /src/lib/libc/stdio/
fputs.c 58 struct __suio uio; local in function:fputs
68 uio.uio_resid = iov.iov_len = strlen(s);
69 uio.uio_iov = &iov;
70 uio.uio_iovcnt = 1;
73 r = __sfvwrite(fp, &uio);
putw.c 54 struct __suio uio; local in function:putw
61 iov.iov_len = uio.uio_resid = sizeof(w);
62 uio.uio_iov = &iov;
63 uio.uio_iovcnt = 1;
65 r = __sfvwrite(fp, &uio);
fwrite.c 61 struct __suio uio; local in function:fwrite
81 uio.uio_resid = iov.iov_len = n;
82 uio.uio_iov = &iov;
83 uio.uio_iovcnt = 1;
91 if (__sfvwrite(fp, &uio) != 0)
92 count = ((n - uio.uio_resid) / size);
puts.c 59 struct __suio uio; local in function:puts
74 uio.uio_resid = c + 1;
75 uio.uio_iov = &iov[0];
76 uio.uio_iovcnt = 2;
78 r = __sfvwrite(stdout, &uio);
  /src/sys/ufs/ext2fs/
ext2fs_readwrite.c 86 static int ext2fs_post_write_update(struct vnode *, struct uio *, int,
98 struct uio *a_uio;
104 struct uio *uio; local in function:ext2fs_read
113 uio = ap->a_uio;
116 KASSERT(uio->uio_rw == UIO_READ);
121 return ext2fs_bufrd(vp, uio, ap->a_ioflag, ap->a_cred);
123 if ((uint64_t)uio->uio_offset > ump->um_maxfilesize)
125 if (uio->uio_resid == 0)
127 if (uio->uio_offset >= ext2fs_size(ip)
266 struct uio *uio; local in function:ext2fs_write
    [all...]
  /src/sys/arch/sparc/include/
eeprom.h 48 int eeprom_uio(struct uio *);
  /src/sys/arch/sun2/include/
leds.h 43 int leds_uio(struct uio *);
  /src/sys/arch/sun3/include/
eeprom.h 39 int eeprom_uio(struct uio *);
leds.h 43 int leds_uio(struct uio *);
  /src/sys/opencrypto/
criov.c 45 int cuio_getindx(struct uio *uio, int loc, int *off);
49 cuio_copydata(struct uio *uio, int off, int len, void *cp)
51 struct iovec *iov = uio->uio_iov;
52 int iol = uio->uio_iovcnt;
82 cuio_copyback(struct uio *uio, int off, int len, void *cp)
84 struct iovec *iov = uio->uio_iov;
85 int iol = uio->uio_iovcnt
    [all...]
  /src/sys/ufs/lfs/
ulfs_readwrite.c 50 static int ulfs_post_write_update(struct vnode *, struct uio *, int,
62 struct uio *a_uio;
68 struct uio *uio; local in function:READ
76 uio = ap->a_uio;
80 KASSERT(uio->uio_rw == UIO_READ);
85 return BUFRD(vp, uio, ioflag, ap->a_cred);
88 return BUFRD(vp, uio, ioflag, ap->a_cred);
89 if ((u_int64_t)uio->uio_offset > fs->um_maxfilesize)
91 if (uio->uio_resid == 0
235 struct uio *uio; local in function:WRITE
    [all...]
  /src/sys/ufs/ufs/
ufs_readwrite.c 54 static int ufs_post_write_update(struct vnode *, struct uio *, int,
66 struct uio *a_uio;
72 struct uio *uio; local in function:READ
80 uio = ap->a_uio;
84 KASSERT(uio->uio_rw == UIO_READ);
89 return BUFRD(vp, uio, ioflag, ap->a_cred);
90 if ((u_int64_t)uio->uio_offset > ump->um_maxfilesize)
92 if (uio->uio_resid == 0)
96 return ffs_snapshot_read(vp, uio, ioflag)
243 struct uio *uio; local in function:WRITE
    [all...]
  /src/sys/dev/ir/
cirvar.h 35 int (*im_read)(void *, struct uio *, int);
36 int (*im_write)(void *, struct uio *, int);
  /src/sys/dev/
mm.h 35 #include <sys/uio.h>
52 * Must handle the complete uio, not execute in a loop.
56 int mm_md_readwrite(dev_t, struct uio *);
  /src/sys/rump/include/rump/
rumpkern_if_pub.h 12 struct uio * rump_pub_uio_setup(void *, size_t, off_t, enum rump_uiorw);
13 size_t rump_pub_uio_getresid(struct uio *);
14 off_t rump_pub_uio_getoff(struct uio *);
15 size_t rump_pub_uio_free(struct uio *);
  /src/sys/rump/include/rump-sys/
kern_if.h 18 struct uio * rump_uio_setup(void *, size_t, off_t, enum rump_uiorw);
19 typedef struct uio * (*rump_uio_setup_fn)(void *, size_t, off_t, enum rump_uiorw);
20 size_t rump_uio_getresid(struct uio *);
21 typedef size_t (*rump_uio_getresid_fn)(struct uio *);
22 off_t rump_uio_getoff(struct uio *);
23 typedef off_t (*rump_uio_getoff_fn)(struct uio *);
24 size_t rump_uio_free(struct uio *);
25 typedef size_t (*rump_uio_free_fn)(struct uio *);

Completed in 26 milliseconds

1 2 3 4 5 6 7 8 91011>>