Home
last modified time | relevance | path

Searched refs:message_buf (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libdscfg/common/
H A Dcfg_lockdmsg.c60 struct lock_msg message_buf; in send_cmd() local
64 message_buf.seq = seq; in send_cmd()
66 message_buf.seq = ++seq; in send_cmd()
69 message_buf.message = cmd; in send_cmd()
70 if ((message_buf.pid = getpid()) != socket_pid) in send_cmd()
74 rc = sendto(lock_soc, &message_buf, sizeof (message_buf), 0, in send_cmd()
124 struct lock_msg message_buf; in read_reply() local
127 read_msg(&message_buf); in read_reply()
128 } while (message_buf.seq != seq || message_buf.message != LOCK_LOCKED); in read_reply()
134 struct lock_msg message_buf; in read_ack() local
[all …]
/titanic_41/usr/src/cmd/avs/dscfglockd/
H A Ddscfglockd.c295 struct lock_msg message_buf; in send_lockmsg() local
305 message_buf.message = cmd; in send_lockmsg()
306 message_buf.pid = pid; in send_lockmsg()
307 message_buf.order = order; in send_lockmsg()
308 message_buf.seq = seq; in send_lockmsg()
310 rc = sendto(lock_soc, &message_buf, sizeof (message_buf), 0, in send_lockmsg()
1343 struct lock_msg message_buf; in lintmain() local
1355 rc = recvfrom(lock_soc, &message_buf, sizeof (message_buf), in lintmain()
1359 if (rc == sizeof (message_buf)) in lintmain()
1360 dispatch(&message_buf, &from); in lintmain()