Home
last modified time | relevance | path

Searched refs:ALLOC (Results 1 – 25 of 59) sorted by relevance

123

/freebsd-9-stable/crypto/heimdal/lib/krb5/
Dget_for_creds.c295 ALLOC(enc_krb_cred_part.timestamp, 1); in krb5_get_forwarded_creds()
302 ALLOC(enc_krb_cred_part.usec, 1); in krb5_get_forwarded_creds()
346 ALLOC(enc_krb_cred_part.r_address, 1); in krb5_get_forwarded_creds()
367 ALLOC(krb_cred_info->prealm, 1); in krb5_get_forwarded_creds()
369 ALLOC(krb_cred_info->pname, 1); in krb5_get_forwarded_creds()
371 ALLOC(krb_cred_info->flags, 1); in krb5_get_forwarded_creds()
373 ALLOC(krb_cred_info->authtime, 1); in krb5_get_forwarded_creds()
375 ALLOC(krb_cred_info->starttime, 1); in krb5_get_forwarded_creds()
377 ALLOC(krb_cred_info->endtime, 1); in krb5_get_forwarded_creds()
379 ALLOC(krb_cred_info->renew_till, 1); in krb5_get_forwarded_creds()
[all …]
Dkrb5_locl.h164 #define ALLOC(X, N) (X) = calloc((N), sizeof(*(X))) macro
165 #define ALLOC_SEQ(X, N) do { (X)->len = (N); ALLOC((X)->val, (N)); } while(0)
Dbuild_auth.c82 ALLOC(*auth_data, 1); in make_etypelist()
140 ALLOC(auth->seq_number, 1); in krb5_build_authenticator()
Dgenerate_subkey.c54 ALLOC(*subkey, 1); in krb5_generate_subkey_extended()
Dauth_context.c44 ALLOC(p, 1); in krb5_auth_con_init()
50 ALLOC(p->authenticator, 1); in krb5_auth_con_init()
393 ALLOC(auth_context->keyblock, 1);
Ddata.c193 ALLOC(*outdata, 1); in krb5_copy_data()
/freebsd-9-stable/crypto/heimdal/kdc/
Dmit_dump.c282 ALLOC(ent.entry.max_life); in mit_prop_dump()
287 ALLOC(ent.entry.max_renew); in mit_prop_dump()
292 ALLOC(ent.entry.valid_end); in mit_prop_dump()
297 ALLOC(ent.entry.pw_end); in mit_prop_dump()
323 ALLOC(ent.entry.modified_by); in mit_prop_dump()
338 ALLOC(ent.entry.keys.val[i].mkvno); in mit_prop_dump()
352 ALLOC(ent.entry.keys.val[i].salt); in mit_prop_dump()
Dheaders.h104 #undef ALLOC
105 #define ALLOC(X) ((X) = malloc(sizeof(*(X)))) macro
Dkerberos5.c44 ALLOC(*t); in _kdc_fix_time()
400 ALLOC(ent->salttype); in make_etype_info_entry()
417 ALLOC(ent->salttype); in make_etype_info_entry()
539 ALLOC(ent->salt); in make_etype_info2_entry()
558 ALLOC(ent->s2kparams); in make_etype_info2_entry()
577 ALLOC(ent->s2kparams); in make_etype_info2_entry()
1497 ALLOC(et.starttime); in _kdc_as_rep()
1518 ALLOC(b->rtime); in _kdc_as_rep()
1535 ALLOC(et.renew_till); in _kdc_as_rep()
1545 ALLOC(et.caddr); in _kdc_as_rep()
[all …]
Dhprop.c192 ALLOC(ent.entry.max_life); in v4_prop()
197 ALLOC(ent.entry.valid_end); in v4_prop()
211 ALLOC(ent.entry.modified_by); in v4_prop()
328 ALLOC(hdb.entry.max_life); in ka_convert()
332 ALLOC(hdb.entry.valid_end); in ka_convert()
339 ALLOC(hdb.entry.pw_end); in ka_convert()
353 ALLOC(hdb.entry.modified_by); in ka_convert()
/freebsd-9-stable/sys/fs/coda/
Dcoda_venus.c79 #define ALLOC(name) \ macro
202 ALLOC(coda_open_by_fd); /* sets inp & outp */ in venus_open()
263 ALLOC(coda_ioctl); /* sets inp & outp */ in venus_ioctl()
318 ALLOC(coda_getattr); /* sets inp & outp */ in venus_getattr()
390 ALLOC(coda_readlink); /* sets inp & outp */ in venus_readlink()
437 ALLOC(coda_lookup); /* sets inp & outp */ in venus_lookup()
475 ALLOC(coda_create); /* sets inp & outp */ in venus_create()
581 ALLOC(coda_mkdir); /* sets inp & outp */ in venus_mkdir()
663 ALLOC(coda_readdir); /* sets inp & outp */ in venus_readdir()
689 ALLOC(coda_vget); /* sets inp & outp */ in venus_fhtovp()
/freebsd-9-stable/crypto/heimdal/kadmin/
Dkadmin_locl.h104 #undef ALLOC
105 #define ALLOC(X) ((X) = malloc(sizeof(*(X)))) macro
/freebsd-9-stable/contrib/amd/conf/mtab/
Dmtab_bsd.c60 mntent_t *new_mp = ALLOC(mntent_t); in mnt_dup()
125 *mpp = ALLOC(struct mntlist); in read_mtab()
/freebsd-9-stable/sys/kern/
Dkern_gzio.c42 #define ALLOC(size) malloc(size, M_TEMP, M_WAITOK | M_ZERO) macro
106 s = (gz_stream *)ALLOC(sizeof(gz_stream));
124 s->path = (char*)ALLOC(strlen(path)+1);
154 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
/freebsd-9-stable/contrib/amd/amd/
Dinfo_ldap.c153 new = ALLOC(HE_ENT); in string2he()
157 old = ALLOC(HE_ENT); in string2he()
255 aldh = ALLOC(ALD); in amu_ldap_init()
256 creds = ALLOC(CR); in amu_ldap_init()
Dsrvr_amfs_auto.c70 fs = ALLOC(struct fserver); in amfs_generic_find_srvr()
/freebsd-9-stable/crypto/heimdal/lib/gssapi/spnego/
Daccept_sec_context.c48 ALLOC(nt.u.negTokenResp.negResult, 1); in send_reject()
172 ALLOC(nt.u.negTokenInit.negHints, 1); in send_supported_mechs()
180 ALLOC(nt.u.negTokenInit.negHints->hintName, 1); in send_supported_mechs()
230 ALLOC(nt.u.negTokenResp.negResult, 1); in send_accept()
251 ALLOC(nt.u.negTokenResp.supportedMech, 1); in send_accept()
272 ALLOC(nt.u.negTokenResp.responseToken, 1); in send_accept()
293 ALLOC(nt.u.negTokenResp.mechListMIC, 1); in send_accept()
Dinit_sec_context.c101 ALLOC(nt.u.negTokenResp.negResult, 1); in spnego_reply_internal()
116 ALLOC(nt.u.negTokenResp.responseToken, 1); in spnego_reply_internal()
138 ALLOC(nt.u.negTokenResp.mechListMIC, 1); in spnego_reply_internal()
278 ALLOC(ni.mechToken, 1); in spnego_initial()
Dspnego_locl.h75 #define ALLOC(X, N) (X) = calloc((N), sizeof(*(X))) macro
/freebsd-9-stable/lib/libc/rpc/
Dsvc_dg.c475 #define ALLOC(type, size) \ macro
551 uc = ALLOC(struct cl_cache, 1);
559 uc->uc_entries = ALLOC(cache_ptr, size * SPARSENESS);
567 uc->uc_fifo = ALLOC(cache_ptr, size);
630 victim = ALLOC(struct cache_node, 1);
669 victim->cache_addr.buf = ALLOC(char, xprt->xp_rtaddr.len);
Dauth_des.c66 #define ALLOC(object_type) (object_type *) mem_alloc(sizeof(object_type)) macro
163 auth = ALLOC(AUTH); in authdes_pk_seccreate()
168 ad = ALLOC(struct ad_private); in authdes_pk_seccreate()
/freebsd-9-stable/games/fortune/strfile/
Dstrfile.c87 #define ALLOC(ptr, sz) do { \ macro
198 ALLOC(Firstch, Num_pts); in main()
332 ALLOC(Seekpts, Num_pts + 1); in add_offset()
/freebsd-9-stable/crypto/heimdal/lib/hx509/
Dcms.c57 #define ALLOC(X, N) (X) = calloc((N), sizeof(*(X))) macro
58 #define ALLOC_SEQ(X, N) do { (X)->len = (N); ALLOC((X)->val, (N)); } while(0)
91 ALLOC(ci.content, 1); in hx509_cms_wrap_ContentInfo()
606 ALLOC(enc_alg->parameters, 1); in hx509_cms_envelope_1()
917 ALLOC(signed_data, 1); in hx509_cms_verify_signed()
1139 ALLOC(sd.encapContentInfo.eContent, 1); in hx509_cms_create_signed_1()
1191 ALLOC(signer_info->signedAttrs, 1); in hx509_cms_create_signed_1()
1323 ALLOC(sd.certificates, 1); in hx509_cms_create_signed_1()
/freebsd-9-stable/usr.sbin/fifolog/lib/
Dfifolog_write_poll.c47 #define ALLOC(ptr, size) do { \ macro
158 ALLOC(&f->obuf, f->obufsize); in fifolog_write_open()
161 ALLOC(&f->ibuf, f->ibufsize); in fifolog_write_open()
/freebsd-9-stable/usr.sbin/mount_portalfs/
Dconf.c52 #define ALLOC(ty) (xmalloc(sizeof(ty))) macro
166 p = ALLOC(path); in palloc()

123