/titanic_44/usr/src/lib/libfakekernel/common/ |
H A D | printf.c | 79 char *msgp, *bufend; in fakekernel_cprintf() local 91 msgp = bufp; in fakekernel_cprintf() 92 msgp += snprintf(msgp, bufend - msgp, "[fake_kernel] "); in fakekernel_cprintf() 93 msgp += snprintf(msgp, bufend - msgp, prefix); in fakekernel_cprintf() 94 msgp += vsnprintf(msgp, bufend - msgp, fmt, adx); in fakekernel_cprintf() 95 msgp += snprintf(msgp, bufend - msgp, suffix); in fakekernel_cprintf() 96 len = msgp - bufp; in fakekernel_cprintf()
|
/titanic_44/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, in opl_disk_led_control() argument 101 if ((apidp == NULL) || (msgp == NULL) || (scf_disk == NULL)) { in opl_disk_led_control() 152 opl_print_locator(apid_t *apidp, struct cfga_msg *msgp, unsigned char led) in opl_print_locator() argument 156 if ((msgp == NULL) || (msgp->message_routine == NULL)) { in opl_print_locator() 160 cfga_msg(msgp, MSG_LED_HDR, 0); in opl_print_locator() 177 cfga_led_msg(msgp, apidp, LED_STR_LOCATOR, mode); in opl_print_locator() 184 opl_print_led(apid_t *apidp, struct cfga_msg *msgp, unsigned char led) in opl_print_led() argument 188 if ((msgp == NULL) || (msgp->message_routine == NULL)) { in opl_print_led() 192 cfga_msg(msgp, MSG_LED_HDR, 0); in opl_print_led() 209 cfga_led_msg(msgp, apidp, LED_STR_FAULT, mode); in opl_print_led() [all …]
|
/titanic_44/usr/src/lib/libresolv/ |
H A D | res_comp.c | 301 _getshort(msgp) in _getshort() argument 302 u_char *msgp; in _getshort() 304 register u_char *p = (u_char *) msgp; 319 _getlong(msgp) in _getlong() argument 320 u_char *msgp; in _getlong() 322 register u_char *p = (u_char *) msgp; 332 putshort(s, msgp) in putshort() argument 334 register u_char *msgp; 337 msgp[1] = s; 338 msgp[0] = s >> 8; [all …]
|
/titanic_44/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, in tavor_agent_request_cb() argument 203 ibmf_status = ibmf_free_msg(ibmf_handle, &msgp); in tavor_agent_request_cb() 218 cb_args->ahd_ibmfmsg = msgp; in tavor_agent_request_cb() 230 ibmf_status = ibmf_free_msg(ibmf_handle, &msgp); in tavor_agent_request_cb() 253 ibmf_msg_t *msgp; in tavor_agent_handle_req() local 265 msgp = agent_args->ahd_ibmfmsg; in tavor_agent_handle_req() 275 recv_msgbufp = &msgp->im_msgbufs_recv; in tavor_agent_handle_req() [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | printf.c | 81 char *body, *msgp, *bufend; in cprintf() local 111 msgp = bufp; in cprintf() 112 body = msgp += snprintf(msgp, bufend - msgp, in cprintf() 115 msgp += snprintf(msgp, bufend - msgp, prefix); in cprintf() 117 msgp += snprintf(msgp, bufend - msgp, "%s%d: ", in cprintf() 119 msgp += vsnprintf(msgp, bufend - msgp, fmt, adx); in cprintf() 120 msgp += snprintf(msgp, bufend - msgp, suffix); in cprintf() 129 if (msgp - bufp >= bufsize && !on_intr) { in cprintf() 131 bufsize = msgp - bufp + 1; in cprintf() 140 MIN(bufsize, msgp - bufp + 1), on_intr); in cprintf()
|
/titanic_44/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) in msgrcv() argument 61 msqid, msgp, msgsz, msgtyp, msgflg)); in msgrcv() 65 msgsnd(int msqid, struct msgbuf *msgp, int msgsz, int msgflg) in msgsnd() argument 68 msqid, msgp, msgsz, msgflg)); in msgsnd() 80 struct msgbuf *msgp; in msgsys() local 99 msgp = va_arg(ap, struct msgbuf *); in msgsys() 104 return (msgrcv(msqid, msgp, msgsz, msgtyp, msgflg)); in msgsys() 107 msgp = va_arg(ap, struct msgbuf *); in msgsys() 111 return (msgsnd(msqid, msgp, msgsz, msgflg)); in msgsys()
|
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_agents.c | 47 ibmf_msg_t *msgp, void *args); 50 ibmf_msg_t *msgp, void *args); 56 ibmf_msg_t *msgp, uint_t port); 160 hermon_agent_request_cb(ibmf_handle_t ibmf_handle, ibmf_msg_t *msgp, in hermon_agent_request_cb() argument 180 (void) ibmf_free_msg(ibmf_handle, &msgp); in hermon_agent_request_cb() 187 cb_args->ahd_ibmfmsg = msgp; in hermon_agent_request_cb() 199 (void) ibmf_free_msg(ibmf_handle, &msgp); in hermon_agent_request_cb() 321 ibmf_msg_t *msgp; in hermon_agent_handle_req() local 335 msgp = agent_args->ahd_ibmfmsg; in hermon_agent_handle_req() 345 recv_msgbufp = &msgp->im_msgbufs_recv; in hermon_agent_handle_req() [all …]
|
/titanic_44/usr/src/lib/librsc/sparc/mpxu/common/ |
H A D | librsc.c | 561 rscp_send(rscp_msg_t *msgp) in rscp_send() argument 574 if (msgp == NULL) in rscp_send() 581 if (rsc_check_unsupported_cmd(msgp->type) != 0) in rscp_send() 588 if (!rsc_cmd_response_guaranteed(msgp->type)) in rscp_send() 597 req->msg_type = msgp->type; in rscp_send() 598 req->msg_len = msgp->len; in rscp_send() 599 req->msg_buf = msgp->data; in rscp_send() 602 msgp->type)) != NULL) { in rscp_send() 663 rscp_recv(rscp_msg_t *msgp, struct timespec *timeout) in rscp_recv() argument 673 if (msgp == NULL) in rscp_recv() [all …]
|
/titanic_44/usr/src/uts/sun4u/lw8/os/ |
H A D | lw8_platmod.c | 1063 sbbc_ecc_mbox_t *msgp; in plat_send_ecc_mailbox_msg() local 1132 msgp = (sbbc_ecc_mbox_t *)kmem_zalloc(sizeof (sbbc_ecc_mbox_t), in plat_send_ecc_mailbox_msg() 1134 if (msgp == NULL) { in plat_send_ecc_mailbox_msg() 1140 msgp->ecc_log_error = log_error; in plat_send_ecc_mailbox_msg() 1142 msgp->ecc_req.msg_type.type = INFO_MBOX; in plat_send_ecc_mailbox_msg() 1143 msgp->ecc_req.msg_type.sub_type = msg_subtype; in plat_send_ecc_mailbox_msg() 1144 msgp->ecc_req.msg_status = 0; in plat_send_ecc_mailbox_msg() 1145 msgp->ecc_req.msg_len = (int)msg_size; in plat_send_ecc_mailbox_msg() 1146 msgp->ecc_req.msg_bytes = 0; in plat_send_ecc_mailbox_msg() 1147 msgp->ecc_req.msg_buf = (caddr_t)kmem_zalloc(msg_size, sleep_flag); in plat_send_ecc_mailbox_msg() [all …]
|
/titanic_44/usr/src/uts/sun4u/serengeti/os/ |
H A D | serengeti.c | 1050 sbbc_ecc_mbox_t *msgp; in plat_send_ecc_mailbox_msg() local 1119 msgp = (sbbc_ecc_mbox_t *)kmem_zalloc(sizeof (sbbc_ecc_mbox_t), in plat_send_ecc_mailbox_msg() 1121 if (msgp == NULL) { in plat_send_ecc_mailbox_msg() 1127 msgp->ecc_log_error = log_error; in plat_send_ecc_mailbox_msg() 1129 msgp->ecc_req.msg_type.type = INFO_MBOX; in plat_send_ecc_mailbox_msg() 1130 msgp->ecc_req.msg_type.sub_type = msg_subtype; in plat_send_ecc_mailbox_msg() 1131 msgp->ecc_req.msg_status = 0; in plat_send_ecc_mailbox_msg() 1132 msgp->ecc_req.msg_len = (int)msg_size; in plat_send_ecc_mailbox_msg() 1133 msgp->ecc_req.msg_bytes = 0; in plat_send_ecc_mailbox_msg() 1134 msgp->ecc_req.msg_buf = (caddr_t)kmem_zalloc(msg_size, sleep_flag); in plat_send_ecc_mailbox_msg() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibdma/ |
H A D | ibdma.c | 59 ibmf_msg_t *msgp, void *args); 60 static void ibdma_create_resp_mad(ibmf_msg_t *msgp); 574 ibdma_create_resp_mad(ibmf_msg_t *msgp) in ibdma_create_resp_mad() argument 579 msgp->im_msgbufs_send.im_bufs_mad_hdr = in ibdma_create_resp_mad() 582 msgp->im_msgbufs_send.im_bufs_cl_hdr = (uchar_t *) in ibdma_create_resp_mad() 583 msgp->im_msgbufs_send.im_bufs_mad_hdr + sizeof (ib_mad_hdr_t); in ibdma_create_resp_mad() 584 msgp->im_msgbufs_send.im_bufs_cl_hdr_len = IBDMA_DM_MAD_HDR_SIZE; in ibdma_create_resp_mad() 585 msgp->im_msgbufs_send.im_bufs_cl_data = in ibdma_create_resp_mad() 586 ((char *)msgp->im_msgbufs_send.im_bufs_cl_hdr + in ibdma_create_resp_mad() 588 msgp->im_msgbufs_send.im_bufs_cl_data_len = in ibdma_create_resp_mad() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_saa_impl.c | 38 ibmf_saa_impl_new_smlid_retry(saa_port_t *saa_portp, ibmf_msg_t *msgp, 41 ibmf_saa_impl_revert_to_qp1(saa_port_t *saa_portp, ibmf_msg_t *msgp, 44 ibmf_saa_check_sa_and_retry(saa_port_t *saa_portp, ibmf_msg_t *msgp, 48 boolean_t sleep_flag, ibmf_msg_t **msgp, uint32_t *transport_flagsp, 64 ibmf_msg_t *msgp, boolean_t ignore_data, int *status, void **result, 68 static void ibmf_saa_impl_free_msg(ibmf_handle_t ibmf_hdl, ibmf_msg_t *msgp); 74 ibmf_msg_t *msgp); 1350 ibmf_msg_t *msgp; in ibmf_saa_impl_send_request() local 1425 ibmf_status = ibmf_saa_impl_init_msg(trans_info, sleep_flag, &msgp, in ibmf_saa_impl_send_request() 1477 saa_portp->saa_pt_qp_handle, msgp, &ibmf_retrans, in ibmf_saa_impl_send_request() [all …]
|
/titanic_44/usr/src/lib/libc/port/sys/ |
H A D | msgsys.c | 76 __msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) in __msgrcv() argument 88 msgp, msgsz, msgtyp, msgflg); in __msgrcv() 94 msgp, msgsz, msgtyp, msgflg)); in __msgrcv() 98 __msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) in __msgsnd() argument 105 msgp, msgsz, msgflg); in __msgsnd() 110 return (syscall(SYS_msgsys, MSGSND, msqid, msgp, msgsz, msgflg)); in __msgsnd()
|
/titanic_44/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_agents.h | 103 #define HERMON_IS_SPECIAL_TRAP_MAD(msgp) \ argument 104 ((((msgp)->im_msgbufs_recv.im_bufs_mad_hdr->R_Method & \ 106 ((msgp)->im_local_addr.ia_remote_lid == 0)) 113 #define HERMON_IS_TRAP_REPRESS_MAD(msgp) \ argument 114 ((((msgp)->im_msgbufs_recv.im_bufs_mad_hdr->R_Method & \
|
/titanic_44/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_agents.h | 103 #define TAVOR_IS_SPECIAL_TRAP_MAD(msgp) \ argument 104 ((((msgp)->im_msgbufs_recv.im_bufs_mad_hdr->R_Method & \ 106 ((msgp)->im_local_addr.ia_remote_lid == 0)) 113 #define TAVOR_IS_TRAP_REPRESS_MAD(msgp) \ argument 114 ((((msgp)->im_msgbufs_recv.im_bufs_mad_hdr->R_Method & \
|
/titanic_44/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rdr_param_types.h | 91 struct cfga_msg *msgp; member 105 struct cfga_msg *msgp; member 115 struct cfga_msg *msgp; member 148 struct cfga_msg *msgp; member 173 struct cfga_msg *msgp; member
|
/titanic_44/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | cfga.c | 46 struct cfga_msg *msgp, in cfga_change_state() argument 60 if ((a = apd_alloc(ap_id, flags, errstring, msgp, confp)) == NULL) in cfga_change_state() 105 struct cfga_msg *msgp, in cfga_private_func() argument 117 if ((a = apd_alloc(ap_id, flags, errstring, msgp, confp)) == NULL) in cfga_private_func() 139 struct cfga_msg *msgp, in cfga_test() argument 159 if ((a = apd_alloc(ap_id, flags, errstring, msgp, NULL)) == NULL) in cfga_test() 269 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) in cfga_help() argument 271 return (ap_help(msgp, options, flags)); in cfga_help()
|
/titanic_44/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.c | 62 struct cfga_msg *msgp, in cfga_change_state() argument 113 struct cfga_msg *msgp, in cfga_private_func() argument 149 args.msgp = msgp; in cfga_private_func() 165 struct cfga_msg *msgp, in cfga_test() argument 279 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) in cfga_help() argument 281 cfga_msg(msgp, MSG_HELP_HDR, MSG_HELP_USAGE, 0); in cfga_help()
|
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibcm/ |
H A D | ibcm_impl.h | 1218 #define IBCM_OUT_MADP(msgp) (msgp->im_msgbufs_send.im_bufs_mad_hdr) argument 1219 #define IBCM_OUT_HDRP(msgp) ((ib_mad_hdr_t *)IBCM_OUT_MADP(msgp)) argument 1220 #define IBCM_OUT_MSGP(msgp) (msgp->im_msgbufs_send.im_bufs_cl_data) argument 1222 #define IBCM_IN_MADP(msgp) (msgp->im_msgbufs_recv.im_bufs_mad_hdr) argument 1223 #define IBCM_IN_HDRP(msgp) ((ib_mad_hdr_t *)IBCM_IN_MADP(msgp)) argument 1224 #define IBCM_IN_MSGP(msgp) (msgp->im_msgbufs_recv.im_bufs_cl_data) argument 1226 #define IBCM_REJ_PRIV(msgp) &(((ibcm_rej_msg_t *) \ argument 1508 void ibcm_recv_cb(ibmf_handle_t ibmf_handle, ibmf_msg_t *msgp, void *args); 1706 void ibcm_post_rc_mad(ibcm_state_data_t *statep, ibmf_msg_t *msgp, 1710 void ibcm_post_ud_mad(ibcm_ud_state_data_t *ud_statep, ibmf_msg_t *msgp, [all …]
|
/titanic_44/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 163 static void cfga_msg(struct cfga_msg *msgp, const char *str); 618 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) in cfga_change_state() argument 788 struct cfga_msg *msgp) in prt_led_mode() argument 810 cfga_msg(msgp, "Ap_Id\t\t\tLed"); in prt_led_mode() 871 cfga_msg(msgp, line); /* print the message */ in prt_led_mode() 882 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) in cfga_private_func() argument 983 msgp)); in cfga_private_func() 1006 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) in cfga_test() argument 1551 cfga_msg(struct cfga_msg *msgp, const char *str) in cfga_msg() argument 1555 if (msgp == NULL || msgp->message_routine == NULL) in cfga_msg() [all …]
|
/titanic_44/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 494 cfga_msg(struct cfga_msg *msgp, ...) in cfga_msg() argument 504 va_start(ap, msgp); in cfga_msg() 530 (*msgp->message_routine)(msgp->appdata_ptr, p); in cfga_msg() 752 dlist_update(int board, int disable, char *dlist, struct cfga_msg *msgp, in dlist_update() argument 787 cfga_msg(msgp, STR_BD, in dlist_update() 791 cfga_msg(msgp, STR_BD, in dlist_update() 805 cfga_msg(msgp, STR_BD, DIAG_WILL_DISABLE, 0); in dlist_update() 812 cfga_msg(msgp, STR_BD, DIAG_WAS_ENABLED, 0); in dlist_update() 873 struct cfga_msg *msgp, in cfga_change_state() argument 952 dlist, msgp, verbose))) { in cfga_change_state() [all …]
|
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/ |
H A D | cfsd_main.c | 78 void msgout(char *msgp); 108 char *msgp; in main() local 174 msgp = dbug_push(optarg); in main() 175 if (msgp) { in main() 176 printf("dbug_push failed \"%s\"\n", msgp); in main() 393 msgout(char *msgp) in msgout() argument 396 dbug_precond(msgp); in msgout() 398 (void) fprintf(stderr, "%s\n", msgp); in msgout()
|
/titanic_44/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test_subr.c | 94 if (handle->msgp != NULL && handle->msgp->message_routine != NULL) { in mtest_message() 95 (*handle->msgp->message_routine)(handle->msgp->appdata_ptr, in mtest_message()
|
/titanic_44/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 861 const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, in cfga_change_state() argument 874 (void) cfga_help(msgp, options, flags); in cfga_change_state() 1011 (void) cfga_help(msgp, options, flags); in cfga_change_state() 1017 (void) cfga_help(msgp, options, flags); in cfga_change_state() 1049 struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, in cfga_private_func() argument 1131 cfga_msg(msgp, msg); in cfga_private_func() 1152 cfga_msg(msgp, msg); in cfga_private_func() 1335 (void) cfga_help(msgp, options, flags); in cfga_private_func() 1345 (void) cfga_help(msgp, options, flags); in cfga_private_func() 1365 (void) cfga_help(msgp, options, flags); in cfga_private_func() [all …]
|
/titanic_44/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_usb.c | 1006 struct cfga_msg *msgp, in cfga_change_state() argument 1023 (void) cfga_help(msgp, options, flags); in cfga_change_state() 1196 (void) cfga_help(msgp, options, flags); in cfga_change_state() 1201 (void) cfga_help(msgp, options, flags); in cfga_change_state() 1219 struct cfga_msg *msgp, in cfga_private_func() argument 1235 (void) cfga_help(msgp, options, flags); in cfga_private_func() 1302 (void) cfga_help(msgp, options, flags); in cfga_private_func() 1312 (void) cfga_help(msgp, in cfga_private_func() 1334 (void) cfga_help(msgp, in cfga_private_func() 1350 (void) cfga_help(msgp, options, flags); in cfga_private_func() [all …]
|