/freebsd-10.0-release/sys/opencrypto/ |
H A D | deflate.c | 79 z_stream zbuf; local 117 bzero(&zbuf, sizeof(z_stream)); 118 zbuf.zalloc = z_alloc; 119 zbuf.zfree = z_free; 120 zbuf.opaque = Z_NULL; 121 zbuf.next_in = data; /* Data that is going to be processed. */ 122 zbuf.avail_in = size; /* Total length of data to be processed. */ 123 zbuf.next_out = bufp->data; 124 zbuf.avail_out = bufp->size; 126 error = decomp ? inflateInit2(&zbuf, window_inflat [all...] |
/freebsd-10.0-release/sys/dev/lindev/ |
H A D | full.c | 52 static void *zbuf; variable 61 error = uiomove(zbuf, MIN(uio->uio_resid, PAGE_SIZE), uio); 82 zbuf = (void *)malloc(PAGE_SIZE, M_TEMP, M_WAITOK | M_ZERO); 91 free(zbuf, M_TEMP);
|
/freebsd-10.0-release/sys/net/ |
H A D | bpf_zerocopy.c | 80 * struct zbuf describes a memory buffer loaned by a user process to the 93 struct zbuf { struct 97 int zb_flags; /* Flags on zbuf. */ 137 * Free a zbuf, including its page array, sbufs, and pages. Allow partially 138 * allocated zbufs to be freed so that it may be used even during a zbuf 142 zbuf_free(struct zbuf *zb) 181 * Create a zbuf describing a range of user address space memory. Validate 186 struct zbuf **zbp) 188 struct zbuf *zb; 243 * Copy bytes from a source into the specified zbuf [all...] |
H A D | bpfdesc.h | 51 struct zbuf;
|
/freebsd-10.0-release/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-10.0-release/crypto/openssl/crypto/pkcs12/ |
H A D | p12_decr.c | 117 * if zbuf set zero buffer after use. 121 const char *pass, int passlen, ASN1_OCTET_STRING *oct, int zbuf) 147 if (zbuf) OPENSSL_cleanse(out, outlen); 154 * if zbuf set zero encoding. 159 void *obj, int zbuf) 179 if (zbuf) OPENSSL_cleanse(in, inlen); 120 PKCS12_item_decrypt_d2i(X509_ALGOR *algor, const ASN1_ITEM *it, const char *pass, int passlen, ASN1_OCTET_STRING *oct, int zbuf) argument 157 PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it, const char *pass, int passlen, void *obj, int zbuf) argument
|
H A D | pkcs12.h | 213 const char *pass, int passlen, ASN1_OCTET_STRING *oct, int zbuf); 216 void *obj, int zbuf);
|
/freebsd-10.0-release/sys/dev/null/ |
H A D | null.c | 134 void *zbuf; local 140 zbuf = __DECONST(void *, zero_region); 145 error = uiomove(zbuf, len, uio);
|
/freebsd-10.0-release/usr.bin/csup/ |
H A D | stream.c | 1009 struct buf *zbuf; local 1016 zbuf = zf->rdbuf; 1029 stream->rdbuf = zbuf; 1033 zbuf = zf->wrbuf; 1046 stream->wrbuf = zbuf; 1055 struct buf *zbuf; local 1062 zbuf = zf->wrbuf; 1077 if ((buf_avail(zbuf) < 6 && flags == Z_SYNC_FLUSH) || 1079 error = stream_flush_default(stream, zbuf, how); 1086 state->next_out = (Bytef *)(zbuf 1111 struct buf *zbuf; local [all...] |
/freebsd-10.0-release/usr.sbin/kgmon/ |
H A D | kgmon.c | 488 char *zbuf; local 499 if ((zbuf = (char *)malloc(biggest)) == NULL) 500 errx(12, "cannot allocate zbuf space"); 501 bzero(zbuf, biggest); 503 if (kvm_write(kvp->kd, (u_long)kvp->gpm.kcount, zbuf, 506 if (kvm_write(kvp->kd, (u_long)kvp->gpm.froms, zbuf, 509 if (kvm_write(kvp->kd, (u_long)kvp->gpm.tos, zbuf, 518 if (sysctl(mib, 3, NULL, NULL, zbuf, kvp->gpm.kcountsize) < 0) 521 if (sysctl(mib, 3, NULL, NULL, zbuf, kvp->gpm.fromssize) < 0) 524 if (sysctl(mib, 3, NULL, NULL, zbuf, kv [all...] |
/freebsd-10.0-release/contrib/ntp/libisc/ |
H A D | netaddr.c | 125 char zbuf[sizeof("%4294967295")]; local 152 zlen = snprintf(zbuf, sizeof(zbuf), "%%%u", netaddr->zone); 155 INSIST((unsigned int)zlen < sizeof(zbuf)); 162 isc_buffer_putmem(target, (unsigned char *)zbuf, zlen);
|
/freebsd-10.0-release/sys/dev/random/ |
H A D | random_harvestq.c | 102 uint8_t *zbuf; local 128 zbuf = __DECONST(void *, zero_region); 133 error = randomdev_write_file(*entropy_file, zbuf, PAGE_SIZE);
|
/freebsd-10.0-release/sys/boot/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-10.0-release/crypto/openssl/apps/ |
H A D | s_client.c | 1794 { char zbuf[10240]; local 1795 printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240));
|
/freebsd-10.0-release/sys/dev/bxe/ |
H A D | ecore_init_ops.h | 49 static int ecore_gunzip(struct bxe_softc *sc, const uint8_t *zbuf, int len);
|
H A D | bxe.c | 18815 const uint8_t *zbuf, 18814 ecore_gunzip(struct bxe_softc *sc, const uint8_t *zbuf, int len) argument
|
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/ztest/ |
H A D | ztest.c | 5151 char zbuf[1024]; local 5183 while (fgets(zbuf, sizeof (zbuf), fp) != NULL) 5185 (void) printf("%s", zbuf);
|