Home
last modified time | relevance | path

Searched refs:strpeek (Results 1 – 10 of 10) sorted by last modified time

/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c940 struct strpeek strpeek; in show_strpeek() local
942 if (Pread(Proc, &strpeek, sizeof (strpeek), offset) in show_strpeek()
943 == sizeof (strpeek)) { in show_strpeek()
945 print_strbuf(pri, &strpeek.ctlbuf, "ctl", FALSE); in show_strpeek()
946 print_strbuf(pri, &strpeek.databuf, "dat", FALSE); in show_strpeek()
950 strflags(pri, strpeek.flags)); in show_strpeek()
957 struct strpeek32 strpeek; in show_strpeek32() local
959 if (Pread(Proc, &strpeek, sizeof (strpeek), offset) in show_strpeek32()
960 == sizeof (strpeek)) { in show_strpeek32()
962 print_strbuf32(pri, &strpeek.ctlbuf, "ctl", FALSE); in show_strpeek32()
[all …]
/illumos-gate/usr/src/cmd/listen/
H A Dnlps_serv.c343 struct strpeek peek; in nullfix()
344 register struct strpeek *peekp; in nullfix()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmpeek.c154 static struct strpeek peek; in do_peek()
155 struct strpeek *peekp; in do_peek()
/illumos-gate/usr/src/uts/common/sys/
H A Dstropts.h351 struct strpeek { struct
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c5028 STRUCT_DECL(strpeek, strpeek); in strioctl()
5032 STRUCT_INIT(strpeek, flag); in strioctl()
5034 error = strcopyin((void *)arg, STRUCT_BUF(strpeek), in strioctl()
5035 STRUCT_SIZE(strpeek), copyflag); in strioctl()
5052 if ((STRUCT_FGET(strpeek, flags) & RS_HIPRI) && in strioctl()
5059 (STRUCT_FGET(strpeek, flags) & RS_HIPRI)) { in strioctl()
5084 STRUCT_FSET(strpeek, flags, RS_HIPRI); in strioctl()
5086 STRUCT_FSET(strpeek, flags, 0); in strioctl()
5112 if (STRUCT_FGET(strpeek, ctlbuf.maxlen) < 0) in strioctl()
5113 STRUCT_FSET(strpeek, ctlbuf.len, -1); in strioctl()
[all …]
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifovnops.c1239 STRUCT_DECL(strpeek, strpeek); in fifo_fastioctl()
1246 STRUCT_INIT(strpeek, mode); in fifo_fastioctl()
1253 error = copyin((caddr_t)arg, STRUCT_BUF(strpeek), in fifo_fastioctl()
1254 STRUCT_SIZE(strpeek)); in fifo_fastioctl()
1261 if (STRUCT_FGET(strpeek, flags) & RS_HIPRI) { in fifo_fastioctl()
1266 len = STRUCT_FGET(strpeek, databuf.maxlen); in fifo_fastioctl()
1268 STRUCT_FSET(strpeek, databuf.len, len); in fifo_fastioctl()
1270 iov.iov_base = STRUCT_FGETP(strpeek, databuf.buf); in fifo_fastioctl()
1291 STRUCT_FSET(strpeek, databuf.len, len - uio.uio_resid); in fifo_fastioctl()
1293 STRUCT_FSET(strpeek, flags, 0); in fifo_fastioctl()
[all …]
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_utility.c1108 struct strpeek arg; in _t_adjust_state()
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 …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfpkrd.c94 { struct strpeek pbuf;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dlib390 { struct strpeek peek;