/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpc_prot.c | 141 xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg) in xdr_replymsg() argument 149 rmsg->rm_reply.rp_stat == MSG_ACCEPTED && in xdr_replymsg() 150 rmsg->rm_direction == REPLY && in xdr_replymsg() 152 RNDUP(rmsg->rm_reply.rp_acpt.ar_verf.oa_length)))) != NULL) { in xdr_replymsg() 153 IXDR_PUT_INT32(buf, rmsg->rm_xid); in xdr_replymsg() 154 IXDR_PUT_ENUM(buf, rmsg->rm_direction); in xdr_replymsg() 155 IXDR_PUT_ENUM(buf, rmsg->rm_reply.rp_stat); in xdr_replymsg() 156 ar = &rmsg->rm_reply.rp_acpt; in xdr_replymsg() 186 rmsg->rm_xid = IXDR_GET_INT32(buf); in xdr_replymsg() 187 rmsg->rm_direction = IXDR_GET_ENUM(buf, enum msg_type); in xdr_replymsg() [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_prot.c | 124 xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg) in xdr_replymsg() argument 133 rmsg->rm_reply.rp_stat == MSG_ACCEPTED && in xdr_replymsg() 134 rmsg->rm_direction == REPLY && in xdr_replymsg() 136 RNDUP(rmsg->rm_reply.rp_acpt.ar_verf.oa_length)))) != NULL) { in xdr_replymsg() 137 IXDR_PUT_INT32(buf, rmsg->rm_xid); in xdr_replymsg() 138 IXDR_PUT_ENUM(buf, rmsg->rm_direction); in xdr_replymsg() 139 IXDR_PUT_ENUM(buf, rmsg->rm_reply.rp_stat); in xdr_replymsg() 140 ar = &rmsg->rm_reply.rp_acpt; in xdr_replymsg() 171 rmsg->rm_xid = IXDR_GET_INT32(buf); in xdr_replymsg() 172 rmsg->rm_direction = IXDR_GET_ENUM(buf, enum msg_type); in xdr_replymsg() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | input.c | 51 find_ancillary(struct msghdr *rmsg, int cmsg_type) in find_ancillary() argument 55 for (cmsg = CMSG_FIRSTHDR(rmsg); cmsg != NULL; in find_ancillary() 56 cmsg = CMSG_NXTHDR(rmsg, cmsg)) { in find_ancillary() 73 struct msghdr rmsg; in in_data() local 79 rmsg.msg_name = &from; in in_data() 80 rmsg.msg_namelen = (socklen_t)sizeof (from); in in_data() 81 rmsg.msg_iov = &iov; in in_data() 82 rmsg.msg_iovlen = 1; in in_data() 83 rmsg.msg_control = control; in in_data() 84 rmsg.msg_controllen = IPV6_MAX_PACKET; in in_data() [all …]
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPReg.c | 530 struct reg_q_msg *rmsg; in enqueue_reg() local 532 if (!(rmsg = malloc(sizeof (*rmsg)))) { in enqueue_reg() 537 rmsg->msg = msg; in enqueue_reg() 538 rmsg->hp = hp; in enqueue_reg() 539 rmsg->cb = cb; in enqueue_reg() 540 rmsg->cookie = cookie; in enqueue_reg() 542 return (slp_enqueue(reg_q, rmsg)); in enqueue_reg() 597 struct reg_q_msg *rmsg; in reg_thread() local 602 rmsg = slp_dequeue_timed(reg_q, &timeout, &etimed); in reg_thread() 603 if (!rmsg && etimed == SLP_TRUE) { in reg_thread() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_ciss.c | 1742 const char *rmsg; in smrt_event_complete() local 1744 rmsg = "rescanning"; in smrt_event_complete() 1746 rmsg = "not rescanning"; in smrt_event_complete() 1753 sen->sen_message, rmsg); in smrt_event_complete() 1758 rmsg); in smrt_event_complete()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_txdring.c | 1672 vio_raw_data_msg_t *rmsg; in vgen_sendmsg() local 1689 rmsg = (vio_raw_data_msg_t *)tagp; in vgen_sendmsg() 1690 rmsg->seq_num = ldcp->next_txseq; in vgen_sendmsg() 1728 vio_raw_data_msg_t *rmsg; in vgen_check_datamsg_seq() local 1737 rmsg = (vio_raw_data_msg_t *)tagp; in vgen_check_datamsg_seq() 1738 seq_num = rmsg->seq_num; in vgen_check_datamsg_seq()
|
H A D | vsw_txdring.c | 634 vio_raw_data_msg_t *rmsg; in vsw_send_msg() local 654 rmsg = (vio_raw_data_msg_t *)tag; in vsw_send_msg() 655 rmsg->seq_num = ldcp->lane_out.seq_num; in vsw_send_msg()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecconf.c | 1905 spd_msg_t *rmsg; in ipsec_conf_list() local 1937 rmsg = ipsec_read_dump(pfd); in ipsec_conf_list() 1939 if (rmsg == NULL || rmsg->spd_msg_errno != 0) { in ipsec_conf_list() 1941 (rmsg == NULL ? in ipsec_conf_list() 1943 sys_error_message(rmsg->spd_msg_errno))); in ipsec_conf_list() 1951 rmsg = ipsec_read_dump(pfd); in ipsec_conf_list() 1953 if (rmsg == NULL) { in ipsec_conf_list() 1958 if (rmsg->spd_msg_errno != 0) { in ipsec_conf_list() 1960 sys_error_message(rmsg->spd_msg_errno)); in ipsec_conf_list() 1965 ret = spdsock_get_ext(exts, rmsg, rmsg->spd_msg_len, in ipsec_conf_list() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 1203 char lmsg[256], rmsg[256]; in dtrace_errhash_cmp() local 1215 (void) mdb_readstr(rmsg, sizeof (rmsg), (uintptr_t)rerr.dter_msg); in dtrace_errhash_cmp() 1217 return (strcmp(lmsg, rmsg)); in dtrace_errhash_cmp()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpmain.c | 1086 char *rmsg = gettext( in main() local 1089 msg(rmsg); in main()
|