Searched defs:msgp (Results 1 - 25 of 26) sorted by relevance

12

/osnet-11/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));
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.h51 struct cfga_msg *msgp; member in struct:mtest_handle
H A Dmema.c727 struct cfga_msg *msgp,
763 struct cfga_msg *msgp,
812 struct cfga_msg *msgp,
891 handle.msgp = msgp;
1090 struct cfga_msg *msgp,
1213 ((flags & CFGA_FLAG_VERBOSE) != 0) ? msgp : NULL, errstring,
1430 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
1434 (*msgp->message_routine)(msgp
722 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
758 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
808 mtest_run( int fd, int test_fun, mema_bank_t *abkp, struct cfga_msg *msgp, char **errstring, ulong_t max_errors) argument
1087 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_fp.c48 struct cfga_msg *msgp,
164 struct cfga_msg *msgp,
185 struct cfga_msg *msgp,
339 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
341 cfga_msg(msgp, MSG_HELP_HDR, MSG_HELP_USAGE, 0);
43 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
159 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
182 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
H A Dcfga_utils.c692 cfga_msg(struct cfga_msg *msgp, ...) argument
698 if (msgp == NULL || msgp->message_routine == NULL) {
706 va_start(ap, msgp);
710 (void) (*msgp->message_routine)(msgp->appdata_ptr, p);
H A Dcfga_fp.h194 struct cfga_msg *msgp; member in struct:__anon883
522 void cfga_msg(struct cfga_msg *msgp, ...);
/osnet-11/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
H A Dap_msg.c446 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);
H A Dap.h120 struct cfga_msg *msgp; member in struct:__anon906
H A Dap_sbd.c346 struct cfga_msg *msgp, struct cfga_confirm *confp)
358 a->msgp = msgp;
746 ap_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
752 if (msgp == NULL || msgp->message_routine == NULL)
761 (*msgp->message_routine)(msgp->appdata_ptr, q);
345 apd_alloc(const char *ap_id, cfga_flags_t flags, char **errstring, struct cfga_msg *msgp, struct cfga_confirm *confp) argument
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.c61 struct cfga_msg *msgp,
112 struct cfga_msg *msgp,
153 args.msgp = msgp;
169 struct cfga_msg *msgp,
283 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
285 cfga_msg(msgp, MSG_HELP_HDR, MSG_HELP_USAGE, 0);
56 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
107 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
166 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
H A Dcfga_ctl.c847 cfga_msg(prp->msgp, cmd_msg, apidp->path, 0);
1035 create_lock(int *fdp, struct cfga_msg *msgp, char **errstring) argument
1086 cfga_msg(msgp, MSG_WAIT_LOCK, 0);
1309 ret = create_lock(&fd, pt->msgp, errstring);
H A Dcfga_utils.c594 cfga_msg(struct cfga_msg *msgp, ...) argument
600 if (msgp == NULL || msgp->message_routine == NULL) {
608 va_start(ap, msgp);
612 (void) (*msgp->message_routine)(msgp->appdata_ptr, p);
622 cfga_led_msg(struct cfga_msg *msgp, apid_t *apidp, led_strid_t led, argument
627 if ((msgp == NULL) || (msgp->message_routine == NULL)) {
637 (void) (*msgp
[all...]
H A Dcfga_scsi.h182 struct cfga_msg *msgp; member in struct:__anon926
433 void cfga_msg(struct cfga_msg *msgp, ...);
434 void cfga_led_msg(struct cfga_msg *msgp, apid_t *apidp, led_strid_t,
/osnet-11/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...]
/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_conf.c1074 * 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);
H A Dcfga_ib.c847 * msgp - cfgadm error message for this plugin
861 const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp,
874 (void) cfga_help(msgp, options, flags);
1011 (void) cfga_help(msgp, options, flags);
1017 (void) cfga_help(msgp, options, flags);
1035 * msgp - cfgadm error message for this plugin
1049 struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring,
1131 cfga_msg(msgp, msg);
1152 cfga_msg(msgp, msg);
1335 (void) cfga_help(msgp, option
860 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
1048 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
1529 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
2001 cfga_msg(struct cfga_msg *msgp, const char *str) argument
2044 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/sun4v/common/
H A Dcfga_led_ctl.c64 char **errstring, struct cfga_msg *msgp);
66 char **errstring, struct cfga_msg *msgp);
68 char **errstring, struct cfga_msg *msgp);
69 static void platses_print_led(apid_t *apidp, struct cfga_msg *msgp,
71 static void platses_print_locator(apid_t *apidp, struct cfga_msg *msgp,
74 struct cfga_msg *msgp, int request, ses_objarg *target_disk);
111 platses_disk_led_control(apid_t *apidp, char **errstring, struct cfga_msg *msgp, argument
134 if ((apidp == NULL) || (msgp == NULL) || (target_disk == NULL)) {
428 platses_print_locator(apid_t *apidp, struct cfga_msg *msgp, argument
434 if ((msgp
461 platses_print_led(apid_t *apidp, struct cfga_msg *msgp, ses_objarg target_disk) argument
491 platses_setlocator( const char *mode, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
524 platses_getled( int print_switch, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
550 platses_setled( const char *mode, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c567 struct cfga_msg *msgp,
595 (void) cfga_help(msgp, options, flags);
906 (void) cfga_help(msgp, options, flags);
912 (void) cfga_help(msgp, options, flags);
932 struct cfga_msg *msgp,
947 (void) cfga_help(msgp, options, flags);
1141 struct cfga_msg *msgp,
1740 cfga_msg(struct cfga_msg *msgp, const char *str) argument
1745 if (msgp == NULL || msgp
562 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
927 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
1138 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1769 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c1004 struct cfga_msg *msgp,
1021 (void) cfga_help(msgp, options, flags);
1194 (void) cfga_help(msgp, options, flags);
1199 (void) cfga_help(msgp, options, flags);
1217 struct cfga_msg *msgp,
1233 (void) cfga_help(msgp, options, flags);
1300 (void) cfga_help(msgp, options, flags);
1310 (void) cfga_help(msgp,
1332 (void) cfga_help(msgp,
1348 (void) cfga_help(msgp, option
999 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
1212 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
1441 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1658 cfga_msg(struct cfga_msg *msgp, const char *str) argument
1687 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
[all...]
/osnet-11/usr/src/lib/libc/port/rt/
H A Dmqueue.c309 mq_getmsg(mqhdr_t *mqhp, char *msgp, uint_t *msg_prio) argument
355 (void) memcpy(msgp, (char *)&curbuf[1], curbuf->msg_len);
364 mq_putmsg(mqhdr_t *mqhp, const char *msgp, ssize_t len, uint_t prio) argument
387 (void) memcpy((char *)&curbuf[1], msgp, len);
/osnet-11/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c164 static void cfga_msg(struct cfga_msg *msgp, const char *str);
581 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags)
868 struct cfga_msg *msgp)
884 cfga_msg(msgp, "Ap_Id\t\t\tLed");
992 cfga_msg(msgp, line); /* print the message */
1005 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags)
1112 msgp));
1140 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags)
1710 cfga_msg(struct cfga_msg *msgp, const char *str) argument
1714 if (msgp
579 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
867 prt_led_mode(const char *ap_id, int repeat, char **errstring, struct cfga_msg *msgp) argument
1003 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
1139 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1724 struct cfga_msg *msgp = NULL; local
1736 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c159 static void cfga_msg(struct cfga_msg *msgp, const char *str);
610 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags)
784 struct cfga_msg *msgp)
805 cfga_msg(msgp, "Ap_Id\t\t\tLed");
866 cfga_msg(msgp, line); /* print the message */
877 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags)
978 msgp));
1001 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags)
1544 cfga_msg(struct cfga_msg *msgp, const char *str) argument
1548 if (msgp
608 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
783 prt_led_mode(const char *ap_id, int repeat, char **errstring, struct cfga_msg *msgp) argument
875 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
1000 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1558 struct cfga_msg *msgp = NULL; local
1570 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c494 cfga_msg(struct cfga_msg *msgp, ...) argument
504 va_start(ap, msgp);
530 (*msgp->message_routine)(msgp->appdata_ptr, p);
752 dlist_update(int board, int disable, char *dlist, struct cfga_msg *msgp, argument
787 cfga_msg(msgp, STR_BD,
791 cfga_msg(msgp, STR_BD,
805 cfga_msg(msgp, STR_BD, DIAG_WILL_DISABLE, 0);
812 cfga_msg(msgp, STR_BD, DIAG_WAS_ENABLED, 0);
873 struct cfga_msg *msgp,
868 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
1057 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
1149 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1441 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument
[all...]
/osnet-11/usr/src/lib/libc/port/threads/
H A Dscalls.c791 msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) argument
796 PERFORM(__msgrcv(msqid, msgp, msgsz, msgtyp, msgflg))
800 msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) argument
805 PERFORM(__msgsnd(msqid, msgp, msgsz, msgflg))

Completed in 150 milliseconds

12