/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | boot_recv.c | 48 void *msgp = (void *)MessagePtr; local 51 (smq_msg_t *)msgp) != 0) {
|
H A D | callback.c | 51 void *msgp = (void *)Message; local 53 if (smq_send(&ADM_bpMsgQueue, (smq_msg_t *)msgp) != 0) {
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | msgsys.c | 58 msgrcv(int msqid, struct msgbuf *msgp, int msgsz, long msgtyp, int msgflg) argument 61 msqid, msgp, msgsz, msgtyp, msgflg)); 65 msgsnd(int msqid, struct msgbuf *msgp, int msgsz, int msgflg) argument 68 msqid, msgp, msgsz, msgflg)); 80 struct msgbuf *msgp; local 99 msgp = va_arg(ap, struct msgbuf *); 104 return (msgrcv(msqid, msgp, msgsz, msgtyp, msgflg)); 107 msgp = va_arg(ap, struct msgbuf *); 111 return (msgsnd(msqid, msgp, msgsz, msgflg));
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.c | 62 struct cfga_msg *msgp, 113 struct cfga_msg *msgp, 149 args.msgp = msgp; 165 struct cfga_msg *msgp, 279 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument 281 cfga_msg(msgp, MSG_HELP_HDR, MSG_HELP_USAGE, 0); 57 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 108 cfga_private_func( const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 162 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | msgsys.c | 76 __msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) argument 88 msgp, msgsz, msgtyp, msgflg); 94 msgp, msgsz, msgtyp, msgflg)); 98 __msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) argument 105 msgp, msgsz, msgflg); 110 return (syscall(SYS_msgsys, MSGSND, msqid, msgp, msgsz, msgflg));
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | printf.c | 79 char *msgp, *bufend; local 91 msgp = bufp; 92 msgp += snprintf(msgp, bufend - msgp, "[fake_kernel] "); 93 msgp += snprintf(msgp, bufend - msgp, prefix); 94 msgp += vsnprintf(msgp, bufen [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | cfga.c | 46 struct cfga_msg *msgp, 60 if ((a = apd_alloc(ap_id, flags, errstring, msgp, confp)) == NULL) 105 struct cfga_msg *msgp, 117 if ((a = apd_alloc(ap_id, flags, errstring, msgp, confp)) == NULL) 139 struct cfga_msg *msgp, 159 if ((a = apd_alloc(ap_id, flags, errstring, msgp, NULL)) == NULL) 269 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument 271 return (ap_help(msgp, options, flags)); 41 cfga_change_state( cfga_cmd_t cfga_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 100 cfga_private_func( const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 136 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
|
H A D | ap_msg.c | 446 struct cfga_msg *msgp; local 454 msgp = a->msgp; 456 if (msgp == NULL || msgp->message_routine == NULL) 492 (*msgp->message_routine)(msgp->appdata_ptr, p);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test.h | 51 struct cfga_msg *msgp; member in struct:mtest_handle
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_fp.c | 45 struct cfga_msg *msgp, 162 struct cfga_msg *msgp, 183 struct cfga_msg *msgp, 338 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument 340 cfga_msg(msgp, MSG_HELP_HDR, MSG_HELP_USAGE, 0); 40 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 157 cfga_private_func( const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 180 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
|
/illumos-gate/usr/src/cmd/mkmsgs/ |
H A D | mkmsgs.c | 122 char *msgp; /* pointer to the a message */ local 316 msgp = bufinp + sizeof(int) + num_msgs * sizeof(int); 321 *(bufoutp + i) = (msgp + strlen(msgp) + 1) - bufinp; 322 msgp = msgp + strlen(msgp) + 1;
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_msg.c | 46 "ibmf_i_client_add_msg(): clientp = 0x%p, msgp = 0x%p\n", 126 "ibmf_i_client_rem_msg(): clientp = 0x%p, msgp = 0x%p\n", 266 "ibmf_i_find_msg(): %s, msgp = 0x%p, tid = 0x%p, " 490 "ibmf_i_find_msg(): %s, msgp = 0x%p, ref_cnt = 0x%d\n", 502 "ibmf_i_find_msg() exit, msgp = 0x%p\n", tnf_opaque, msg, msgimplp); 515 ibmf_msg_impl_t *msgp; local 520 "ibmf_i_find_msg_client(): clientp = 0x%p, msgp = 0x%p\n", 525 msgp = clp->ic_msg_list; 526 while (msgp != NULL) { 528 if (msgp [all...] |
H A D | ibmf.c | 840 ibmf_msg_t *msgp, ibmf_retrans_t *retrans, ibmf_msg_cb_t msg_cb, 853 "msgp = 0x%p, retrans = 0x%p\n", 856 tnf_opaque, msgp, msgp, tnf_opaque, retrans, retrans); 858 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*msgp,*msgimplp)) 860 /* check for null ibmf_handle and msgp */ 861 if ((ibmf_handle == NULL) || (msgp == NULL)) { 907 if ((msgp->im_local_addr.ia_p_key != IBMF_P_KEY_DEF_FULL) && 908 (msgp->im_local_addr.ia_p_key != IBMF_P_KEY_DEF_LIMITED)) { 916 if (msgp 839 ibmf_msg_transport(ibmf_handle_t ibmf_handle, ibmf_qp_handle_t ibmf_qp_handle, ibmf_msg_t *msgp, ibmf_retrans_t *retrans, ibmf_msg_cb_t msg_cb, void *msg_cb_args, uint_t flags) argument [all...] |
H A D | ibmf_saa_events.c | 1046 * msgp pointer to ibmf_msg_t 1056 ibmf_saa_report_cb(ibmf_handle_t ibmf_handle, ibmf_msg_t *msgp, argument 1076 _NOTE(ASSUMING_PROTECTED(*msgp)) 1110 req_mad_hdr = msgp->im_msgbufs_recv.im_bufs_mad_hdr; 1113 if ((msgp->im_msg_status != IBMF_SUCCESS) || 1122 tnf_opaque, msg_status, msgp->im_msg_status, 1170 msgp->im_msgbufs_recv.im_bufs_cl_data, 1171 msgp->im_msgbufs_recv.im_bufs_cl_data_len, SA_NOTICE_ATTRID, 1199 msgp->im_msgbufs_send.im_bufs_mad_hdr = resp_mad_hdr; 1200 msgp [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/ |
H A D | opl_dev_led.c | 93 opl_disk_led_control(apid_t *apidp, char **errstring, struct cfga_msg *msgp, argument 101 if ((apidp == NULL) || (msgp == NULL) || (scf_disk == NULL)) { 152 opl_print_locator(apid_t *apidp, struct cfga_msg *msgp, unsigned char led) argument 156 if ((msgp == NULL) || (msgp->message_routine == NULL)) { 160 cfga_msg(msgp, MSG_LED_HDR, 0); 177 cfga_led_msg(msgp, apidp, LED_STR_LOCATOR, mode); 184 opl_print_led(apid_t *apidp, struct cfga_msg *msgp, unsigned char led) argument 188 if ((msgp == NULL) || (msgp 213 opl_setlocator( const char *mode, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument 239 opl_getled( int print_switch, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument 266 opl_setled( const char *mode, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument [all...] |
/illumos-gate/usr/src/lib/librsc/sparc/mpxu/common/ |
H A D | librsc.c | 561 rscp_send(rscp_msg_t *msgp) argument 574 if (msgp == NULL) 581 if (rsc_check_unsupported_cmd(msgp->type) != 0) 588 if (!rsc_cmd_response_guaranteed(msgp->type)) 597 req->msg_type = msgp->type; 598 req->msg_len = msgp->len; 599 req->msg_buf = msgp->data; 602 msgp->type)) != NULL) { 663 rscp_recv(rscp_msg_t *msgp, struct timespec *timeout) argument 673 if (msgp 705 rscp_free_msg(rscp_msg_t *msgp) argument [all...] |
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rdr_param_types.h | 91 struct cfga_msg *msgp; member in struct:__anon367 105 struct cfga_msg *msgp; member in struct:__anon368 115 struct cfga_msg *msgp; member in struct:__anon369 148 struct cfga_msg *msgp; member in struct:__anon372 173 struct cfga_msg *msgp; member in struct:__anon376
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpoptr.c | 316 char *msgp; local 329 msgp = gettext("%3.2f%% done, finished in %d:%02d\n"); 330 msg(msgp, (blkswritten*100.0)/esize,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | chap.c | 833 char msg[256], *msgp; local 835 if ((msgp = cstate->stat_message) != NULL) { 843 msgp = msg; 854 BCOPY(msgp, outp, msglen);
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_agents.c | 47 ibmf_msg_t *msgp, void *args); 50 ibmf_msg_t *msgp, void *args); 56 ibmf_msg_t *msgp, uint_t port); 180 tavor_agent_request_cb(ibmf_handle_t ibmf_handle, ibmf_msg_t *msgp, argument 203 ibmf_status = ibmf_free_msg(ibmf_handle, &msgp); 218 cb_args->ahd_ibmfmsg = msgp; 230 ibmf_status = ibmf_free_msg(ibmf_handle, &msgp); 253 ibmf_msg_t *msgp; local 265 msgp = agent_args->ahd_ibmfmsg; 275 recv_msgbufp = &msgp 382 tavor_agent_response_cb(ibmf_handle_t ibmf_handle, ibmf_msg_t *msgp, void *args) argument 628 tavor_agent_mad_resp_handling(tavor_state_t *state, ibmf_msg_t *msgp, uint_t port) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_timer.c | 319 char *msgp; local 346 msgp = "early abort"; 354 msgp = "early timeout"; 360 msgp = "abort request"; 367 msgp = "abort device"; 373 msgp = "reset target"; 379 msgp = "reset bus"; 396 msgp = "HBA reset"; 416 msgp, gtgtp->gt_target, gtgtp->gt_lun); 420 "timeout: %s, target=%d lun=%d", msgp, [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | printf.c | 81 char *body, *msgp, *bufend; local 111 msgp = bufp; 112 body = msgp += snprintf(msgp, bufend - msgp, 115 msgp += snprintf(msgp, bufend - msgp, prefix); 117 msgp += snprintf(msgp, bufen [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 90 set_ancillary_data(struct msghdr *msgp, int hoplimit, argument 152 * We need to temporarily set the msgp->msg_controllen to bufspace 157 msgp->msg_controllen = bufspace; 166 msgp->msg_control = (struct cmsghdr *)malloc(bufspace); 167 if (msgp->msg_control == NULL) { 173 cmsgp = CMSG_FIRSTHDR(msgp); 188 cmsgp = CMSG_NXTHDR(msgp, cmsgp); 223 cmsgp = CMSG_NXTHDR(msgp, cmsgp); 248 cmsgp = CMSG_NXTHDR(msgp, cmsgp); 251 msgp [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_conf.c | 1074 * msgp - CFGADM message pointer 1083 ib_list_services(struct cfga_msg *msgp, char **errmsg) argument 1108 cfga_msg(msgp, pbuf); 1113 cfga_msg(msgp, pbuf); 1116 cfga_msg(msgp, pbuf); 1122 cfga_msg(msgp, pbuf); 1127 cfga_msg(msgp, pbuf); 1134 cfga_msg(msgp, pbuf); 1139 cfga_msg(msgp, pbuf);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 122 set_ancillary_data(struct msghdr *msgp, int hoplimit, argument 133 msgp->msg_control = NULL; 134 msgp->msg_controllen = 0; 179 * We need to temporarily set the msgp->msg_controllen to bufspace 184 msgp->msg_controllen = bufspace; 186 msgp->msg_control = (struct cmsghdr *)malloc(bufspace); 187 if (msgp->msg_control == NULL) { 191 cmsgp = CMSG_FIRSTHDR(msgp); 205 cmsgp = CMSG_NXTHDR(msgp, cmsgp); 240 cmsgp = CMSG_NXTHDR(msgp, cmsg [all...] |