Lines Matching defs:DBG

94 #define	DBG(level, args) \
99 #define DBG(level, args) /* nothing */
284 DBG(2, ("open = ap_id%s, fd%d\n", ap_id, fd));
290 DBG(1, ("stat failed: %i\n", errno));
304 DBG(1, ("dead %i\n", errno));
310 DBG(1, ("get_occupants: %s\n", ptr));
316 DBG(1, ("get_occupants: prop_lookup failed: %i\n", errno));
328 DBG(1, ("get_occupants: %i devices found\n", rv));
338 DBG(1, ("%s\n", occupant->id[occupant->i]));
355 DBG(1, ("confirm_rcm\n"));
370 DBG(1, ("fail_rcm\n"));
519 DBG(1, ("check_rcm: failed to get occupants\n"));
524 DBG(1, ("check_rcm: no drivers attaching to occupants\n"));
530 DBG(1, ("check_rcm: blocked by rcm failure\n"));
538 DBG(1, ("check_rcm: blocked by rcm failure 2\n"));
545 DBG(1, ("check_rcm: blocked by %i\n",
599 DBG(1, ("cfga_change_state:(%s)\n", ap_id));
604 DBG(1, ("cfga_change_state: device is busy\n"));
612 DBG(2, ("cfga_change_state: devctl ap getstate failed\n"));
625 DBG(1, ("cfga_change_state: rs is %d\n", state.ap_rstate));
626 DBG(1, ("cfga_change_state: os is %d\n", state.ap_ostate));
646 DBG(1, ("disconnect\n"));
721 DBG(1, ("unconfigure\n"));
764 DBG(1, ("uncofigure rv:(%i)\n", rv));
832 DBG(1, ("get_logical_name: %s\n", ap_id));
835 DBG(1, ("malloc failed\n"));
858 DBG(1, ("%s\n%s\n%s\n", pci, bufptr, bufptr2));
882 DBG(1, ("prt_led_mod function\n"));
887 DBG(2, ("open = ap_id%s, fd%d\n", ap_id, fd));
894 DBG(2, ("fstat = ap_id%s, fd%d\n", ap_id, fd));
907 DBG(1, ("ioctl boardtype\n"));
914 DBG(1, ("ioctl failed slotinfo: %s\n",
928 DBG(1, ("ioctl slotinfo: %s\n", buff));
951 DBG(1, ("%s:%d\n", led_strs[power_led_info.led], power_led_info.state));
966 DBG(1, ("%s:%d\n", led_strs[fault_led_info.led], fault_led_info.state));
981 DBG(1, ("%s:%d\n", led_strs[attn_led_info.led], attn_led_info.state));
993 DBG(1, ("%s:%d\n", led_strs[active_led_info.led],
1015 DBG(1, ("cfgadm_private_func: ap_id:%s\n", ap_id));
1016 DBG(2, (" options: %s\n", (options == NULL)?"null":options));
1017 DBG(2, (" confp: %x\n", confp));
1018 DBG(2, (" cfga_msg: %x\n", cfga_msg));
1019 DBG(2, (" flag: %d\n", flags));
1069 DBG(2, ("buf = %s\n", buf));
1092 DBG(2, ("buf_mode= %s\n", buf));
1110 DBG(1, ("Print mode\n"));
1115 DBG(1, ("default\n"));
1121 DBG(1, ("open failed\n"));
1125 DBG(1, ("open = ap_id=%s, fd=%d\n", ap_id, fd));
1128 DBG(1, ("ioctl failed\n"));
1150 DBG(1, ("cfga_test:(%s)\n", ap_id));
1179 DBG(1, ("slot-bitmask: %x \n", *intp));
1184 DBG(2, ("curr slot-name: %s \n", tmptr));
1191 DBG(2, ("slot-name: %s \n", tmptr));
1224 DBG(2, ("minor number:(%i)\n", slotarg->minor));
1225 DBG(2, ("hot plug slots found so far:(%i)\n", 0));
1279 DBG(1, ("find_physical_slot_names\n"));
1283 DBG(1, ("di_init() failed\n"));
1290 DBG(1, ("di_prom_init() failed\n"));
1311 DBG(1, ("class: %i\n", cardinfo.base_class));
1312 DBG(1, ("subclass: %i\n", cardinfo.sub_class));
1356 DBG(1, ("found_devlink: %s\n", (char *)ap_log_id));
1371 DBG(1, ("check_devlinks: %s\n", ap_id));
1380 DBG(1, ("check_devlinks: invalid ap_id: %s\n", ap_id));
1411 DBG(1, ("fix_ap_name: %s\n", ap_id));
1414 DBG(1, ("malloc failed\n"));
1423 DBG(1, ("fix_ap_name: %s\n", tmp));
1428 DBG(1, ("fix_ap_name: failed to snapshot node\n"));
1435 DBG(1, ("fix_ap_name: %s\n", ap_log_id));
1523 DBG(1, ("cfga_list_ext:(%s)\n", ap_id));
1534 DBG(1, ("malloc failed\n"));
1542 DBG(2, ("cfga_list_ext::(devctl_ap_acquire())\n"));
1550 DBG(2, ("cfga_list_ext::(devctl_ap_getstate())\n"));
1558 DBG(2, ("ap_rstate = CFGA_STAT_EMPTY\n"));
1562 DBG(2, ("ap_rstate = CFGA_STAT_DISCONNECTED\n"));
1566 DBG(2, ("ap_rstate = CFGA_STAT_CONNECTED\n"));
1578 DBG(2, ("ap_ostate = CFGA_STAT_CONFIGURED\n"));
1582 DBG(2, ("ap_ostate = CFGA_STAT_UNCONFIGURED\n"));
1594 DBG(2, ("ap_cond = CFGA_COND_OK\n"));
1598 DBG(2, ("ap_cond = CFGA_COND_FAILING\n"));
1602 DBG(2, ("ap_cond = CFGA_COND_FAILED\n"));
1606 DBG(2, ("ap_cond = CFGA_COND_UNUSABLE\n"));
1610 DBG(2, ("ap_cond = CFGA_COND_UNKNOW\n"));
1628 DBG(2, ("open on %s failed\n", ap_id));
1631 DBG(1, ("open = ap_id=%s, fd=%d\n", ap_id, fd));
1642 DBG(1, ("ioctl boardtype\n"));
1649 DBG(1, ("ioctl failed slotinfo: %s\n",
1659 DBG(1, ("ioctl slotinfo: %s\n", (*cs)->ap_log_id));
1666 DBG(1, ("ioctl failed\n"));
1670 DBG(1, ("ioctl cardinfo: %d\n", cardinfo.base_class));
1671 DBG(1, ("ioctl subclass: %d\n", cardinfo.sub_class));
1672 DBG(1, ("ioctl headertype: %d\n", cardinfo.header_type));
1700 DBG(1, ("cfga_list_ext return success\n"));
1712 DBG(2, ("<%s>", str));
1742 DBG(1, ("cfga_help\n"));
1798 DBG(2, ("<%s>", p));
1799 DBG(2, (cfga_strs[FAILED]));
1829 DBG(2, ("<%s>", p));
1830 DBG(2, ("<%s>", q));
1837 DBG(2, ("<%s>", p));
1846 DBG(2, ("\n"));
1854 DBG(2, ("i:%d, %s\n", i, s[i]));