/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | options.c | 59 #define MALLOC(pointer) \ macro 292 MALLOC(A); 301 MALLOC(c); 313 MALLOC(d); 319 MALLOC(D); 326 MALLOC(e); 333 MALLOC(f); 339 MALLOC(P); 345 MALLOC(F); 371 MALLOC(i); [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/ |
H A D | gss_import_name.c | 63 union_name = (gss_union_name_t) MALLOC(sizeof (gss_union_name_desc)); in gss_import_name() 82 (gss_buffer_t) MALLOC(sizeof (gss_buffer_desc)); in gss_import_name() 91 (void *) MALLOC(input_name_buffer->length); in gss_import_name() 105 union_name->name_type = (gss_OID) MALLOC(sizeof (gss_OID_desc)); in gss_import_name() 113 MALLOC(input_name_type->length); in gss_import_name()
|
H A D | gssd_clnt_stubs.c | 161 MALLOC(sizeof (GSS_OID) * desired_mechs->count); 167 (char *)MALLOC(desired_mechs->elements[i].length); 229 *actual_mechs = (gss_OID_set) MALLOC(sizeof (gss_OID_set_desc)); 233 MALLOC(sizeof (gss_OID_desc) * (*actual_mechs)->count); 239 (void *) MALLOC((*actual_mechs)->elements[i].length); 429 *actual_mechs = (gss_OID_set) MALLOC(sizeof (gss_OID_set_desc)); 433 MALLOC(sizeof (gss_OID_desc) * (*actual_mechs)->count); 439 (void *) MALLOC((*actual_mechs)->elements[i].length); 767 (void *)MALLOC(output_token->length); in kgss_init_sec_context_wrapped() 787 (gss_OID) MALLOC(sizeof (gss_OID_desc)); in kgss_init_sec_context_wrapped() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | vmalloc | 67 #define MALLOC(n) if(user)return&heap[0];op=hp;hp+=(n+sizeof(HT)-1)/sizeof(HT);return(void*)op; 74 extern void* malloc(unsigned int n) { MALLOC(n); } 75 extern void* _malloc(unsigned int n) { MALLOC(n); } 76 extern void* __malloc(unsigned int n) { MALLOC(n); } 77 extern void* __libc_malloc(unsigned int n) { MALLOC(n); } 83 extern void* malloc(n) unsigned int n; { MALLOC(n); } 84 extern void* _malloc(n) unsigned int n; { MALLOC(n); } 85 extern void* __malloc(n) unsigned int n; { MALLOC(n); } 86 extern void* __libc_malloc(n) unsigned int n; { MALLOC(n); }
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | platform.c | 463 propv = MALLOC(sz); in add_prop_val() 670 Lastcfg->begin = MALLOC(cfglen); in platform_restore_config() 737 Lastcfg = MALLOC(sizeof (struct cfgdata)); in platform_config_snapshot() 910 files[nfiles] = MALLOC(totlen); in platform_get_files() 940 eftgendir = MALLOC(MAXPATHLEN); in platform_get_files_stddirs() 941 eftmachdir = MALLOC(MAXPATHLEN); in platform_get_files_stddirs() 942 eftplatdir = MALLOC(MAXPATHLEN); in platform_get_files_stddirs() 1264 *envp = (char **)MALLOC(sizeof (char *) * *envplen); in generate_envp() 1280 envvalues[3] = MALLOC(sizeof (char) * 25); in generate_envp() 1287 (*envp)[i] = MALLOC(elen); in generate_envp() [all …]
|
H A D | ipath.c | 178 ret = MALLOC(sizeof (*ret) * 2); in ipath_dummy() 202 ret = MALLOC(sizeof (*ret) * (i + 1)); in ipath_for_usednames() 249 ret = MALLOC(sizeof (*ret) * (count + 1)); in ipath() 313 cp = ret = MALLOC(len); in ipath2str()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_princ.c | 47 tempprinc = (krb5_principal)MALLOC(sizeof(krb5_principal_data)); in krb5_copy_principal() 55 tempprinc->data = MALLOC(nelems * sizeof(krb5_data)); in krb5_copy_principal() 72 MALLOC(len + 1)) == 0)) { in krb5_copy_principal() 94 tempprinc->realm.data = MALLOC(tempprinc->realm.length + 1); in krb5_copy_principal()
|
H A D | copy_cksum.c | 43 if (!(tempto = (krb5_checksum *)MALLOC(sizeof(*tempto)))) in krb5_copy_checksum() 48 (krb5_octet *)MALLOC(tempto->length))) { in krb5_copy_checksum()
|
H A D | parse.c | 155 principal = (krb5_principal)MALLOC(sizeof(krb5_principal_data)); in k5_parse_name() 159 principal->data = (krb5_data *)MALLOC(sizeof(krb5_data) * components); in k5_parse_name() 256 tmpdata = MALLOC(realmsize + 1); in k5_parse_name() 269 MALLOC(krb5_princ_component(context, principal, i)->length + 1); in k5_parse_name()
|
H A D | copy_key.c | 97 if (!(new_key = (krb5_keyblock *) MALLOC(sizeof(krb5_keyblock)))) 100 if (!(new_key->contents = (krb5_octet *)MALLOC(from->length))) {
|
H A D | unparse.c | 56 char *newp = MALLOC(new_size); in krb5int_realloc() 243 *name = MALLOC(totalsize); in k5_unparse_name() 247 *name = MALLOC(totalsize); in k5_unparse_name()
|
H A D | ser_ctx.c | 359 context = (krb5_context) MALLOC(sizeof(struct _krb5_context)); in krb5_context_internalize() 369 context->default_realm = (char *) MALLOC((size_t) ibuf+1); in krb5_context_internalize() 388 context->in_tkt_ktypes = (krb5_enctype *) MALLOC(sizeof(krb5_enctype) * in krb5_context_internalize() 408 context->tgs_ktypes = (krb5_enctype *) MALLOC(sizeof(krb5_enctype) * in krb5_context_internalize() 601 MALLOC(sizeof(struct _krb5_os_context))) && in krb5_oscontext_internalize()
|
H A D | ser_adata.c | 160 (authdata = (krb5_authdata *) MALLOC(sizeof(krb5_authdata)))) { in krb5_authdata_internalize() 174 MALLOC((size_t) (ibuf)); in krb5_authdata_internalize()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
H A D | derive.c | 76 key->dk_list = MALLOC(sizeof(krb5_dk_node)); in add_derived_key() 87 dknode->next = MALLOC(sizeof(krb5_dk_node)); in add_derived_key() 107 krb5_keyblock *key = MALLOC(sizeof(krb5_keyblock)); in krb5_create_derived_keyblock() 116 key->contents = (uchar_t *)MALLOC(key->length); in krb5_create_derived_keyblock() 281 if ((inblockdata = (unsigned char *) MALLOC(blocksize)) == NULL) 284 if ((outblockdata = (unsigned char *) MALLOC(blocksize)) == NULL) { 289 if ((rawkey = (unsigned char *) MALLOC(keybytes)) == NULL) {
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/ |
H A D | k5_arcfour.c | 100 d1.data=MALLOC(d1.length); 115 d2.data=MALLOC(d2.length); 132 d3.data=MALLOC(d3.length); 144 salt.data=MALLOC(salt.length); 157 plaintext.data=MALLOC(plaintext.length); 301 d1.data=MALLOC(d1.length); 316 d2.data=MALLOC(d2.length); 333 d3.data=MALLOC(d3.length); 345 salt.data=MALLOC(salt.length); 358 plaintext.data=MALLOC(plaintext.length);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5sealv3.c | 69 tbuf = MALLOC(rc); in rotate_left() 164 plain.data = MALLOC(plain.length); in gss_krb5int_make_seal_token_v3() 177 outbuf = MALLOC(bufsize); in gss_krb5int_make_seal_token_v3() 233 plain.data = MALLOC(message->length + 16); in gss_krb5int_make_seal_token_v3() 243 outbuf = MALLOC(bufsize); in gss_krb5int_make_seal_token_v3() 456 plain.data = MALLOC(plain.length); in gss_krb5int_unseal_token_v3() 476 message_buffer->value = MALLOC(message_buffer->length); in gss_krb5int_unseal_token_v3() 520 message_buffer->value = MALLOC(message_buffer->length); in gss_krb5int_unseal_token_v3() 550 plain.data = MALLOC(plain.length); in gss_krb5int_unseal_token_v3()
|
H A D | util_crypt.c | 143 ivd.data = MALLOC(ivd.length); 190 ivd.data = MALLOC(ivd.length); 232 usage_key.contents = MALLOC(usage_key.length); in kg_arcfour_docrypt() 245 seq_enc_key.contents = MALLOC(seq_enc_key.length); in kg_arcfour_docrypt()
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_clnt_stubs.c | 37 #define MALLOC(n) kmem_alloc((n), KM_SLEEP) macro 58 #define MALLOC(n) malloc(n) macro 135 MALLOC(sizeof (GSS_OID) * desired_mechs->count); 142 MALLOC(desired_mechs->elements[i].length); 198 *actual_mechs = (gss_OID_set) MALLOC(sizeof (gss_OID_set_desc)); 202 MALLOC(sizeof (gss_OID_desc) * (*actual_mechs)->count); 208 (void *) MALLOC((*actual_mechs)->elements[i].length); 387 *actual_mechs = (gss_OID_set) MALLOC(sizeof (gss_OID_set_desc)); 391 MALLOC(sizeof (gss_OID_desc) * (*actual_mechs)->count); 397 (void *) MALLOC((*actual_mechs)->elements[i].length); [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | stable.c | 80 Stable = MALLOC(Stablesz * sizeof (*Stable)); in stable_init() 125 n = MALLOC(CHUNK_SIZE); in stable_newchunk() 129 Stablechunks = MALLOC(sizeof (struct chunklst)); in stable_newchunk()
|
H A D | alloc.h | 47 #define MALLOC(nbytes) alloc_malloc(nbytes, __FILE__, __LINE__) macro 54 #define MALLOC(nbytes) alloc_malloc(nbytes, "???", __LINE__) macro
|
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 68 #define MALLOC(size) kmem_alloc(size, KM_SLEEP) macro 71 #define MALLOC(size) malloc(size) macro 117 if ((sid = MALLOC(sidsz)) == NULL) in md_get_sid() 221 if ((ace = MALLOC(alloc_size)) == NULL) in md_get_ace() 350 if ((acl = MALLOC(aclsz)) == NULL) in md_get_acl() 446 if ((sd = MALLOC(sizeof (*sd))) == NULL) in md_get_ntsd() 949 mapinfo = MALLOC(mapcnt * sizeof (*mapinfo)); in smbfs_acl_sd2zfs() 1071 zacep0 = MALLOC(zacl_size); in smbfs_acl_sd2zfs() 1209 sid = MALLOC(size); in smbfs_str2sid() 1386 if ((ntace = MALLOC(alloc_size)) == NULL) { in zace2ntace() [all …]
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | fn.c | 80 struct fn *fnp = MALLOC(sizeof (struct fn)); in fn_new() 92 fnp->fn_buf = MALLOC(buflen); in fn_new() 99 fnp->fn_buf = MALLOC(FN_MIN); in fn_new() 230 newbuf = MALLOC(buflen); in fn_putc() 348 struct fn_list *fnlp = MALLOC(sizeof (struct fn_list)); in fn_list_new()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | hmac.c | 153 if ((xorkey = (unsigned char *) MALLOC(blocksize)) == NULL) in krb5_hmac() 155 if ((ihash = (unsigned char *) MALLOC(hashsize)) == NULL) { in krb5_hmac() 159 if ((hashin = (krb5_data *)MALLOC(sizeof(krb5_data)*(icount+1))) == NULL) { in krb5_hmac()
|
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | revnetgroup.c | 211 new = MALLOC(groupentrynode); in newentry() 215 new->groups = MALLOC(stringnode); in newentry() 239 prev->next = MALLOC(stringnode); in appendgroup()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/ |
H A D | old_decrypt.c | 67 if ((output.data = (char *) MALLOC(output.length)) == NULL) { in krb5_old_decrypt() 84 cn = MALLOC(blocksize); in krb5_old_decrypt()
|