Lines Matching refs:strpeek
4902 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()
4988 else if (STRUCT_FGET(strpeek, ctlbuf.maxlen) == 0) in strioctl()
4989 STRUCT_FSET(strpeek, ctlbuf.len, 0); in strioctl()
4993 iov.iov_base = STRUCT_FGETP(strpeek, ctlbuf.buf); in strioctl()
4994 iov.iov_len = STRUCT_FGET(strpeek, ctlbuf.maxlen); in strioctl()
5001 ASSERT(STRUCT_FGET(strpeek, flags) == 0 ? in strioctl()
5017 STRUCT_FSET(strpeek, ctlbuf.len, -1); in strioctl()
5019 STRUCT_FSET(strpeek, ctlbuf.len, in strioctl()
5020 STRUCT_FGET(strpeek, ctlbuf.maxlen) - in strioctl()
5029 if (STRUCT_FGET(strpeek, databuf.maxlen) < 0) in strioctl()
5030 STRUCT_FSET(strpeek, databuf.len, -1); in strioctl()
5031 else if (STRUCT_FGET(strpeek, databuf.maxlen) == 0) in strioctl()
5032 STRUCT_FSET(strpeek, databuf.len, 0); in strioctl()
5036 iov.iov_base = STRUCT_FGETP(strpeek, databuf.buf); in strioctl()
5037 iov.iov_len = STRUCT_FGET(strpeek, databuf.maxlen); in strioctl()
5059 STRUCT_FSET(strpeek, databuf.len, -1); in strioctl()
5061 STRUCT_FSET(strpeek, databuf.len, in strioctl()
5062 STRUCT_FGET(strpeek, databuf.maxlen) - in strioctl()
5073 if ((fmp == NULL) && STRUCT_FGET(strpeek, databuf.maxlen) > 0) { in strioctl()
5084 STRUCT_FSET(strpeek, databuf.len, STRUCT_FGET(strpeek, in strioctl()
5086 if (STRUCT_FGET(strpeek, databuf.len) == 0) { in strioctl()
5090 STRUCT_FSET(strpeek, databuf.len, -1); in strioctl()
5093 error = strcopyout(STRUCT_BUF(strpeek), (void *)arg, in strioctl()
5094 STRUCT_SIZE(strpeek), copyflag); in strioctl()
5102 if (STRUCT_FGET(strpeek, ctlbuf.len) == -1 && in strioctl()
5103 STRUCT_FGET(strpeek, databuf.len) == -1) in strioctl()