1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)uio.h 7.1 (Berkeley) 6/4/86
7: */
8:
9: #ifndef _UIO_
10: #define _UIO_
11:
12: struct iovec {
13: caddr_t iov_base;
14: int iov_len;
15: };
16:
17: struct uio {
18: struct iovec *uio_iov;
19: int uio_iovcnt;
20: off_t uio_offset;
21: int uio_segflg;
22: int uio_resid;
23: };
24:
25: enum uio_rw { UIO_READ, UIO_WRITE };
26:
27: /*
28: * Segment flag values (should be enum).
29: */
30: #define UIO_USERSPACE 0 /* from user data space */
31: #define UIO_SYSSPACE 1 /* from system space */
32: #define UIO_USERISPACE 2 /* from user I space */
33: #endif
Defined struct's
iovec
defined in line
12; used 52 times
- in line 18(2)
- in /usr/src/sys/h/namei.h line
29(2)
- in /usr/src/sys/sys/kern_subr.c line
21(2),
71(2),
111(2)
- in /usr/src/sys/sys/sys_generic.c line
31(2),
44-48(4),
57(2),
74(2),
87-91(4),
100(2),
114(2)
- in /usr/src/sys/sys/sys_inode.c line
59(2)
- in /usr/src/sys/sys/tty_pty.c line
380(2)
- in /usr/src/sys/sys/uipc_syscalls.c line
300(2),
322(2),
343(2),
368(2),
432(2),
459(2),
480(2),
514(2)
- in /usr/src/sys/sys/vm_swp.c line
199(2)
- in /usr/src/sys/vax/mem.c line
50(2)
uio
defined in line
17; used 194 times
- in /usr/src/sys/h/namei.h line
30(2)
- in /usr/src/sys/sys/kern_subr.c line
19(2),
69(2),
109(2)
- in /usr/src/sys/sys/sys_generic.c line
30(2),
47(2),
73(2),
90(2),
107(2)
- in /usr/src/sys/sys/sys_inode.c line
34(2),
58(2),
80(2)
- in /usr/src/sys/sys/sys_socket.c line
32(2)
- in /usr/src/sys/sys/tty.c line
1122(2),
1288(2)
- in /usr/src/sys/sys/tty_bk.c line
94(2)
- in /usr/src/sys/sys/tty_pty.c line
100(2),
145(2),
231(2),
377(2)
- in /usr/src/sys/sys/tty_tb.c line
126(2)
- in /usr/src/sys/sys/tty_tty.c line
38(2),
49(2)
- in /usr/src/sys/sys/uipc_socket.c line
284(2),
409(2)
- in /usr/src/sys/sys/uipc_syscalls.c line
367(2),
513(2)
- in /usr/src/sys/sys/vm_sw.c line
68(2),
76(2)
- in /usr/src/sys/sys/vm_swp.c line
197(2)
- in /usr/src/sys/vax/cons.c line
63(2),
73(2)
- in /usr/src/sys/vax/crl.c line
68(2),
120(2),
129(2)
- in /usr/src/sys/vax/flp.c line
60(2),
120(2),
129(2)
- in /usr/src/sys/vax/mem.c line
29(2),
37(2),
45(2)
- in /usr/src/sys/vaxmba/hp.c line
783(2),
794(2)
- in /usr/src/sys/vaxmba/ht.c line
427(2),
439(2),
451(2)
- in /usr/src/sys/vaxmba/mt.c line
778(2),
791(2),
803(2)
- in /usr/src/sys/vaxuba/dh.c line
261(2),
270(2)
- in /usr/src/sys/vaxuba/dhu.c line
278(2),
287(2)
- in /usr/src/sys/vaxuba/dmf.c line
324(2),
336(2),
889(2)
- in /usr/src/sys/vaxuba/dmz.c line
360(2),
372(2)
- in /usr/src/sys/vaxuba/dn.c line
124(2)
- in /usr/src/sys/vaxuba/dz.c line
204(2),
214(2)
- in /usr/src/sys/vaxuba/idc.c line
671(2),
682(2)
- in /usr/src/sys/vaxuba/ik.c line
110(2),
121(2)
- in /usr/src/sys/vaxuba/lp.c line
148(2)
- in /usr/src/sys/vaxuba/lpa.c line
276(2),
298(2),
336(2),
451(2)
- in /usr/src/sys/vaxuba/ps.c line
215(2),
222(2)
- in /usr/src/sys/vaxuba/rk.c line
536(2),
547(2)
- in /usr/src/sys/vaxuba/rl.c line
565(2),
576(2)
- in /usr/src/sys/vaxuba/rx.c line
747(2),
762(2)
- in /usr/src/sys/vaxuba/tm.c line
786(2),
798(2),
815(2)
- in /usr/src/sys/vaxuba/tmscp.c line
1887(2),
1903(2)
- in /usr/src/sys/vaxuba/ts.c line
714(2),
726(2),
743(2)
- in /usr/src/sys/vaxuba/uda.c line
1199(2),
1210(2)
- in /usr/src/sys/vaxuba/up.c line
745(2),
756(2)
- in /usr/src/sys/vaxuba/ut.c line
689(2),
704(2),
720(2)
- in /usr/src/sys/vaxuba/va.c line
218(2)
- in /usr/src/sys/vaxuba/vp.c line
202(2)
- in /usr/src/sys/vaxuba/vs.c line
289(2),
296(2)
Defined enum's
uio_rw
defined in line
25; used 20 times
Defined macros
UIO_USERSPACE
defined in line
30; used 23 times
- in /usr/src/sys/sys/kern_acct.c line
49
- in /usr/src/sys/sys/kern_exec.c line
72
- in /usr/src/sys/sys/quota_kern.c line
618
- in /usr/src/sys/sys/sys_generic.c line
123
- in /usr/src/sys/sys/ufs_syscalls.c line
61,
128,
214,
258,
272,
321,
354,
439,
486,
511,
724,
825,
1004,
1160,
1236,
1271
- in /usr/src/sys/sys/uipc_syscalls.c line
378,
524
- in /usr/src/sys/sys/vm_sw.c line
100
_UIO_
defined in line
10; used 1 times
Usage of this include