Home
last modified time | relevance | path

Searched refs:logbuf (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/pwck/
H A Dpwck.c68 char logbuf[512]; in main() local
191 logbuf[j] = buf[i]; in main()
192 logbuf[j] = '\0'; in main()
194 if (logbuf[0] == '\0') 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] = '\0'; in main()
/illumos-gate/usr/src/cmd/listen/
H A Dlssmb.c102 char logbuf[256]; local
114 sprintf(logbuf, "%s: Bad Command Code, 0x%x",
124 sprintf(logbuf, "%s: Incorrect # of Parameter Words, 0x%x",
153 sprintf(logbuf, "%s: Bad Data Format, twos=%d, nulls=%d",
191 sprintf(logbuf, "%s: Can't malloc arg space, %d bytes",
212 sprintf(logbuf,
247 logmessage(logbuf);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlog.c142 static char logbuf[LOGBUF_SZ] = ""; variable
193 if (strlen(logbuf) + strlen(buf) + 1 <= sizeof (logbuf)) in vlog_prefix()
194 (void) strcat(logbuf, buf); in vlog_prefix()
196 (void) strlcpy(logbuf, buf, sizeof (logbuf)); in vlog_prefix()
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c774 char *logbuf; in dump_debug_log() local
791 logbuf = mdb_alloc(linelen * linecnt, UM_SLEEP); in dump_debug_log()
793 if (mdb_readsym(logbuf, linelen * linecnt, "mptsas_dbglog_bufs") in dump_debug_log()
801 mdb_printf("%s\n", &logbuf[idx * linelen]); in dump_debug_log()
805 mdb_free(logbuf, linelen * linecnt); in dump_debug_log()
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.startd/
H A Dstartd.c337 logbuf(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in logbuf() function
377 logbuf },
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c178 static int sh_checkaudit(History_t *hp, const char *name, char *logbuf, size_t len) in sh_checkaudit() argument
184 if((n = read(fd, logbuf,len-1)) < 0) in sh_checkaudit()
186 while(logbuf[n-1]=='\n') in sh_checkaudit()
188 logbuf[n] = 0; in sh_checkaudit()
189 if(!(cp=strchr(logbuf,';')) && !(cp=strchr(logbuf,' '))) in sh_checkaudit()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_export.c1993 char *logptr, logbuf[NFS3_MAXFHSIZE]; in nfs_getfh() local
2071 logptr = logbuf; in nfs_getfh()
2116 bcopy(&fh.fh3_fsid, &logbuf[i], sz); in nfs_getfh()
2119 bcopy(&fh.fh3_len, &logbuf[i], sz); in nfs_getfh()
2122 bcopy(fh.fh3_data, &logbuf[i], sz); in nfs_getfh()
2125 bcopy(&fh.fh3_xlen, &logbuf[i], sz); in nfs_getfh()
2128 bcopy(fh.fh3_xdata, &logbuf[i], sz); in nfs_getfh()