Home
last modified time | relevance | path

Searched refs:vmalloc (Results 1 – 25 of 43) sorted by relevance

12

/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dvmbuf.c53 vmalloc(size_t size) in vmalloc() function
82 return vmalloc(size); /* zero-fill it? */ in vrealloc()
95 if ((ptr = vmalloc(size)) == NULL) in vrealloc()
126 if ((new = vmalloc(src->l)) == NULL) in vdup()
H A Dcrypto_openssl.c225 ret = vmalloc(i);
267 ret = vmalloc(binlen); in eay_hex2asn1dn()
524 name = vmalloc(len);
692 name = vmalloc(len);
833 cert = vmalloc(len + 1);
930 pkey = vmalloc(pkeylen);
986 pkey = vmalloc(pkeylen);
1045 sig = vmalloc(len); in eay_rsa_sign()
1071 xbuf = vmalloc(len);
1137 if ((res = vmalloc(data->l)) == NULL) in evp_crypt()
[all …]
H A Deaytest.c210 ret = vmalloc(len);
602 iv = vmalloc(iv_length); in ciphertest_1()
613 buf = vmalloc(data->l + padlen); in ciphertest_1()
753 key = vmalloc(strlen(keyword));
756 data = vmalloc(strlen(object));
757 data1 = vmalloc(strlen(object1));
758 data2 = vmalloc(strlen(object2));
851 buf = vmalloc(strlen(word1));
861 buf = vmalloc(strlen(word2));
888 buf = vmalloc(strlen(word1));
[all …]
H A Doakley.c166 pl = vmalloc(len + 1); in dump_x509()
251 tmp = vmalloc(prime->l);
278 if ((*gxy = vmalloc(dh->prime->l)) == NULL) {
539 buf = vmalloc(len);
633 seed = vmalloc(prev->l + buf->l);
745 buf = vmalloc(len); in oakley_compute_hashx()
792 buf = vmalloc(len);
844 buf = vmalloc(len);
917 buf = vmalloc(len);
1057 buf = vmalloc(len);
[all …]
H A Dcftoken.l428 yyerror("vmalloc failed");
599 yyerror("vmalloc failed");
H A Disakmp_cfg.c221 if ((payload = vmalloc(plen)) == NULL) {
473 if ((buf = vmalloc(alen)) == NULL) {
502 if ((payload = vmalloc(sizeof(*reply))) == NULL) {
671 if ((payload = vmalloc(sizeof(*reply))) == NULL) {
763 new = vmalloc(s->l + append->l);
933 if ((buffer = vmalloc(sizeof(*attr))) == NULL) {
958 if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) {
978 if ((buffer = vmalloc(sizeof(*attr))) == NULL) {
1006 if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) {
1042 if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) {
[all …]
H A Disakmp_frag.c128 if ((frag = vmalloc(fraglen)) == NULL) {
249 if ((buf = vmalloc(ntohs(frag->len) - sizeof(*frag))) == NULL) {
352 if ((buf = vmalloc(len)) == NULL) {
H A Disakmp_xauth.c152 if ((buffer = vmalloc(tlen)) == NULL) {
422 if ((buffer = vmalloc(tlen)) == NULL) {
825 xauth_ldap_config.host = vmalloc(tmplen); in xauth_ldap_init_conf()
832 xauth_ldap_config.attr_user = vmalloc(tmplen); in xauth_ldap_init_conf()
839 xauth_ldap_config.attr_addr = vmalloc(tmplen); in xauth_ldap_init_conf()
846 xauth_ldap_config.attr_mask = vmalloc(tmplen); in xauth_ldap_init_conf()
853 xauth_ldap_config.attr_group = vmalloc(tmplen); in xauth_ldap_init_conf()
860 xauth_ldap_config.attr_member = vmalloc(tmplen); in xauth_ldap_init_conf()
1564 usr = vmalloc(iph1->rmconf->xauth->login->l - 1 + skip);
1620 if ((buffer = vmalloc(sizeof(*attr) + dlen)) == NULL) {
[all …]
H A Disakmp_inf.c219 payload = vmalloc(ntohs(nd->len));
588 payload = vmalloc(tlen);
652 payload = vmalloc(tlen);
729 payload = vmalloc(tlen);
791 payload = vmalloc(tlen);
841 payload = vmalloc(tlen);
940 iph2->sendbuf = vmalloc(tlen);
1049 buf = vmalloc(tlen);
1395 payload = vmalloc(tlen);
1511 payload = vmalloc(tlen);
H A Dvendorid.c154 all_vendor_ids[i].hash = vmalloc(sizeof(vendorid_dpd_hash)); in compute_vendorids()
295 if ((tmp = vmalloc(8)) == NULL) {
H A Disakmp_quick.c316 body = vmalloc(tlen);
470 hbuf = vmalloc(tlen);
807 tmp = vmalloc(iph2->nonce->l + iph2->nonce_p->l);
826 buf = vmalloc(tlen);
969 notify = vmalloc(pa->len);
1141 hbuf = vmalloc(tlen);
1568 body = vmalloc(tlen);
1664 tmp = vmalloc(iph2->nonce_p->l + body->l);
1795 tmp = vmalloc(iph2->nonce_p->l + iph2->nonce->l);
1867 notify = vmalloc(tlen);
[all …]
H A Dvmbuf.h68 extern vchar_t *vmalloc __P((size_t));
H A Dipsec_doi.c447 val = vmalloc(len);
616 if ((sa->gssid = vmalloc(len)) == NULL) {
648 if ((sa->gssid = vmalloc(len / 2)) == NULL) {
1450 newsa = vmalloc(newtlen);
1600 newsa = vmalloc(newtlen);
2614 mysa = vmalloc(sablen);
2914 p = vmalloc(sizeof(*prop) + sizeof(pr->spi));
3129 iph2->sa = vmalloc(sizeof(*sab));
3720 ident = vmalloc(l);
3735 ret = vmalloc(sizeof(id_b) + ident->l);
[all …]
H A Ddnssec.c119 cert = vmalloc(res->ci_certlen + 1);
H A Ddebugrm.h87 #define vmalloc(sz) \ macro
H A Dadmin.c207 buf = vmalloc(len);
388 if ((id = vmalloc(acp->id_len)) == NULL) {
397 if ((key = vmalloc(acp->key_len)) == NULL) {
H A Dgssapi.c125 *vmbuf = vmalloc(gsstoken->length); in gssapi_gss2vmbuf()
466 toks = vmalloc(len); in gssapi_get_itokens()
507 toks = vmalloc(len); in gssapi_get_rtokens()
H A Dkmpstat.c168 if ((*combufp = vmalloc(rlen)) == NULL)
H A Disakmp_newg.c154 buf = vmalloc(len);
H A Disakmp.c302 if ((tmpbuf = vmalloc(ntohl(isakmp.len) + extralen)) == NULL) { in isakmp_handler()
327 if ((buf = vmalloc(len - extralen)) == NULL) { in isakmp_handler()
1444 result = vmalloc(sizeof(struct isakmp_parse_t) * 5);
1781 if ((vbuf = vmalloc (sbuf->l + extralen)) == NULL) {
2467 buf = vmalloc(tlen);
2500 buf = vmalloc(tlen);
2559 buf = vmalloc(blen);
2625 *buf = vmalloc(ntohs(gen->len) - sizeof(*gen));
3045 buf = vmalloc(tlen); in isakmp_plist_set_all()
H A Dcfparse.y1649 $$ = vmalloc(sizeof(*id_b) + $2->l);
1678 cur_sainfo->id_i = vmalloc(sizeof(*id_b) + idv->l);
2052 cur_rmconf->peerscert = vmalloc(1);
2081 cur_rmconf->peerscert = vmalloc(1);
2403 cur_rmconf->mycert = vmalloc(1);
2883 if ((new->gssid = vmalloc(strlen(gssid))) == NULL) {
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_fb.c47 void *vmalloc; member
244 src_ptr = (u8 *)par->vmalloc + in vmw_fb_dirty_flush()
675 par->vmalloc = NULL; in vmw_fb_init()
691 par->vmalloc = vzalloc(fb_size); in vmw_fb_init()
692 if (unlikely(par->vmalloc == NULL)) { in vmw_fb_init()
714 info->screen_base = (char __iomem *)par->vmalloc; in vmw_fb_init()
770 vfree(par->vmalloc); in vmw_fb_init()
798 vfree(par->vmalloc); in vmw_fb_close()
/netbsd-src/sys/external/bsd/drm2/include/linux/
H A Dvmalloc.h59 vmalloc(unsigned long size) in vmalloc() function
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
H A Dast2600-facebook-netbmc-common.dtsi15 bootargs = "console=ttyS0,9600n8 root=/dev/ram rw vmalloc=640M";
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_memory.c95 page_map = vmalloc(array_size(num_pages, sizeof(struct page *))); in agp_remap()

12