/freebsd-12-stable/sys/opencrypto/ |
H A D | cryptodeflate.c | 77 z_stream zbuf; local 115 bzero(&zbuf, sizeof(z_stream)); 116 zbuf.zalloc = z_alloc; 117 zbuf.zfree = z_free; 118 zbuf.opaque = Z_NULL; 119 zbuf.next_in = data; /* Data that is going to be processed. */ 120 zbuf.avail_in = size; /* Total length of data to be processed. */ 121 zbuf.next_out = bufp->data; 122 zbuf.avail_out = bufp->size; 124 error = decomp ? inflateInit2(&zbuf, window_inflat [all...] |
/freebsd-12-stable/sys/net/ |
H A D | bpf_zerocopy.c | 82 * struct zbuf describes a memory buffer loaned by a user process to the 95 struct zbuf { struct 99 int zb_flags; /* Flags on zbuf. */ 138 * Free a zbuf, including its page array, sbufs, and pages. Allow partially 139 * allocated zbufs to be freed so that it may be used even during a zbuf 143 zbuf_free(struct zbuf *zb) 182 * Create a zbuf describing a range of user address space memory. Validate 187 struct zbuf **zbp) 189 struct zbuf *zb; 244 * Copy bytes from a source into the specified zbuf [all...] |
H A D | bpfdesc.h | 54 struct zbuf;
|
/freebsd-12-stable/contrib/bzip2/ |
H A D | unzcrash.c | 42 uchar zbuf[M_BLOCK + 600 + (M_BLOCK / 100)]; variable 71 zbuf[byteno] ^= mask; 97 zbuf, &nZ, inbuf, nIn, 9, 0, 30 ); 107 outbuf, &nOut, zbuf, nZ, 0, 0 );
|
/freebsd-12-stable/sys/dev/random/ |
H A D | unit_test.c | 180 uint8_t *buf, *zbuf; local 199 zbuf = malloc(2*i + 1024); 202 if (buf != NULL && zbuf != NULL) { 205 zsize = block_deflate(buf, zbuf, i); 217 printf(" %02X", zbuf[j]); 222 free(zbuf);
|
/freebsd-12-stable/crypto/openssl/crypto/pkcs12/ |
H A D | p12_decr.c | 78 * Decrypt an OCTET STRING and decode ASN1 structure if zbuf set zero buffer 84 const ASN1_OCTET_STRING *oct, int zbuf) 111 if (zbuf) 120 * Encode ASN1 structure and encrypt, return OCTET STRING if zbuf set zero 127 void *obj, int zbuf) 148 if (zbuf) 82 PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, const char *pass, int passlen, const ASN1_OCTET_STRING *oct, int zbuf) argument 124 PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it, const char *pass, int passlen, void *obj, int zbuf) argument
|
/freebsd-12-stable/sys/dev/null/ |
H A D | null.c | 157 void *zbuf; local 163 zbuf = __DECONST(void *, zero_region); 168 error = uiomove(zbuf, len, uio);
|
/freebsd-12-stable/usr.sbin/kgmon/ |
H A D | kgmon.c | 490 char *zbuf; local 501 if ((zbuf = (char *)malloc(biggest)) == NULL) 502 errx(12, "cannot allocate zbuf space"); 503 bzero(zbuf, biggest); 505 if (kvm_write(kvp->kd, (u_long)kvp->gpm.kcount, zbuf, 508 if (kvm_write(kvp->kd, (u_long)kvp->gpm.froms, zbuf, 511 if (kvm_write(kvp->kd, (u_long)kvp->gpm.tos, zbuf, 514 free(zbuf); 521 if (sysctl(mib, 3, NULL, NULL, zbuf, kvp->gpm.kcountsize) < 0) 524 if (sysctl(mib, 3, NULL, NULL, zbuf, kv [all...] |
/freebsd-12-stable/contrib/ntp/lib/isc/ |
H A D | netaddr.c | 130 char zbuf[sizeof("%4294967295")]; local 167 zlen = snprintf(zbuf, sizeof(zbuf), "%%%u", netaddr->zone); 170 INSIST((unsigned int)zlen < sizeof(zbuf)); 177 isc_buffer_putmem(target, (unsigned char *)zbuf, zlen);
|
/freebsd-12-stable/usr.sbin/bhyve/ |
H A D | rfb.c | 104 uint8_t *zbuf; member in struct:rfb_softc 347 zbufp = rc->zbuf; 366 zbufp = rc->zbuf + rc->zstream.total_out; 379 return (stream_write(cfd, rc->zbuf, rc->zstream.total_out)); 385 zbufp = rc->zbuf; 399 total = stream_write(cfd, rc->zbuf, total); 435 rc->zstream.next_out = (Bytef *)rc->zbuf; 461 return (stream_write(cfd, rc->zbuf, rc->zstream.total_out)); 868 if (!rc->zbuf) { 869 rc->zbuf [all...] |
/freebsd-12-stable/crypto/openssl/include/openssl/ |
H A D | pkcs12.h | 154 const ASN1_OCTET_STRING *oct, int zbuf); 158 void *obj, int zbuf);
|
/freebsd-12-stable/stand/sparc64/boot1/ |
H A D | boot1.c | 379 static char zbuf[READ_BUF_SIZE]; variable 399 if (dskread(zbuf, poff / DEV_BSIZE, nb)) 405 memcpy(p, zbuf + poff % DEV_BSIZE, len);
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_main.c | 1730 char zbuf[1024]; local 1746 (void) snprintf(zbuf, sizeof (zbuf), 1750 (void) snprintf(zbuf, sizeof (zbuf), 1754 (void) snprintf(zbuf, sizeof (zbuf), 1760 initialize_pct, zbuf);
|
/freebsd-12-stable/sys/dev/bxe/ |
H A D | ecore_init_ops.h | 44 static int ecore_gunzip(struct bxe_softc *sc, const uint8_t *zbuf, int len);
|
H A D | bxe.c | 18702 const uint8_t *zbuf, 18701 ecore_gunzip(struct bxe_softc *sc, const uint8_t *zbuf, int len) argument
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/ztest/ |
H A D | ztest.c | 5919 char zbuf[1024]; local 5952 while (fgets(zbuf, sizeof (zbuf), fp) != NULL) 5954 (void) printf("%s", zbuf);
|