Lines Matching defs:data

53 int getmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int *flagsp);
54 int putmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int flags);
55 int getpmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int *prip,
57 int putpmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int pri,
60 static int msgio(int fdes, struct strbuf *ctl, struct strbuf *data, int *rval,
64 getmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int *flagsp)
90 if ((error = msgio(fdes, ctl, data, &rv, FREAD, &pri,
108 putmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int flags)
132 error = msgio(fdes, ctl, data, &rv, FWRITE, &pri, &realflags);
140 getpmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int *prip,
156 error = msgio(fdes, ctl, data, &rv, FREAD, &pri, &flags);
168 putpmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int intpri,
178 error = msgio(fdes, ctl, data, &rv, FWRITE, &pri, &flags);
190 msgio(int fdes, struct strbuf *ctl, struct strbuf *data, int *rval,
228 if ((data != NULL) &&
229 copyin(data, &msgdata, sizeof (struct strbuf))) {
237 if (data == NULL)
257 ((data != NULL) &&
258 copyout(&msgdata, data, sizeof (struct strbuf)))) {
271 if (data == NULL)
289 static int msgio32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data,
293 getmsg32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int32_t *flagsp)
319 if ((error = msgio32(fdes, ctl, data, &rv, FREAD, &pri,
337 putmsg32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int32_t flags)
361 error = msgio32(fdes, ctl, data, &rv, FWRITE, &pri, &realflags);
369 getpmsg32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int32_t *prip,
385 error = msgio32(fdes, ctl, data, &rv, FREAD, &pri, &flags);
397 putpmsg32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int32_t intpri,
407 error = msgio32(fdes, ctl, data, &rv, FWRITE, &pri, &flags);
419 msgio32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int *rval,
462 if (data != NULL) {
463 if (copyin(data, &msgdata32, sizeof (msgdata32))) {
475 if (data == NULL)
503 if (data != NULL) {
508 if (copyout(&msgdata32, data, sizeof (msgdata32))) {
522 if (data == NULL)