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

/illumos-gate/usr/src/cmd/listen/
H A Dlssmb.c105 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);
/illumos-gate/usr/src/cmd/pwck/
H A Dpwck.c68 char logbuf[512]; local
191 logbuf[j] = buf[i];
192 logbuf[j] = '\0';
194 if (logbuf[0] == NULL)
196 else if ((stat(logbuf, &obuf)) == -1)
204 logbuf[j] = buf[i];
205 logbuf[j] = '\0';
207 if (strcmp(logbuf, "*") == 0) /* subsystem login */
210 if ((stat(logbuf, &obuf)) == -1)
214 logbuf[
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlog.c141 static char logbuf[LOGBUF_SZ] = ""; variable
190 /* Copy into logbuf. */
192 if (strlen(logbuf) + strlen(buf) + 1 <= sizeof (logbuf))
193 (void) strcat(logbuf, buf);
195 (void) strlcpy(logbuf, buf, sizeof (logbuf));
/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) function
343 if (mdb_lookup_by_name("logbuf", &sym) == -1) {
344 mdb_warn("The 'logbuf' symbol is missing.\n");
351 mdb_warn("failed to read 'logbuf'\n");
363 mdb_warn("'logbuf' is corrupt\n");
377 logbuf },
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dhistory.c178 static int sh_checkaudit(History_t *hp, const char *name, char *logbuf, size_t len) argument
185 if((n = read(fd, logbuf,len-1)) < 0)
187 while(logbuf[n-1]=='\n')
189 logbuf[n] = 0;
190 if(!(cp=strchr(logbuf,';')) && !(cp=strchr(logbuf,' ')))
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c733 char *logbuf; local
750 logbuf = mdb_alloc(linelen * linecnt, UM_SLEEP);
752 if (mdb_readsym(logbuf, linelen * linecnt, "mptsas_dbglog_bufs")
760 mdb_printf("%s\n", &logbuf[idx * linelen]);
764 mdb_free(logbuf, linelen * linecnt);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_export.c1738 char *logptr, logbuf[NFS3_MAXFHSIZE]; local
1815 logptr = logbuf;
1860 bcopy(&fh.fh3_fsid, &logbuf[i], sz);
1863 bcopy(&fh.fh3_len, &logbuf[i], sz);
1866 bcopy(fh.fh3_data, &logbuf[i], sz);
1869 bcopy(&fh.fh3_xlen, &logbuf[i], sz);
1872 bcopy(fh.fh3_xdata, &logbuf[i], sz);

Completed in 72 milliseconds