/illumos-gate/usr/src/cmd/boot/fiocompress/ |
H A D | fiocompress.c | 178 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 D | blkptr.c | 142 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 D | recon.c | 668 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 D | ipadm.c | 1878 char dstbuf[MAXPROPVALLEN]; in print_sa_cb() local 1974 bzero(dstbuf, sizeof (dstbuf)); in print_sa_cb() 1984 (void) snprintf(dstbuf, sizeof (dstbuf), in print_sa_cb() 1986 (void) strlcat(buf, dstbuf, bufsize); in print_sa_cb() 2004 dstbuf, sizeof (dstbuf)); in print_sa_cb() 2006 dstbuf); in print_sa_cb()
|
/illumos-gate/usr/src/lib/libmlrpc/common/ |
H A D | ndr_ops.c | 103 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 D | smb_util.c | 182 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 D | netstat.c | 3667 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() 3716 char dstbuf[MAXHOSTNAMELEN + 1]; in if_report_ip6() local 3731 abuf, pr_addr6(&ap6->ipv6AddrAddress, dstbuf, in if_report_ip6() 3732 sizeof (dstbuf)), in if_report_ip6() 3753 abuf, pr_addr6(&ap6->ipv6AddrAddress, dstbuf, in if_report_ip6() 3754 sizeof (dstbuf)), in if_report_ip6() 4793 char dstbuf[MAXHOSTNAMELEN + 4]; /* + "/<num>" */ in ire_report_item_v4() local 4823 (void) pr_addr(rp->ipRouteDest, dstbuf, sizeof (dstbuf)); in ire_report_item_v4() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | lib | 519 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 D | fsys_zfs.c | 442 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 D | libdlpi.c | 1714 i_dlpi_writesap(void *dstbuf, uint_t sap, uint_t saplen) argument 1724 (void) memcpy(dstbuf, sapp, saplen);
|