Searched defs:tbuf (Results 1 - 25 of 93) sorted by last modified time

1234

/illumos-gate/usr/src/lib/efcode/engine/
H A Denv.c531 char tbuf[CMN_MSG_SIZE]; local
556 (void) strncpy(tbuf, fmt, bytes);
557 (void) strncpy(tbuf+bytes, "%", 1);
558 (void) strncpy(tbuf+bytes+1, fmt+bytes, 1);
560 tbuf[bytes] = 0;
564 tbuf+bytes-3);
566 (void) strncpy(fmtbuf, tbuf, bsize);
572 (void) strncpy(tbuf, fmt, bytes);
573 tbuf[bytes] = 0;
578 (void) strncpy(tbuf, fm
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1360 char tbuf[30]; local
1411 (void) strftime(tbuf, sizeof (tbuf), "%F.%T", &t);
1412 (void) printf("%s %s\n", tbuf, cmd);
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_die_deliv.c2690 char tbuf[50]; local
2693 tbuf[0] = 0;
2696 if ((std_sec_name_len + 5) < sizeof(tbuf)) {
2697 strcpy(tbuf,std_section_name);
2698 strcpy(tbuf+std_sec_name_len,".dwo");
2710 !strcmp(std,tbuf)) {
/illumos-gate/usr/src/cmd/bhyve/
H A Dnet_backends.c210 char tbuf[80]; local
221 strcpy(tbuf, "/dev/");
222 strlcat(tbuf, devname, sizeof(tbuf));
224 be->fd = open(tbuf, O_RDWR);
226 WPRINTF(("open of tap device %s failed", tbuf));
H A Dpci_e82545.c2241 char tbuf[80]; local
2251 strcpy(tbuf, "/dev/");
2252 strlcat(tbuf, opts, sizeof(tbuf));
2254 sc->esc_tapfd = open(tbuf, O_RDWR);
H A Dpci_virtio_net.c802 char tbuf[80]; local
812 strcpy(tbuf, "/dev/");
813 strlcat(tbuf, devname, sizeof(tbuf));
818 sc->vsc_tapfd = open(tbuf, O_RDWR);
820 WPRINTF(("open of tap device %s failed\n", tbuf));
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c15344 char *nbuf, *tbuf; local
15397 tbuf = safe_malloc(max_scf_pg_type_len + 1);
15467 if (scf_pg_get_type(pg, tbuf, max_scf_pg_type_len + 1) <
15475 r = scf_service_add_pg(cur_svc, nbuf, tbuf,
15478 r = scf_instance_add_pg(cur_inst, nbuf, tbuf,
15538 free(tbuf);
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c2085 struct utimbuf tbuf; local
2146 tbuf.modtime = st->st_mtime;
2147 tbuf.actime = st->st_atime;
2148 (void) utime(name, &tbuf);
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c1736 char tbuf[256]; local
1748 (void) strftime(tbuf, sizeof (tbuf), "%c", &zaction_ts);
1753 gettext("suspended, started at"), tbuf);
1757 gettext("started at"), tbuf);
1761 gettext("completed at"), tbuf);
1787 char tbuf[256]; local
1798 (void) strftime(tbuf, sizeof (tbuf), "%c", &zaction_ts);
1803 gettext("suspended, started at"), tbuf);
7983 char tbuf[30] = ""; local
[all...]
/illumos-gate/usr/src/uts/common/xen/dtrace/
H A Dxdt.c51 * +---------+- tbuf.va + (tbuf.size * n)
57 * +---------+- tbuf.va + tbuf.size
61 * +---------+- tbuf.va
136 #define XDT_TBUF_RETRY 50 /* tbuf disable retry count */
312 } tbuf; variable in typeref:struct:__anon4
501 (knp++)->value.ui64 = tbuf.stat_dropped_recs;
622 tbuf.size = tbuf_op.size;
623 tbuf
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_db.cc618 char *table, tbuf[MAXPATHLEN + NIS_MAXNAMELEN + 1]; local
627 table = internal_table_name(objName, tbuf);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c4139 char tbuf[1024]; local
4164 (void) snprintf(tbuf, sizeof (tbuf),
4168 zfs_setprop_error(hdl, prop, intval, tbuf);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_prop.c621 char *tbuf = NULL; local
751 tbuf = kmem_alloc(ZAP_MAXVALUELEN, KM_SLEEP);
753 ZAP_MAXVALUELEN, tbuf, NULL) == 0)
754 valstr = tbuf;
762 if (tbuf != NULL)
763 kmem_free(tbuf, ZAP_MAXVALUELEN);
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c7910 char tbuf[160]; local
7915 len = snprintf(tbuf, 158, "%s:%07lu: ", ident ? ident : "",
7918 len += vsnprintf(tbuf + len, 158 - len, fmt, args);
7924 tbuf[len++] = '\n';
7925 tbuf[len] = '\0';
7928 bcopy(tbuf, &stmf_trace_buf[trace_buf_curndx], len+1);
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c2199 pmcs_tbuf_t tbuf; local
2286 if (MDB_RD(&tbuf, sizeof (pmcs_tbuf_t), (tbuf_addr + idx))
2288 NOREAD(tbuf, (tbuf_addr + idx));
2298 bufp = tbuf.buf;
2330 if (strncmp(phy_path, tbuf.phy_path,
2336 if (memcmp(sas_addressp, tbuf.phy_sas_address,
2348 mdb_printf("%Y.%09ld ", tbuf.timestamp);
2351 tbuf.fw_timestamp);
2353 mdb_printf("%s\n", tbuf.buf);
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c102 char tbuf[MAXNAMELEN]; local
118 (void) ddi_pathname(cbp->cb_dip, tbuf);
119 cbp->nexus_path = kmem_alloc(strlen(tbuf) + 1, KM_SLEEP);
120 (void) strcpy(cbp->nexus_path, tbuf);
/illumos-gate/usr/src/cmd/awk/
H A Drun.c120 char *tbuf; local
126 tbuf = (char *)realloc(*pbuf, minlen);
127 dprintf(("adjbuf %s: %d %d (pbuf=%p, tbuf=%p)\n", whatrtn,
128 *psiz, minlen, (void *)*pbuf, (void *)tbuf));
129 if (tbuf == NULL) {
134 *pbuf = tbuf;
137 *pbptr = tbuf + boff;
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_aapl.c168 char *tbuf, size_t tbuflen)
191 (void) snprintf(tbuf, tbuflen, "%s:AFP_Resource", fileinfo->fi_name);
193 od->d_dnode, tbuf, &snode);
210 (void) snprintf(tbuf, tbuflen, "%s:AFP_AfpInfo", fileinfo->fi_name);
212 od->d_dnode, tbuf, &snode);
166 smb2_aapl_get_macinfo(smb_request_t *sr, smb_odir_t *od, smb_fileinfo_t *fileinfo, smb_macinfo_t *mi, char *tbuf, size_t tbuflen) argument
H A Dsmb_vops.c806 char *from, *to, *fbuf, *tbuf; local
812 tbuf = kmem_zalloc(MAXNAMELEN, KM_SLEEP);
813 to = smb_vop_catia_v5tov4(to_name, tbuf, MAXNAMELEN);
815 kmem_free(tbuf, MAXNAMELEN);
825 kmem_free(tbuf, MAXNAMELEN);
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c867 char tbuf[256]; local
920 (void) inet_ntop(AF_INET6, (void *) ip_addr, tbuf,
921 sizeof (tbuf));
924 major_32(dev_maj_min), minor_32(dev_maj_min), tbuf);
941 char tbuf[256]; local
985 (void) inet_ntop(AF_INET6, (void *) ip_addr, tbuf,
986 sizeof (tbuf));
988 (void) snprintf(buf, sizeof (buf), "%s", tbuf);
1048 char tbuf[256]; local
1102 (void) inet_ntop(AF_INET6, (void *)ip_addr, tbuf,
[all...]
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c346 /* Was statically allocated tbuf[NBLOCK] */
374 } dblock, *tbuf, xhdr_buf; variable in typeref:union:hblock
963 if ((tbuf = (union hblock *)
5097 if (read(mt, tbuf, TBLOCK*nblock) < 0) {
5127 if ((i = read(mt, tbuf, TBLOCK*j)) < 0) {
5156 char *b = (char *)tbuf + i;
5198 copy(buffer, &tbuf[recno++]);
5214 i = write(mt, (char *)tbuf, TBLOCK*nblock);
5235 (void) memcpy((char *)&tbuf[recno++], buffer, TBLOCK);
5238 i = (int)write(mt, (char *)tbuf, TBLOC
[all...]
/illumos-gate/usr/src/cmd/captoinfo/
H A Dcaptoinfo.c173 char *tbuf = bp; local
177 tbuf = tskip(tbuf);
178 while (*tbuf == '\t' || *tbuf == ' ' || *tbuf == ':')
179 tbuf++;
181 if (*tbuf == 0)
185 if (*tbuf == '.') {
188 "commented out.\n", tbuf[
[all...]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dfksmbcl_main.c68 static char tbuf[TBUFSZ]; variable
445 cnt = fake_getdents(vp, &off, tbuf, TBUFSZ);
450 show_dents(vp, &off, tbuf, cnt);
483 cnt = fake_getdents(vp, &off, tbuf, TBUFSZ);
488 show_dents(vp, &off, tbuf, cnt);
609 cnt = fake_pread(vp, tbuf, TBUFSZ, off);
614 x = write(lfd, tbuf, cnt);
687 cnt = pread(lfd, tbuf, TBUFSZ, off);
692 x = fake_pwrite(vp, tbuf, cnt, off);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c1508 char tbuf[TBUF_SIZE]; local
1530 if (strftime(tbuf, TBUF_SIZE, NULL,
1532 (void) strlcpy(tbuf, gettext("<time conversion failed>"),
1548 (hdrp->p1hdr_dpd_state == DPD_IN_PROGRESS) ? "" : tbuf);
1574 char tbuf[TBUF_SIZE]; local
1579 if (strftime(tbuf, TBUF_SIZE, NULL, localtime(&scratch)) == 0)
1580 (void) strlcpy(tbuf, gettext("<time conversion failed>"),
1582 (void) printf(gettext("%s SA was created at %s\n"), prefix, tbuf);
1633 char tbuf[TBUF_SIZE]; local
1670 if (strftime(tbuf, TBUF_SIZ
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c1642 char tbuf[100], *ptbuf; local
2199 if (j > sizeof (tbuf)) {
2203 (void) strlcpy(tbuf, cp, j);
2204 j = __s_get_enum_value(ptr, tbuf,
2206 ptbuf = tbuf;
2228 if (j > sizeof (tbuf)) {
2232 (void) strlcpy(tbuf, cp, j);
2233 j = __s_get_enum_value(ptr, tbuf, def->index);
2234 ptbuf = tbuf;
2272 if (j > sizeof (tbuf)) {
[all...]

Completed in 259 milliseconds

1234