Home
last modified time | relevance | path

Searched refs:tbuf (Results 76 – 93 of 93) sorted by relevance

1234

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c922 char tbuf[MAXPATHLEN]; in recvf() local
924 if ((i = readlink(target, tbuf, MAXPATHLEN)) >= 0 && in recvf()
925 i == size && strncmp(buf, tbuf, size) == 0) { in recvf()
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm.c959 char tbuf[TBUF_SIZE]; in BnxeLinkStatus() local
1109 snprintf(tbuf, TBUF_SIZE, "%u", pUM->props.link_speed); in BnxeLinkStatus()
1110 pSpeed = tbuf; in BnxeLinkStatus()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c2085 struct utimbuf tbuf; in set_attr() local
2146 tbuf.modtime = st->st_mtime; in set_attr()
2147 tbuf.actime = st->st_atime; in set_attr()
2148 (void) utime(name, &tbuf); in set_attr()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dusage.c189 dissect_time(char *tbuf, net_time_t *nt) in dissect_time() argument
197 if (tbuf == NULL || nt == NULL) in dissect_time()
200 d = strtok(tbuf, ","); /* Date */ in dissect_time()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_fwlog.c1042 char *tbuf = pwp->iqpt->curpos; in pmcs_iqp_trace() local
1045 if (tbuf == NULL) { in pmcs_iqp_trace()
1052 tbuf = pwp->iqpt->curpos = pwp->iqpt->head; in pmcs_iqp_trace()
1060 n += snprintf(&tbuf[n], (size_left - n), in pmcs_iqp_trace()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c3432 command(int top, char *tbuf, int cnt) in command() argument
3446 if (tbuf) { in command()
3451 while (cnt > 0 && (*cp++ = *tbuf++) != '\n') in command()
3453 tbuf = 0; in command()
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c374 } dblock, *tbuf, xhdr_buf; variable
963 if ((tbuf = (union hblock *) in main()
5097 if (read(mt, tbuf, TBLOCK*nblock) < 0) { in seekdisk()
5127 if ((i = read(mt, tbuf, TBLOCK*j)) < 0) { in readtape()
5156 char *b = (char *)tbuf + i; in readtape()
5198 copy(buffer, &tbuf[recno++]); in readtape()
5214 i = write(mt, (char *)tbuf, TBLOCK*nblock); in writetbuf()
5235 (void) memcpy((char *)&tbuf[recno++], buffer, TBLOCK); in writetbuf()
5238 i = (int)write(mt, (char *)tbuf, TBLOCK*nblock); in writetbuf()
5350 if (write(mt, tbuf, in flushtape()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dmagic.c163 char tbuf[2 * PATH_MAX]; /* type string */ \
2412 s = type(mp, file, st, mp->tbuf, &mp->tbuf[sizeof(mp->tbuf)-1]); in magictype()
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c1701 char tbuf[10]; in set_flush_msg() local
1705 (void) strncpy(tbuf, "time", sizeof (tbuf)); in set_flush_msg()
1707 (void) strncpy(tbuf, "times", sizeof (tbuf)); in set_flush_msg()
1711 "last message repeated %d %s", f->f_prevcount, tbuf); in set_flush_msg()
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_db.cc618 char *table, tbuf[MAXPATHLEN + NIS_MAXNAMELEN + 1]; in ldapFindObj() local
627 table = internal_table_name(objName, tbuf); in ldapFindObj()
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1359 char tbuf[30]; in dump_history() local
1390 (void) strftime(tbuf, sizeof (tbuf), "%F.%T", &t); in dump_history()
1392 tbuf[0] = '\0'; in dump_history()
1396 (void) printf("%s %s\n", tbuf, in dump_history()
1407 tbuf, in dump_history()
1414 (void) printf("%s [txg:%ju] %s", tbuf, in dump_history()
1432 (void) printf("%s ioctl %s\n", tbuf, in dump_history()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_util.c2043 static char tbuf[BUFSIZ]; in cctime() local
2051 if ((bp = ctime_r(t, tbuf, BUFSIZ)) == NULL) in cctime()
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c1857 char tbuf[TBUF_SIZE]; /* For strftime() call. */ in printsatime() local
1858 const char *tp = tbuf; in printsatime()
1869 if (strftime(tbuf, TBUF_SIZE, NULL, localtime_r(&t, &res)) == 0) in printsatime()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c4179 char tbuf[1024]; in zfs_receive_one() local
4204 (void) snprintf(tbuf, sizeof (tbuf), in zfs_receive_one()
4208 zfs_setprop_error(hdl, prop, intval, tbuf); in zfs_receive_one()
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c7910 char tbuf[160]; in stmf_trace() local
7915 len = snprintf(tbuf, 158, "%s:%07lu: ", ident ? ident : "", in stmf_trace()
7918 len += vsnprintf(tbuf + len, 158 - len, fmt, args); in stmf_trace()
7924 tbuf[len++] = '\n'; in stmf_trace()
7925 tbuf[len] = '\0'; in stmf_trace()
7928 bcopy(tbuf, &stmf_trace_buf[trace_buf_curndx], len+1); in stmf_trace()
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c7503 char *tbuf; in scsi_hba_bus_configall_spi() local
7542 tbuf = kmem_alloc(((tgt/16) + 1) + 1, KM_SLEEP); in scsi_hba_bus_configall_spi()
7543 (void) sprintf(tbuf, "%x", tgt); in scsi_hba_bus_configall_spi()
7544 ASSERT(strlen(tbuf) == ((tgt/16) + 1)); in scsi_hba_bus_configall_spi()
7545 *taddr++ = tbuf; in scsi_hba_bus_configall_spi()
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c15360 char *nbuf, *tbuf; in lscf_revert() local
15413 tbuf = safe_malloc(max_scf_pg_type_len + 1); in lscf_revert()
15483 if (scf_pg_get_type(pg, tbuf, max_scf_pg_type_len + 1) < in lscf_revert()
15491 r = scf_service_add_pg(cur_svc, nbuf, tbuf, in lscf_revert()
15494 r = scf_instance_add_pg(cur_inst, nbuf, tbuf, in lscf_revert()
15554 free(tbuf); in lscf_revert()
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c11961 char tbuf[(FC_WWN_SIZE << 1) + 1]; in fcp_scsi_get_name() local
12040 (void) sprintf(&tbuf[i << 1], "%02x", *(bytes + i)); in fcp_scsi_get_name()
12044 numChars = snprintf(name, len, "w%s,%x", tbuf, lun_num); in fcp_scsi_get_name()

1234