Home
last modified time | relevance | path

Searched refs:strpeek (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/lib/libnsl/nsl/
H A Dt_look.c82 struct strpeek strpeek; in _t_look_locked() local
122 strpeek.ctlbuf.maxlen = (int)sizeof (ctltype); in _t_look_locked()
123 strpeek.ctlbuf.len = 0; in _t_look_locked()
124 strpeek.ctlbuf.buf = (char *)&ctltype; in _t_look_locked()
125 strpeek.databuf.maxlen = 0; in _t_look_locked()
126 strpeek.databuf.len = 0; in _t_look_locked()
127 strpeek.databuf.buf = NULL; in _t_look_locked()
128 strpeek.flags = 0; in _t_look_locked()
131 retval = ioctl(fd, I_PEEK, &strpeek); in _t_look_locked()
147 ((retval > 0) && (strpeek.ctlbuf.len >= in _t_look_locked()
[all …]
H A D_utility.c1108 struct strpeek arg; in _t_adjust_state()
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dstropts.h91 #define I_PEEK _IOWR('S',017,struct strpeek)
130 struct strpeek { struct
/titanic_41/usr/src/cmd/ttymon/
H A Dtmpeek.c158 static struct strpeek peek;
159 register struct strpeek *peekp;
/titanic_41/usr/src/uts/common/fs/fifofs/
H A Dfifovnops.c1221 STRUCT_DECL(strpeek, strpeek); in fifo_fastioctl()
1228 STRUCT_INIT(strpeek, mode); in fifo_fastioctl()
1235 error = copyin((caddr_t)arg, STRUCT_BUF(strpeek), in fifo_fastioctl()
1236 STRUCT_SIZE(strpeek)); in fifo_fastioctl()
1243 if (STRUCT_FGET(strpeek, flags) & RS_HIPRI) { in fifo_fastioctl()
1248 len = STRUCT_FGET(strpeek, databuf.maxlen); in fifo_fastioctl()
1250 STRUCT_FSET(strpeek, databuf.len, len); in fifo_fastioctl()
1252 iov.iov_base = STRUCT_FGETP(strpeek, databuf.buf); in fifo_fastioctl()
1273 STRUCT_FSET(strpeek, databuf.len, len - uio.uio_resid); in fifo_fastioctl()
1275 STRUCT_FSET(strpeek, flags, 0); in fifo_fastioctl()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dstreamio.c4902 STRUCT_DECL(strpeek, strpeek); in strioctl()
4906 STRUCT_INIT(strpeek, flag); in strioctl()
4908 error = strcopyin((void *)arg, STRUCT_BUF(strpeek), in strioctl()
4909 STRUCT_SIZE(strpeek), copyflag); in strioctl()
4926 if ((STRUCT_FGET(strpeek, flags) & RS_HIPRI) && in strioctl()
4933 (STRUCT_FGET(strpeek, flags) & RS_HIPRI)) { in strioctl()
4958 STRUCT_FSET(strpeek, flags, RS_HIPRI); in strioctl()
4960 STRUCT_FSET(strpeek, flags, 0); in strioctl()
4986 if (STRUCT_FGET(strpeek, ctlbuf.maxlen) < 0) in strioctl()
4987 STRUCT_FSET(strpeek, ctlbuf.len, -1); in strioctl()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dstropts.h353 struct strpeek { struct
/titanic_41/usr/src/cmd/listen/
H A Dnlps_serv.c345 struct strpeek peek; in nullfix()
346 register struct strpeek *peekp; in nullfix()
/titanic_41/usr/src/cmd/truss/
H A Dexpound.c947 struct strpeek strpeek; in show_strpeek() local
949 if (Pread(Proc, &strpeek, sizeof (strpeek), offset) in show_strpeek()
950 == sizeof (strpeek)) { in show_strpeek()
952 print_strbuf(pri, &strpeek.ctlbuf, "ctl", FALSE); in show_strpeek()
953 print_strbuf(pri, &strpeek.databuf, "dat", FALSE); in show_strpeek()
957 strflags(pri, strpeek.flags)); in show_strpeek()
965 struct strpeek32 strpeek; in show_strpeek32() local
967 if (Pread(Proc, &strpeek, sizeof (strpeek), offset) in show_strpeek32()
968 == sizeof (strpeek)) { in show_strpeek32()
970 print_strbuf32(pri, &strpeek.ctlbuf, "ctl", FALSE); in show_strpeek32()
[all …]
/titanic_41/usr/src/lib/libast/common/sfio/
H A Dsfpkrd.c75 struct strpeek pbuf;
/titanic_41/usr/src/lib/libast/common/features/
H A Dlib328 { struct strpeek peek;