Home
last modified time | relevance | path

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

/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dblkptr.c142 uint8_t dstbuf[BPE_PAYLOAD_SIZE]; in decode_embedded_bp() local
143 decode_embedded_bp_compressed(bp, dstbuf); in decode_embedded_bp()
145 dstbuf, buf, psize, buflen)); in decode_embedded_bp()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c1877 char dstbuf[MAXPROPVALLEN]; in print_sa_cb() local
1973 bzero(dstbuf, sizeof (dstbuf)); in print_sa_cb()
1983 (void) snprintf(dstbuf, sizeof (dstbuf), in print_sa_cb()
1985 (void) strlcat(buf, dstbuf, bufsize); in print_sa_cb()
2003 dstbuf, sizeof (dstbuf)); in print_sa_cb()
2005 dstbuf); in print_sa_cb()
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_ops.c103 nds_bswap(void *srcbuf, void *dstbuf, size_t len) in nds_bswap() argument
106 uint8_t *dst = (uint8_t *)dstbuf; in nds_bswap()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c3667 char dstbuf[MAXHOSTNAMELEN + 1]; in if_report_ip4() local
3680 abuf, pr_addr(ap->ipAdEntAddr, dstbuf, sizeof (dstbuf)), in if_report_ip4()
3703 pr_addr(ap->ipAdEntAddr, dstbuf, sizeof (dstbuf)), in if_report_ip4()
3732 sizeof (dstbuf)), in if_report_ip6()
3754 sizeof (dstbuf)), in if_report_ip6()
4823 (void) pr_addr(rp->ipRouteDest, dstbuf, sizeof (dstbuf)); in ire_report_item_v4()
4826 dstbuf, sizeof (dstbuf)); in ire_report_item_v4()
4833 dstbuf, in ire_report_item_v4()
4848 dstbuf, in ire_report_item_v4()
5105 rp6->ipv6RoutePfxLength, dstbuf, sizeof (dstbuf)), in ire_report_item_v6()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dlib519 char* dstbuf;
542 if (!(dstbuf = malloc(2 * siz)))
561 memccpy(dstbuf, srcbuf, 0, siz + 10);
563 if (strcmp(srcbuf, dstbuf))
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c442 uint8_t dstbuf[BPE_PAYLOAD_SIZE]; in decode_embedded_bp() local
450 decode_embedded_bp_compressed(bp, dstbuf); in decode_embedded_bp()
451 decomp_table[comp].decomp_func(dstbuf, buf, psize, lsize); in decode_embedded_bp()
/illumos-gate/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c1714 i_dlpi_writesap(void *dstbuf, uint_t sap, uint_t saplen) argument
1724 (void) memcpy(dstbuf, sapp, saplen);