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

1234

/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1357 char tbuf[30]; local
1408 (void) strftime(tbuf, sizeof (tbuf), "%F.%T", &t);
1409 (void) printf("%s %s\n", tbuf, cmd);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c4138 char tbuf[1024]; local
4163 (void) snprintf(tbuf, sizeof (tbuf),
4167 zfs_setprop_error(hdl, prop, intval, tbuf);
/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/zpool/
H A Dzpool_main.c1643 char tbuf[256]; local
1655 (void) strftime(tbuf, sizeof (tbuf), "%c", &zaction_ts);
1660 gettext("suspended, started at"), tbuf);
1664 gettext("started at"), tbuf);
1668 gettext("completed at"), tbuf);
1694 char tbuf[256]; local
1705 (void) strftime(tbuf, sizeof (tbuf), "%c", &zaction_ts);
1710 gettext("suspended, started at"), tbuf);
6555 char tbuf[30] = ""; local
[all...]
/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);
H A Dsmb2_query_dir.c312 char *tbuf = NULL; local
333 tbuf = kmem_alloc(tbuflen, KM_SLEEP);
362 &args->fa_fi, &args->fa_mi, tbuf, tbuflen);
407 if (tbuf != NULL)
408 kmem_free(tbuf, tbuflen);
/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...]
/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/
H A Dlofi.c2358 char *tbuf = buf; local
2362 tbuf += sizeof (lsp->ls_comp_algorithm);
2363 bcopy(tbuf, &(lsp->ls_uncomp_seg_sz), sizeof (lsp->ls_uncomp_seg_sz));
2378 tbuf += sizeof (lsp->ls_uncomp_seg_sz);
2379 bcopy(tbuf, &(lsp->ls_comp_index_sz), sizeof (lsp->ls_comp_index_sz));
2382 tbuf += sizeof (lsp->ls_comp_index_sz);
2383 bcopy(tbuf, &(lsp->ls_uncomp_last_seg_sz),
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv_pcap.c196 char *tbuf; member in struct:req_dump_state
382 dump_state.tbuf = mdb_alloc(dump_state.tbuf_size, UM_SLEEP);
385 mdb_free(dump_state.tbuf, dump_state.tbuf_size);
423 n = mdb_vread(st->tbuf, x, addr);
428 n = write(pcap_fd, st->tbuf, x);
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c11958 char tbuf[(FC_WWN_SIZE << 1) + 1]; local
12037 (void) sprintf(&tbuf[i << 1], "%02x", *(bytes + i));
12041 numChars = snprintf(name, len, "w%s,%x", tbuf, lun_num);
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c7499 char *tbuf; local
7538 tbuf = kmem_alloc(((tgt/16) + 1) + 1, KM_SLEEP);
7539 (void) sprintf(tbuf, "%x", tgt);
7540 ASSERT(strlen(tbuf) == ((tgt/16) + 1));
7541 *taddr++ = tbuf;
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_random.c450 uchar_t tbuf[MAXEXTRACTBYTES]; local
453 (void) rngprov_getbytes(tbuf, len, B_TRUE);
/illumos-gate/usr/src/common/ctf/
H A Dctf_open.c203 const ctf_type_t *tbuf = (ctf_type_t *)(fp->ctf_buf + cth->cth_typeoff); local
227 for (tp = tbuf; tp < tend; fp->ctf_typemax++) {
347 for (id = 1, tp = tbuf; tp < tend; xp++, id++) {
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmodhash.c490 char tbuf[64]; local
493 (void) mdb_snprintf(tbuf, sizeof (tbuf), "%p",
495 tname = tbuf;
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c15338 char *nbuf, *tbuf; local
15391 tbuf = safe_malloc(max_scf_pg_type_len + 1);
15461 if (scf_pg_get_type(pg, tbuf, max_scf_pg_type_len + 1) <
15469 r = scf_service_add_pg(cur_svc, nbuf, tbuf,
15472 r = scf_instance_add_pg(cur_inst, nbuf, tbuf,
15532 free(tbuf);

Completed in 724 milliseconds

1234