/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_look.c | 82 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.c | 1108 struct strpeek arg; in _t_adjust_state()
|
/illumos-gate/usr/src/uts/common/fs/fifofs/ |
H A D | fifovnops.c | 1240 STRUCT_DECL(strpeek, strpeek); in fifo_fastioctl() 1247 STRUCT_INIT(strpeek, mode); in fifo_fastioctl() 1254 error = copyin((caddr_t)arg, STRUCT_BUF(strpeek), in fifo_fastioctl() 1255 STRUCT_SIZE(strpeek)); in fifo_fastioctl() 1262 if (STRUCT_FGET(strpeek, flags) & RS_HIPRI) { in fifo_fastioctl() 1267 len = STRUCT_FGET(strpeek, databuf.maxlen); in fifo_fastioctl() 1269 STRUCT_FSET(strpeek, databuf.len, len); in fifo_fastioctl() 1271 iov.iov_base = STRUCT_FGETP(strpeek, databuf.buf); in fifo_fastioctl() 1292 STRUCT_FSET(strpeek, databuf.len, len - uio.uio_resid); in fifo_fastioctl() 1294 STRUCT_FSET(strpeek, flags, 0); in fifo_fastioctl() [all …]
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmpeek.c | 154 static struct strpeek peek; in do_peek() 155 struct strpeek *peekp; in do_peek()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | streamio.c | 5028 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/cmd/truss/ |
H A D | expound.c | 940 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 D | nlps_serv.c | 343 struct strpeek peek; in nullfix() 344 register struct strpeek *peekp; in nullfix()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | stropts.h | 351 struct strpeek { struct
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfpkrd.c | 94 { struct strpeek pbuf;
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | lib | 390 { struct strpeek peek;
|