Searched refs:msgp (Results 1 - 25 of 95) sorted by relevance

1234

/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dboot_recv.c48 void *msgp = (void *)MessagePtr; local
51 (smq_msg_t *)msgp) != 0) {
H A Dcallback.c51 void *msgp = (void *)Message; local
53 if (smq_send(&ADM_bpMsgQueue, (smq_msg_t *)msgp) != 0) {
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dprintf.c82 char *msgp, *bufend; local
94 msgp = bufp;
95 msgp += snprintf(msgp, bufend - msgp, "[fake_kernel] ");
96 msgp += snprintf(msgp, bufend - msgp, prefix);
97 msgp += vsnprintf(msgp, bufen
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/
H A Dopl_dev_led.c93 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/cmd/dcs/sparc/sun4u/
H A Drdr_param_types.h91 struct cfga_msg *msgp; member in struct:__anon390
105 struct cfga_msg *msgp; member in struct:__anon391
115 struct cfga_msg *msgp; member in struct:__anon392
148 struct cfga_msg *msgp; member in struct:__anon395
173 struct cfga_msg *msgp; member in struct:__anon399
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_agents.h103 #define HERMON_IS_SPECIAL_TRAP_MAD(msgp) \
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) \
114 ((((msgp)->im_msgbufs_recv.im_bufs_mad_hdr->R_Method & \
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_agents.h103 #define TAVOR_IS_SPECIAL_TRAP_MAD(msgp) \
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) \
114 ((((msgp)->im_msgbufs_recv.im_bufs_mad_hdr->R_Method & \
/illumos-gate/usr/src/lib/libresolv/
H A Dres_comp.c301 _getshort(msgp)
302 u_char *msgp;
304 register u_char *p = (u_char *) msgp;
319 _getlong(msgp)
320 u_char *msgp;
322 register u_char *p = (u_char *) msgp;
332 putshort(s, msgp)
334 register u_char *msgp;
337 msgp[1] = s;
338 msgp[
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test_subr.c94 if (handle->msgp != NULL && handle->msgp->message_routine != NULL) {
95 (*handle->msgp->message_routine)(handle->msgp->appdata_ptr,
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dmsgsys.c76 __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/uts/common/io/ib/adapters/hermon/
H A Dhermon_agents.c47 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, argument
180 (void) ibmf_free_msg(ibmf_handle, &msgp);
187 cb_args->ahd_ibmfmsg = msgp;
199 (void) ibmf_free_msg(ibmf_handle, &msgp);
321 ibmf_msg_t *msgp; local
335 msgp = agent_args->ahd_ibmfmsg;
345 recv_msgbufp = &msgp
568 hermon_agent_response_cb(ibmf_handle_t ibmf_handle, ibmf_msg_t *msgp, void *args) argument
786 hermon_agent_mad_resp_handling(hermon_state_t *state, ibmf_msg_t *msgp, uint_t port) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_agents.c47 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/lib/cfgadm_plugins/ccid/common/
H A Dcfga_ccid.c59 struct cfga_confirm *confp, struct cfga_msg *msgp, char **errp,
160 struct cfga_confirm *confp, struct cfga_msg *msgp, char **errp,
188 (void) cfga_help(msgp, opts, flags);
192 return (cfga_ccid_modify(&modify, ap, confp, msgp, errp,
198 struct cfga_confirm *confp, struct cfga_msg *msgp, char **errp,
228 return (cfga_ccid_modify(&modify, ap, confp, msgp, errp,
236 cfga_test(const char *ap, const char *opts, struct cfga_msg *msgp, char **errp, argument
239 (void) cfga_help(msgp, opts, flags);
405 cfga_help(struct cfga_msg *msgp, const char *opts, cfga_flags_t flags) argument
407 (void) (*msgp
58 cfga_ccid_modify(uccid_cmd_icc_modify_t *modify, const char *ap, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errp, boolean_t force) argument
159 cfga_change_state(cfga_cmd_t cmd, const char *ap, const char *opts, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errp, cfga_flags_t flags) argument
197 cfga_private_func(const char *function, const char *ap, const char *opts, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errp, cfga_flags_t flags) argument
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dprintf.c82 char *body, *msgp, *bufend; local
112 msgp = bufp;
113 body = msgp += snprintf(msgp, bufend - msgp,
116 msgp += snprintf(msgp, bufend - msgp, prefix);
118 msgp += snprintf(msgp, bufen
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.c62 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/librsc/sparc/mpxu/common/
H A Dlibrsc.c559 rscp_send(rscp_msg_t *msgp) argument
572 if (msgp == NULL)
579 if (rsc_check_unsupported_cmd(msgp->type) != 0)
586 if (!rsc_cmd_response_guaranteed(msgp->type))
595 req->msg_type = msgp->type;
596 req->msg_len = msgp->len;
597 req->msg_buf = msgp->data;
600 msgp->type)) != NULL) {
661 rscp_recv(rscp_msg_t *msgp, struct timespec *timeout) argument
671 if (msgp
703 rscp_free_msg(rscp_msg_t *msgp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdma/
H A Dibdma.c59 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) argument
579 msgp->im_msgbufs_send.im_bufs_mad_hdr =
582 msgp->im_msgbufs_send.im_bufs_cl_hdr = (uchar_t *)
583 msgp->im_msgbufs_send.im_bufs_mad_hdr + sizeof (ib_mad_hdr_t);
584 msgp->im_msgbufs_send.im_bufs_cl_hdr_len = IBDMA_DM_MAD_HDR_SIZE;
585 msgp->im_msgbufs_send.im_bufs_cl_data =
586 ((char *)msgp->im_msgbufs_send.im_bufs_cl_hdr +
588 msgp
613 ibdma_mad_send_cb(ibmf_handle_t ibmf_hdl, ibmf_msg_t *msgp, void *arg) argument
632 ibdma_mad_recv_cb(ibmf_handle_t ibmf_hdl, ibmf_msg_t *msgp, void *args) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa_impl.c38 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; local
1425 ibmf_status = ibmf_saa_impl_init_msg(trans_info, sleep_flag, &msgp,
1477 saa_portp->saa_pt_qp_handle, msgp,
1671 ibmf_saa_impl_init_msg(saa_impl_trans_info_t *trans_info, boolean_t sleep_flag, ibmf_msg_t **msgp, uint32_t *transport_flagsp, ibmf_retrans_t *ibmf_retransp) argument
1982 ibmf_saa_impl_new_smlid_retry(saa_port_t *saa_portp, ibmf_msg_t *msgp, ibmf_msg_cb_t ibmf_callback, void *ibmf_callback_arg, int transport_flags) argument
2127 ibmf_saa_impl_revert_to_qp1(saa_port_t *saa_portp, ibmf_msg_t *msgp, ibmf_msg_cb_t ibmf_callback, void *ibmf_callback_args, int transport_flags) argument
2819 ibmf_saa_async_cb(ibmf_handle_t ibmf_handle, ibmf_msg_t *msgp, void *args) argument
3071 ibmf_saa_check_sa_and_retry(saa_port_t *saa_portp, ibmf_msg_t *msgp, ibmf_msg_cb_t ibmf_callback, void *ibmf_callback_arg, hrtime_t trans_send_time, int transport_flags) argument
3206 ibmf_saa_impl_prepare_response(ibmf_handle_t ibmf_handle, ibmf_msg_t *msgp, boolean_t ignore_data, int *status, void **result, size_t *length, boolean_t sleep_flag) argument
3644 ibmf_saa_impl_free_msg(ibmf_handle_t ibmf_hdl, ibmf_msg_t *msgp) argument
3787 ibmf_saa_impl_update_sa_address_info(saa_port_t *saa_portp, ibmf_msg_t *msgp) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dcfga.c46 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
/illumos-gate/usr/src/uts/sun4u/serengeti/os/
H A Dserengeti.c1050 sbbc_ecc_mbox_t *msgp; local
1119 msgp = (sbbc_ecc_mbox_t *)kmem_zalloc(sizeof (sbbc_ecc_mbox_t),
1121 if (msgp == NULL) {
1127 msgp->ecc_log_error = log_error;
1129 msgp->ecc_req.msg_type.type = INFO_MBOX;
1130 msgp->ecc_req.msg_type.sub_type = msg_subtype;
1131 msgp->ecc_req.msg_status = 0;
1132 msgp->ecc_req.msg_len = (int)msg_size;
1133 msgp->ecc_req.msg_bytes = 0;
1134 msgp
[all...]
/illumos-gate/usr/src/uts/sun4u/lw8/os/
H A Dlw8_platmod.c1063 sbbc_ecc_mbox_t *msgp; local
1132 msgp = (sbbc_ecc_mbox_t *)kmem_zalloc(sizeof (sbbc_ecc_mbox_t),
1134 if (msgp == NULL) {
1140 msgp->ecc_log_error = log_error;
1142 msgp->ecc_req.msg_type.type = INFO_MBOX;
1143 msgp->ecc_req.msg_type.sub_type = msg_subtype;
1144 msgp->ecc_req.msg_status = 0;
1145 msgp->ecc_req.msg_len = (int)msg_size;
1146 msgp->ecc_req.msg_bytes = 0;
1147 msgp
[all...]
/illumos-gate/usr/src/cmd/mkmsgs/
H A Dmkmsgs.c122 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/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c492 cfga_msg(struct cfga_msg *msgp, ...) argument
502 va_start(ap, msgp);
528 (*msgp->message_routine)(msgp->appdata_ptr, p);
753 dlist_update(int board, int disable, char *dlist, struct cfga_msg *msgp, argument
788 cfga_msg(msgp, STR_BD,
792 cfga_msg(msgp, STR_BD,
806 cfga_msg(msgp, STR_BD, DIAG_WILL_DISABLE, 0);
813 cfga_msg(msgp, STR_BD, DIAG_WAS_ENABLED, 0);
874 struct cfga_msg *msgp,
869 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
1058 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
1150 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1442 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c1007 struct cfga_msg *msgp,
1024 (void) cfga_help(msgp, options, flags);
1197 (void) cfga_help(msgp, options, flags);
1202 (void) cfga_help(msgp, options, flags);
1220 struct cfga_msg *msgp,
1236 (void) cfga_help(msgp, options, flags);
1303 (void) cfga_help(msgp, options, flags);
1313 (void) cfga_help(msgp,
1335 (void) cfga_help(msgp,
1351 (void) cfga_help(msgp, option
1002 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
1215 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
1444 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1659 cfga_msg(struct cfga_msg *msgp, const char *str) argument
1688 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
[all...]
/illumos-gate/usr/src/head/
H A Dconfig_admin.h185 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags);
189 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags);
192 const char *options, struct cfga_msg *msgp, char **errstring,
200 struct cfga_msg *msgp, const char *options, cfga_flags_t flags);

Completed in 89 milliseconds

1234