Home
last modified time | relevance | path

Searched refs:dstbuf (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/cmd/boot/fiocompress/
H A Dfiocompress.c178 void *dstbuf; in do_comp() local
196 dstbuf = malloc(dstlen); in do_comp()
197 if (dstbuf == NULL) { in do_comp()
215 ret = compress2(dstbuf, &dlen, (Bytef *)srcaddr, slen, 9); in do_comp()
221 if (write(dstfd, dstbuf, dlen) != dlen) { in do_comp()
250 void *dstbuf; in do_decomp() local
273 dstbuf = malloc(blksize); in do_decomp()
274 if (dstbuf == NULL) { in do_decomp()
284 ret = uncompress(dstbuf, &dlen, (Bytef *)srcaddr, slen); in do_decomp()
294 if (write(dstfd, dstbuf, dlen) != dlen) { in do_decomp()
[all …]
/titanic_41/usr/src/cmd/filesync/
H A Drecon.c668 char srcbuf[ COPY_BSIZE ], dstbuf[ COPY_BSIZE ]; in samecompare() local
688 if (read(dfd, dstbuf, COPY_BSIZE) != count) { in samecompare()
695 if (srcbuf[i] != dstbuf[i]) { in samecompare()
763 char srcbuf[ MAX_PATH ], dstbuf[ MAX_PATH ]; in samelink() local
768 dstlen = readlink(dstname, dstbuf, sizeof (dstbuf)); in samelink()
776 if (srcbuf[i] != dstbuf[i]) in samelink()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c1638 char dstbuf[MAXPROPVALLEN]; in print_sa_cb() local
1734 bzero(dstbuf, sizeof (dstbuf)); in print_sa_cb()
1744 (void) snprintf(dstbuf, sizeof (dstbuf), in print_sa_cb()
1746 (void) strlcat(buf, dstbuf, bufsize); in print_sa_cb()
1764 dstbuf, sizeof (dstbuf)); in print_sa_cb()
1766 dstbuf); in print_sa_cb()
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c182 char *dstbuf, size_t dstlen) in hextobin() argument
194 *dstbuf = H2C(*hexbuf) & 0x0F; in hextobin()
196 *dstbuf++ |= (H2C(*hexbuf) << 4) & 0xF0; in hextobin()
/titanic_41/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_ops.c104 nds_bswap(void *srcbuf, void *dstbuf, size_t len) in nds_bswap() argument
107 uint8_t *dst = (uint8_t *)dstbuf; in nds_bswap()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c3271 char dstbuf[MAXHOSTNAMELEN + 1]; in if_report_ip4() local
3284 abuf, pr_addr(ap->ipAdEntAddr, dstbuf, sizeof (dstbuf)), in if_report_ip4()
3307 pr_addr(ap->ipAdEntAddr, dstbuf, sizeof (dstbuf)), in if_report_ip4()
3319 char dstbuf[MAXHOSTNAMELEN + 1]; in if_report_ip6() local
3334 abuf, pr_addr6(&ap6->ipv6AddrAddress, dstbuf, in if_report_ip6()
3335 sizeof (dstbuf)), in if_report_ip6()
3356 abuf, pr_addr6(&ap6->ipv6AddrAddress, dstbuf, in if_report_ip6()
3357 sizeof (dstbuf)), in if_report_ip6()
4368 char dstbuf[MAXHOSTNAMELEN + 1]; in ire_report_item_v4() local
4398 (void) pr_addr(rp->ipRouteDest, dstbuf, sizeof (dstbuf)); in ire_report_item_v4()
[all …]
/titanic_41/usr/src/lib/libast/common/features/
H A Dlib457 char* dstbuf;
480 if (!(dstbuf = malloc(2 * siz)))
499 memccpy(dstbuf, srcbuf, 0, siz + 10);
501 if (strcmp(srcbuf, dstbuf))
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c432 uint8_t dstbuf[BPE_PAYLOAD_SIZE]; in decode_embedded_bp() local
440 decode_embedded_bp_compressed(bp, dstbuf); in decode_embedded_bp()
441 decomp_table[comp].decomp_func(dstbuf, buf, psize, lsize); in decode_embedded_bp()
/titanic_41/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c1715 i_dlpi_writesap(void *dstbuf, uint_t sap, uint_t saplen) argument
1725 (void) memcpy(dstbuf, sapp, saplen);
/titanic_41/usr/src/uts/common/avs/ns/dsw/
H A Ddsw_dev.c8919 nsc_buf_t *dstbuf, chunkid_t chunk_num, nsc_off_t fba, nsc_size_t len) in ii_read_volume() argument
8934 if (dstbuf && II_SUCCESS(rc)) { in ii_read_volume()
8935 rc = nsc_copy(srcbuf, dstbuf, fba, fba, len); in ii_read_volume()
8961 if (dstbuf == NULL) in ii_read_volume()
8962 dstbuf = srcbuf; in ii_read_volume()
8963 rc = nsc_copy(tmp, dstbuf, mapped_fba, fba, len); in ii_read_volume()