/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | select3.test | 31 CREATE TABLE t1(n int, log int); 35 execsql {SELECT DISTINCT log FROM t1 ORDER BY log} 45 SELECT min(n),min(log),max(n),max(log),sum(n),sum(log),avg(n),avg(log) 50 execsql {SELECT max(n)/avg(n), max(log)/avg(log) FROM t1} 56 execsql {SELECT log, count(*) FROM t1 GROUP BY log ORDER BY log} 59 execsql {SELECT log, min(n) FROM t1 GROUP BY log ORDER BY log} 62 execsql {SELECT log, avg(n) FROM t1 GROUP BY log ORDER BY log} 65 execsql {SELECT log, avg(n)+1 FROM t1 GROUP BY log ORDER BY log} 68 execsql {SELECT log, avg(n)-min(n) FROM t1 GROUP BY log ORDER BY log} 71 execsql {SELECT log*2+1, avg(n)-min(n) FROM t1 GROUP BY log ORDER BY log} [all …]
|
H A D | select4.test | 30 CREATE TABLE t1(n int, log int); 36 execsql {SELECT DISTINCT log FROM t1 ORDER BY log} 42 lsort [execsql {SELECT DISTINCT log FROM t1}] 45 lsort [execsql {SELECT n FROM t1 WHERE log=3}] 49 SELECT DISTINCT log FROM t1 51 SELECT n FROM t1 WHERE log=3 52 ORDER BY log; 58 SELECT DISTINCT log FROM t1 60 SELECT n FROM t1 WHERE log=3 61 ORDER BY log; [all …]
|
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetAssociatedPathOidList.c | 71 log(LOG_INFO, "doDevInfoStuffForIntPort()", " - enter"); in doDevInfoStuffForIntPort() 80 log(LOG_INFO, "doDevInfoStuffForIntPort()", in doDevInfoStuffForIntPort() 100 log(LOG_INFO, in doDevInfoStuffForIntPort() 126 log(LOG_INFO, in doDevInfoStuffForIntPort() 138 log(LOG_INFO, "doDevInfoStuffForIntPort()", in doDevInfoStuffForIntPort() 147 log(LOG_INFO, "doDevInfoStuffForIntPort()", in doDevInfoStuffForIntPort() 161 log(LOG_INFO, in doDevInfoStuffForIntPort() 165 log(LOG_INFO, in doDevInfoStuffForIntPort() 169 log(LOG_INFO, in doDevInfoStuffForIntPort() 177 log(LOG_INFO, in doDevInfoStuffForIntPort() [all …]
|
H A D | MP_GetAssociatedTPGOidList.c | 38 log(LOG_INFO, "MP_GetAssociatedTPGOidList()", " - enter"); in MP_GetAssociatedTPGOidList() 44 log(LOG_INFO, "MP_GetAssociatedTPGOidList()", " - exit"); in MP_GetAssociatedTPGOidList() 64 log(LOG_INFO, "getAssociatedTPGOidList()", " - enter"); in getAssociatedTPGOidList() 67 log(LOG_INFO, "getAssociatedTPGOidList()", in getAssociatedTPGOidList() 72 log(LOG_INFO, "getAssociatedTPGOidList()", in getAssociatedTPGOidList() 74 log(LOG_INFO, "getAssociatedTPGOidList()", " - error exit"); in getAssociatedTPGOidList() 80 log(LOG_INFO, "getAssociatedTPGOidList()", in getAssociatedTPGOidList() 82 log(LOG_INFO, "getAssociatedTPGOidList()", in getAssociatedTPGOidList() 96 log(LOG_INFO, "getAssociatedTPGOidList()", in getAssociatedTPGOidList() 99 log(LOG_INFO, "getAssociatedTPGOidList()", in getAssociatedTPGOidList() [all …]
|
H A D | MP_GetTargetPortOidList.c | 42 log(LOG_INFO, "MP_GetTargetPortOidList()", " - enter"); in MP_GetTargetPortOidList() 48 log(LOG_INFO, "MP_GetTargetPortOidList()", " - exit"); in MP_GetTargetPortOidList() 69 log(LOG_INFO, "getTargetPortOidList()", " - enter"); in getTargetPortOidList() 72 log(LOG_INFO, "getTargetPortOidList()", in getTargetPortOidList() 77 log(LOG_INFO, "getTargetPortOidList()", in getTargetPortOidList() 79 log(LOG_INFO, "getTargetPortOidList()", " - error exit"); in getTargetPortOidList() 85 log(LOG_INFO, "getTargetPortOidList()", in getTargetPortOidList() 87 log(LOG_INFO, "getTargetPortOidList()", in getTargetPortOidList() 101 log(LOG_INFO, "getTargetPortOidList()", in getTargetPortOidList() 104 log(LOG_INFO, "getTargetPortOidList()", in getTargetPortOidList() [all …]
|
H A D | MP_GetProprietaryLBOidListPlugin.c | 48 log(LOG_INFO, "MP_GetProprietaryLoadBalanceOidListPlugin()", in MP_GetProprietaryLoadBalanceOidListPlugin() 53 log(LOG_INFO, "MP_GetProprietaryLoadBalanceOidListPlugin()", in MP_GetProprietaryLoadBalanceOidListPlugin() 55 log(LOG_INFO, "MP_GetProprietaryLoadBalanceOidListPlugin()", in MP_GetProprietaryLoadBalanceOidListPlugin() 62 log(LOG_INFO, "MP_GetProprietaryLoadBalanceOidListPlugin()", in MP_GetProprietaryLoadBalanceOidListPlugin() 64 log(LOG_INFO, "MP_GetProprietaryLoadBalanceOidListPlugin()", in MP_GetProprietaryLoadBalanceOidListPlugin() 76 log(LOG_INFO, "MP_GetProprietaryLoadBalanceOidListPlugin()", in MP_GetProprietaryLoadBalanceOidListPlugin() 78 log(LOG_INFO, "MP_GetProprietaryLoadBalanceOidListPlugin()", in MP_GetProprietaryLoadBalanceOidListPlugin() 80 log(LOG_INFO, "MP_GetProprietaryLoadBalanceOidListPlugin()", in MP_GetProprietaryLoadBalanceOidListPlugin() 82 log(LOG_INFO, "MP_GetProprietaryLoadBalanceOidListPlugin()", in MP_GetProprietaryLoadBalanceOidListPlugin() 87 log(LOG_INFO, "MP_GetInitiatorPortOidListPlugin()", in MP_GetProprietaryLoadBalanceOidListPlugin() [all …]
|
H A D | MP_GetDeviceProductOidListPlugin.c | 51 log(LOG_INFO, "MP_GetDeviceProductOidListPlugin()", " - enter"); in MP_GetDeviceProductOidListPlugin() 54 log(LOG_INFO, "MP_GetDeviceProductOidListPlugin()", in MP_GetDeviceProductOidListPlugin() 62 log(LOG_INFO, "MP_GetDeviceProductOidListPlugin()", in MP_GetDeviceProductOidListPlugin() 64 log(LOG_INFO, "MP_GetDeviceProductOidListPlugin()", in MP_GetDeviceProductOidListPlugin() 77 log(LOG_INFO, "MP_GetDeviceProductOidListPlugin()", in MP_GetDeviceProductOidListPlugin() 80 log(LOG_INFO, "MP_GetDeviceProductOidListPlugin()", in MP_GetDeviceProductOidListPlugin() 83 log(LOG_INFO, "MP_GetDeviceProductOidListPlugin()", in MP_GetDeviceProductOidListPlugin() 86 log(LOG_INFO, "MP_GetDeviceProductOidListPlugin()", in MP_GetDeviceProductOidListPlugin() 91 log(LOG_INFO, "MP_GetDeviceProductOidListPlugin()", in MP_GetDeviceProductOidListPlugin() 101 log(LOG_INFO, "MP_GetDeviceProductOidListPlugin()", in MP_GetDeviceProductOidListPlugin() [all …]
|
H A D | mp_utils.c | 65 log(LOG_INFO, "getStatus4ErrorCode()", "- enter"); in getStatus4ErrorCode() 70 log(LOG_INFO, "getStatus4ErrorCode()", in getStatus4ErrorCode() 73 log(LOG_INFO, "getStatus4ErrorCode()", in getStatus4ErrorCode() 81 log(LOG_INFO, "getStatus4ErrorCode()", in getStatus4ErrorCode() 84 log(LOG_INFO, "getStatus4ErrorCode()", in getStatus4ErrorCode() 92 log(LOG_INFO, "getStatus4ErrorCode()", in getStatus4ErrorCode() 95 log(LOG_INFO, "getStatus4ErrorCode()", in getStatus4ErrorCode() 103 log(LOG_INFO, "getStatus4ErrorCode()", in getStatus4ErrorCode() 106 log(LOG_INFO, "getStatus4ErrorCode()", in getStatus4ErrorCode() 114 log(LOG_INFO, "getStatus4ErrorCode()", in getStatus4ErrorCode() [all …]
|
H A D | MP_GetMPLuOidListFromTPG.c | 73 log(LOG_INFO, "checkTPGList()", " - enter"); in checkTPGList() 83 log(LOG_INFO, "checkTPGList()", in checkTPGList() 97 log(LOG_INFO, "checkTPGList()", in checkTPGList() 108 log(LOG_INFO, "checkTPGList()", in checkTPGList() 118 log(LOG_INFO, "checkTPGList()", " - exit"); in checkTPGList() 168 log(LOG_INFO, "getOidList()", " - enter"); in getOidList() 176 log(LOG_INFO, "getOidList()", "tpOSN = %llx", tpOSN); in getOidList() 188 log(LOG_INFO, "getOidList()", in getOidList() 194 log(LOG_INFO, "getOidList()", " IOCTL call returned: %d", in getOidList() 202 log(LOG_INFO, "getOidList()", in getOidList() [all …]
|
H A D | MP_SetTPGAccess.c | 59 log(LOG_INFO, "MP_SetTPGAccess()", " - enter"); in MP_SetTPGAccess() 64 log(LOG_INFO, "MP_SetTPGAccess()", in MP_SetTPGAccess() 72 log(LOG_INFO, "MP_SetTPGAccess()", in MP_SetTPGAccess() 74 log(LOG_INFO, "MP_SetTPGAccess()", " - error exit"); in MP_SetTPGAccess() 79 log(LOG_INFO, "MP_SetTPGAccess()", in MP_SetTPGAccess() 83 log(LOG_INFO, "MP_SetTPGAccess()", in MP_SetTPGAccess() 87 log(LOG_INFO, "MP_SetTPGAccess()", in MP_SetTPGAccess() 92 log(LOG_INFO, "MP_SetTPGAccess()", in MP_SetTPGAccess() 101 log(LOG_INFO, "MP_SetTPGAccess()", in MP_SetTPGAccess() 105 log(LOG_INFO, "MP_SetTPGAccess()", in MP_SetTPGAccess() [all …]
|
H A D | MP_GetMultipathLusDevProd.c | 57 log(LOG_INFO, "getOidList()", " - enter"); in getOidList() 62 log(LOG_INFO, "getOidList()", " - di_drv_first_node() failed"); in getOidList() 110 log(LOG_INFO, "getOidList()", " - numNodes: %d", numNodes); in getOidList() 111 log(LOG_INFO, "getOidList()", " - exit"); in getOidList() 135 log(LOG_INFO, "MP_GetMultipathLusDevProd()", " - enter"); in MP_GetMultipathLusDevProd() 137 log(LOG_INFO, "MP_GetMultipathLusDevProd()", in MP_GetMultipathLusDevProd() 142 log(LOG_INFO, "MP_GetMultipathLusDevProd()", in MP_GetMultipathLusDevProd() 144 log(LOG_INFO, "MP_GetMultipathLusDevProd", in MP_GetMultipathLusDevProd() 161 log(LOG_INFO, "MP_GetMultipathLusDevProd()", in MP_GetMultipathLusDevProd() 169 log(LOG_INFO, "MP_GetMultipathLusDevProd()", in MP_GetMultipathLusDevProd() [all …]
|
H A D | MP_GetMultipathLusPlugin.c | 47 log(LOG_INFO, "checkAvailalblePath()", in checkAvailablePath() 61 log(LOG_INFO, "checkAvailalblePath()", " - No online path found"); in checkAvailablePath() 79 log(LOG_INFO, "getOidList()", " - enter"); in getOidList() 84 log(LOG_INFO, "getOidList()", in getOidList() 117 log(LOG_INFO, "getOidList()", in getOidList() 119 log(LOG_INFO, "getOidList()", in getOidList() 141 log(LOG_INFO, in getOidList() 148 log(LOG_INFO, "getOidList()", " - exit"); in getOidList() 163 log(LOG_INFO, "MP_GetMultipathLusPlugin()", " - enter"); in MP_GetMultipathLusPlugin() 168 log(LOG_INFO, "MP_GetMultipathLusPlugin()", in MP_GetMultipathLusPlugin() [all …]
|
H A D | MP_GetMPLogicalUnitProperties.c | 50 log(LOG_INFO, "get_devlink()", " - enter"); in get_devlink() 56 log(LOG_INFO, "get_devlink()", " - exit"); in get_devlink() 86 log(LOG_INFO, "getDeviceFileName()", " - enter"); in getDeviceFileName() 88 log(LOG_INFO, "getDeviceFileName()", in getDeviceFileName() 94 log(LOG_INFO, "MP_GetMultipathLusPlugin()", in getDeviceFileName() 103 log(LOG_INFO, "getDeviceFileName()", in getDeviceFileName() 125 log(LOG_INFO, "getDeviceFileName()", in getDeviceFileName() 138 log(LOG_INFO, "getDeviceFileName()", in getDeviceFileName() 150 log(LOG_INFO, "getDeviceFileName()", in getDeviceFileName() 167 log(LOG_INFO, "getDeviceFileName()", in getDeviceFileName() [all …]
|
H A D | MP_GetInitiatorPortOidListPlugin.c | 50 log(LOG_INFO, "getOidList()", " - enter"); in getOidList() 64 log(LOG_INFO, "getOidList()", in getOidList() 68 log(LOG_INFO, "getOidList()", in getOidList() 106 log(LOG_INFO, in getOidList() 112 log(LOG_INFO, "getOidList()", " - exit"); in getOidList() 129 log(LOG_INFO, "MP_GetInitiatorPortOidListPlugin()", " - enter"); in MP_GetInitiatorPortOidListPlugin() 134 log(LOG_INFO, "MP_GetInitiatorPortOidListPlugin()", in MP_GetInitiatorPortOidListPlugin() 147 log(LOG_INFO, "MP_GetInitiatorPortOidListPlugin()", in MP_GetInitiatorPortOidListPlugin() 149 log(LOG_INFO, "MP_GetInitiatorPortOidListPlugin()", in MP_GetInitiatorPortOidListPlugin() 154 log(LOG_INFO, "MP_GetInitiatorPortOidListPlugin()", in MP_GetInitiatorPortOidListPlugin() [all …]
|
H A D | MP_AssignLogicalUnitToTPG.c | 52 log(LOG_INFO, "MP_AssignLogicalUnitToTPG()", " - enter"); in MP_AssignLogicalUnitToTPG() 55 log(LOG_INFO, "MP_AssignLogicalUnitToTPG()", in MP_AssignLogicalUnitToTPG() 59 log(LOG_INFO, "MP_AssignLogicalUnitToTPG()", in MP_AssignLogicalUnitToTPG() 65 log(LOG_INFO, "MP_AssignLogicalUnitToTPG()", in MP_AssignLogicalUnitToTPG() 67 log(LOG_INFO, "MP_AssignLogicalUnitToTPG()", in MP_AssignLogicalUnitToTPG() 83 log(LOG_INFO, "MP_AssignLogicalUnitToTPG()", in MP_AssignLogicalUnitToTPG() 89 log(LOG_INFO, "MP_AssignLogicalUnitToTPG()", in MP_AssignLogicalUnitToTPG() 97 log(LOG_INFO, "MP_AssignLogicalUnitToTPG()", in MP_AssignLogicalUnitToTPG() 100 log(LOG_INFO, "MP_AssignLogicalUnitToTPG()", in MP_AssignLogicalUnitToTPG() 103 log(LOG_INFO, "MP_AssignLogicalUnitToTPG()", in MP_AssignLogicalUnitToTPG() [all …]
|
H A D | MP_DisablePath.c | 49 log(LOG_INFO, "MP_DisablePath()", " - enter"); in MP_DisablePath() 52 log(LOG_INFO, "MP_DisablePath()", in MP_DisablePath() 57 log(LOG_INFO, "MP_DisablePath()", in MP_DisablePath() 59 log(LOG_INFO, "MP_DisablePath()", " - error exit"); in MP_DisablePath() 70 log(LOG_INFO, "MP_DisablePath()", in MP_DisablePath() 76 log(LOG_INFO, "MP_DisablePath()", in MP_DisablePath() 84 log(LOG_INFO, "MP_DisablePath()", in MP_DisablePath() 87 log(LOG_INFO, "MP_DisablePath()", in MP_DisablePath() 90 log(LOG_INFO, "MP_DisablePath()", in MP_DisablePath() 102 log(LOG_INFO, "MP_DisablePath()", in MP_DisablePath() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_msg.c | 44 emlxs_msg_log_t *log = &LOG; in emlxs_msg_log_create() local 49 if (log->entry) { in emlxs_msg_log_create() 51 DRIVER_NAME, hba->ddiinst, (void *)log); in emlxs_msg_log_create() 56 bzero(log, sizeof (emlxs_msg_log_t)); in emlxs_msg_log_create() 59 log->entry = (emlxs_msg_entry_t *)kmem_zalloc(size, KM_SLEEP); in emlxs_msg_log_create() 62 log->size = emlxs_log_size; in emlxs_msg_log_create() 63 log->instance = hba->ddiinst; in emlxs_msg_log_create() 64 log->start_time = emlxs_device.log_timestamp; in emlxs_msg_log_create() 72 mutex_init(&log->lock, NULL, MUTEX_DRIVER, (void *)iblock); in emlxs_msg_log_create() 77 mutex_init(&log->lock, NULL, MUTEX_DRIVER, NULL); in emlxs_msg_log_create() [all …]
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmpmtab.c | 118 log("Entry too long.\n"); in read_pmtab() 139 log("Processing pmtab line #%d", linenum); in read_pmtab() 197 log("wait_read count must be a " in read_pmtab() 213 log("timeout value must be a positive " in read_pmtab() 283 log("can't add more entries to " in read_pmtab() 290 log("Parsing failure for entry: \n%s", line); in read_pmtab() 291 log("----------------------------------------" in read_pmtab() 297 log("Parsing failure in the \"%s\" field,\n%s" in read_pmtab() 299 log("-------------------------------------------"); in read_pmtab() 323 log("Invalid flag -- %c", *p); in get_flags() [all …]
|
H A D | tmttydefs.c | 75 log("can't open \"%s\".\n", TTYDEFS); in read_ttydefs() 102 log("Entry too long."); in read_ttydefs() 146 log("\n%s", dbuf); in read_ttydefs() 147 log("%s", line); in read_ttydefs() 148 log("%s\n", dbuf); in read_ttydefs() 232 log("ttylabel:\t%s", gptr->g_id); in read_ttydefs() 233 log("initial flags:\t%s", gptr->g_iflags); in read_ttydefs() 234 log("final flags:\t%s", gptr->g_fflags); in read_ttydefs() 236 log("autobaud:\tyes"); in read_ttydefs() 238 log("autobaud:\tno"); in read_ttydefs() [all …]
|
H A D | tmutil.c | 60 log("error -- device field is missing"); in check_device() 64 log("error -- must specify full path name for \"%s\".", device); in check_device() 69 log("stat(%s) failed: %s", device, strerror(errno)); in check_device() 73 log("error -- \"%s\" not character special device", in check_device() 78 log("error -- device \"%s\" does not exist", device); in check_device() 97 log("error -- server command is missing"); in check_cmd() 103 log("error -- must specify full path name for \"%s\".", tp); in check_cmd() 108 log("stat(%s) failed.", tp); in check_cmd() 112 log("error -- \"%s\" not executable\n", tp); in check_cmd() 116 log("error -- \"%s\" not a regular file", tp); in check_cmd() [all …]
|
/illumos-gate/usr/src/cmd/ipf/examples/ |
H A D | BASIC_2.FW | 17 block in log quick all with short 24 block in log on ppp0 all head 100 25 block out log on ppp0 all head 150 26 block in log on ed0 from w.x.y.z/24 to any head 200 27 block out log on ed0 all head 250 34 block in log quick from 10.0.0.0/8 to any group 100 35 block in log quick from 192.168.0.0/16 to any group 100 36 block in log quick from 172.16.0.0/12 to any group 100 40 block in log quick from a.b.c.d/24 to any group 100 47 block in log quick from 127.0.0.0/8 to any group 100 [all …]
|
H A D | BASIC_1.FW | 17 block in log quick all with short 24 block in log on ppp0 all head 100 25 block in log proto tcp all flags S/SA head 101 group 100 26 block out log on ppp0 all head 150 27 block in log on ed0 from w.x.y.z/24 to any head 200 28 block in log proto tcp all flags S/SA head 201 group 200 29 block in log proto udp all head 202 group 200 30 block out log on ed0 all head 250 36 block in log quick from 127.0.0.0/8 to any group 100 37 block in log quick from any to 127.0.0.0/8 group 100 [all …]
|
/illumos-gate/usr/src/cmd/streams/log/ |
H A D | strerr.c | 54 static void prlog(FILE *log, struct log_ctl *lp, char *dp, int flag); 56 static FILE *logfile(FILE *log, struct log_ctl *lp); 57 static void prlog(FILE *log, struct log_ctl *lp, char *dp, int flag); 73 logfile(FILE *log, struct log_ctl *lp) in logfile() argument 84 if (((newtime/NSECDAY) != (lasttime/NSECDAY)) || !log) { in logfile() 85 if (log) in logfile() 86 (void) fclose(log); in logfile() 92 return (log); in logfile() 111 FILE *log; in main() local 144 log = NULL; in main() [all …]
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | event.c | 89 log(LOG_DEBUG, ROUTINE, "- phy matching"); in updateMatchingPhy() 152 log(LOG_DEBUG, ROUTINE, in syseventHandler() 159 log(LOG_DEBUG, ROUTINE, in syseventHandler() 169 log(LOG_DEBUG, ROUTINE, in syseventHandler() 183 log(LOG_DEBUG, ROUTINE, in syseventHandler() 190 log(LOG_DEBUG, ROUTINE, in syseventHandler() 206 log(LOG_DEBUG, ROUTINE, in syseventHandler() 213 log(LOG_DEBUG, ROUTINE, in syseventHandler() 219 log(LOG_DEBUG, ROUTINE, in syseventHandler() 222 log(LOG_DEBUG, ROUTINE, in syseventHandler() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | syslog.c | 42 Syslog_state_t log = { LOG_USER, -1, 0, ~0 }; 260 if (log.fd < 0) 264 if (log.attempt >= elementsof(attempt)) 266 p = (Namval_t*)&attempt[log.attempt++]; 267 if (p->value && !(p->value & log.flags)) 271 if ((log.fd = open(s, O_WRONLY|O_APPEND|O_NOCTTY|O_cloexec)) < 0 && (log.fd = sockopen(s)) < 0) 274 fcntl(log.fd, F_SETFD, FD_CLOEXEC); 277 if (!n || write(log.fd, msg, n) > 0) 279 close(log.fd); 280 log.fd = -1; [all …]
|