Lines Matching defs:message_buf
60 struct lock_msg message_buf;
64 message_buf.seq = seq;
66 message_buf.seq = ++seq;
69 message_buf.message = cmd;
70 if ((message_buf.pid = getpid()) != socket_pid)
74 rc = sendto(lock_soc, &message_buf, sizeof (message_buf), 0,
124 struct lock_msg message_buf;
127 read_msg(&message_buf);
128 } while (message_buf.seq != seq || message_buf.message != LOCK_LOCKED);
134 struct lock_msg message_buf;
137 read_msg(&message_buf);
138 } while (message_buf.seq != seq || message_buf.message != LOCK_ACK);
216 struct lock_msg message_buf;
218 read_msg(&message_buf);
219 *pidp = message_buf.pid;
220 return ((cfglockd_t)message_buf.message);