Searched refs:logbuf (Results 1 – 7 of 7) sorted by relevance
/titanic_50/usr/src/cmd/pwck/ |
H A D | pwck.c | 68 char logbuf[512]; in main() local 191 logbuf[j] = buf[i]; in main() 192 logbuf[j] = '\0'; in main() 194 if (logbuf[0] == NULL) in main() 196 else if ((stat(logbuf, &obuf)) == -1) in main() 204 logbuf[j] = buf[i]; in main() 205 logbuf[j] = '\0'; in main() 207 if (strcmp(logbuf, "*") == 0) /* subsystem login */ in main() 210 if ((stat(logbuf, &obuf)) == -1) in main() 214 logbuf[j] = NULL; in main()
|
/titanic_50/usr/src/cmd/listen/ |
H A D | lssmb.c | 105 char logbuf[256]; local 117 sprintf(logbuf, "%s: Bad Command Code, 0x%x", 127 sprintf(logbuf, "%s: Incorrect # of Parameter Words, 0x%x", 156 sprintf(logbuf, "%s: Bad Data Format, twos=%d, nulls=%d", 194 sprintf(logbuf, "%s: Can't malloc arg space, %d bytes", 215 sprintf(logbuf, 250 logmessage(logbuf);
|
/titanic_50/usr/src/cmd/svc/startd/ |
H A D | log.c | 141 static char logbuf[LOGBUF_SZ] = ""; variable 192 if (strlen(logbuf) + strlen(buf) + 1 <= sizeof (logbuf)) in vlog_prefix() 193 (void) strcat(logbuf, buf); in vlog_prefix() 195 (void) strlcpy(logbuf, buf, sizeof (logbuf)); in vlog_prefix()
|
/titanic_50/usr/src/cmd/mdb/common/modules/svc.startd/ |
H A D | startd.c | 337 logbuf(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in logbuf() function 377 logbuf },
|
/titanic_50/usr/src/cmd/mdb/common/modules/mpt_sas/ |
H A D | mpt_sas.c | 773 char *logbuf; in dump_debug_log() local 790 logbuf = mdb_alloc(linelen * linecnt, UM_SLEEP); in dump_debug_log() 792 if (mdb_readsym(logbuf, linelen * linecnt, "mptsas_dbglog_bufs") in dump_debug_log() 800 mdb_printf("%s\n", &logbuf[idx * linelen]); in dump_debug_log() 804 mdb_free(logbuf, linelen * linecnt); in dump_debug_log()
|
/titanic_50/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 178 static int sh_checkaudit(History_t *hp, const char *name, char *logbuf, size_t len) in sh_checkaudit() argument 185 if((n = read(fd, logbuf,len-1)) < 0) in sh_checkaudit() 187 while(logbuf[n-1]=='\n') in sh_checkaudit() 189 logbuf[n] = 0; in sh_checkaudit() 190 if(!(cp=strchr(logbuf,';')) && !(cp=strchr(logbuf,' '))) in sh_checkaudit()
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs_export.c | 1740 char *logptr, logbuf[NFS3_MAXFHSIZE]; in nfs_getfh() local 1817 logptr = logbuf; in nfs_getfh() 1862 bcopy(&fh.fh3_fsid, &logbuf[i], sz); in nfs_getfh() 1865 bcopy(&fh.fh3_len, &logbuf[i], sz); in nfs_getfh() 1868 bcopy(fh.fh3_data, &logbuf[i], sz); in nfs_getfh() 1871 bcopy(&fh.fh3_xlen, &logbuf[i], sz); in nfs_getfh() 1874 bcopy(fh.fh3_xdata, &logbuf[i], sz); in nfs_getfh()
|