/macosx-10.10.1/xnu-2782.1.97/bsd/netkey/ |
H A D | keydb.c | 68 p = (struct secpolicy *)_MALLOC(sizeof(*p), M_SECA, M_WAITOK); 97 p = (struct secashead *)_MALLOC(sizeof(*p), M_SECA, M_WAITOK); 129 p = (struct secasvar *)_MALLOC(sizeof(*p), M_SECA, M_WAITOK); 186 p = (struct secreplay *)_MALLOC(sizeof(*p), M_SECA, M_WAITOK); 197 p->bitmap = (caddr_t)_MALLOC(wsize, M_SECA, M_WAITOK); 229 p = (struct secreg *)_MALLOC(sizeof(*p), M_SECA, M_WAITOK);
|
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/ |
H A D | MacOSStubs.c | 138 MALLOC (tmptr, Ptr, byteCount, M_TEMP, M_WAITOK); 149 MALLOC (tmptr, Ptr, byteCount, M_TEMP, M_WAITOK);
|
H A D | hfs_catalog.c | 279 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 283 MALLOC(recp, CatalogRecord *, sizeof(CatalogRecord), M_TEMP, M_WAITOK); 460 MALLOC(pluskey, HFSPlusCatalogKey *, sizeof(HFSPlusCatalogKey), M_TEMP, M_WAITOK); 534 MALLOC(keyp, CatalogKey *, sizeof(CatalogKey), M_TEMP, M_WAITOK); 584 MALLOC(iterator, BTreeIterator *, 2 * sizeof(*iterator), M_TEMP, M_WAITOK); 647 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 651 MALLOC(recp, CatalogRecord *, sizeof(CatalogRecord), M_TEMP, M_WAITOK); 692 MALLOC(pluskey, HFSPlusCatalogKey *, sizeof(HFSPlusCatalogKey), M_TEMP, M_WAITOK); 726 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 730 MALLOC(recp, CatalogRecord *, sizeof(CatalogRecord), M_TEMP, M_WAITOK); [all...] |
/macosx-10.10.1/xnu-2782.1.97/security/ |
H A D | mac_alloc.c | 57 if (how == M_WAITOK) 158 if (how == M_WAITOK)
|
H A D | mac_base.c | 489 mpc->mpc_labelname_count, M_MACTEMP, M_WAITOK | M_ZERO); 493 M_MACTEMP, M_WAITOK); 497 mpc->mpc_labelname_count, M_MACTEMP, M_WAITOK); 500 sizeof(struct mac_label_listener), M_MACTEMP, M_WAITOK); 1040 MALLOC(scratch_base, char *, strlen(elementlist)+1, M_MACTEMP, M_WAITOK); 1189 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK); 1198 MALLOC(buffer, char *, mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); 1200 buffer, mac.m_buflen, M_WAITOK); 1237 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK); 1247 MALLOC(buffer, char *, mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZER [all...] |
H A D | mac_net.c | 110 label = mac_labelzone_alloc(M_WAITOK); 131 label = mac_labelzone_alloc(M_WAITOK); 444 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK); 453 MALLOC(buffer, char *, mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); 490 MALLOC(buffer, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
|
H A D | mac_socket.c | 367 MALLOC(buffer, char *, mac->m_buflen, M_MACTEMP, M_WAITOK); 400 MALLOC(elements, char *, mac->m_buflen, M_MACTEMP, M_WAITOK); 408 MALLOC(buffer, char *, mac->m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); 437 MALLOC(elements, char *, mac->m_buflen, M_MACTEMP, M_WAITOK); 445 MALLOC(buffer, char *, mac->m_buflen, M_MACTEMP, M_WAITOK | M_ZERO);
|
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/ |
H A D | ip_id.c | 159 M_TEMP, M_WAITOK | M_ZERO); 161 M_WAITOK | M_ZERO);
|
H A D | ip_encap.c | 393 ep = _MALLOC(sizeof(*ep), M_NETADDR, M_WAITOK); /*XXX*/ 435 ep = _MALLOC(sizeof(*ep), M_NETADDR, M_WAITOK); /*XXX*/ 541 sizeof(struct encaptabtag), M_WAITOK, m);
|
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/dtrace/ |
H A D | dtrace_alloc.c | 124 return _MALLOC(size, M_TEMP, M_WAITOK);
|
/macosx-10.10.1/smb-759.0/kernel/netsmb/ |
H A D | smb_usr_2.c | 104 SMB_MALLOC(network_pathp, char *, network_path_len, M_TEMP, M_WAITOK | M_ZERO); 126 M_WAITOK | M_ZERO); 181 M_WAITOK | M_ZERO); 234 M_WAITOK | M_ZERO); 317 M_WAITOK | M_ZERO); 355 SMB_MALLOC(network_pathp, char *, network_path_len, M_TEMP, M_WAITOK | M_ZERO); 496 M_WAITOK | M_ZERO); 692 M_WAITOK | M_ZERO); 810 M_WAITOK | M_ZERO);
|
H A D | smb_crypt.c | 102 SMB_MALLOC(ksp, des_key_schedule *, sizeof(des_key_schedule), M_SMBTEMP, M_WAITOK); 173 SMB_MALLOC(p, u_char *, 14+21, M_SMBTEMP, M_WAITOK); 217 SMB_MALLOC(unicode_passwd, uint16_t *, len * sizeof(uint16_t), M_SMBTEMP, M_WAITOK); 344 SMB_MALLOC(uniuser, u_int16_t *, len * sizeof(u_int16_t), M_SMBTEMP, M_WAITOK); 349 SMB_MALLOC(unidest, u_int16_t *, len * sizeof(u_int16_t), M_SMBTEMP, M_WAITOK); 354 SMB_MALLOC(data, u_char *, datalen, M_SMBTEMP, M_WAITOK); 394 SMB_MALLOC(data, u_char *, datalen, M_SMBTEMP, M_WAITOK); 399 SMB_MALLOC(v2resp, u_char *, v2resplen, M_SMBTEMP, M_WAITOK); 627 SMB_MALLOC(mac, u_char *, di->output_size, M_SMBTEMP, M_WAITOK); 742 SMB_MALLOC(mac, u_char *, di->output_size, M_SMBTEMP, M_WAITOK); [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/net/ |
H A D | multicast_list.c | 132 mc = _MALLOC(sizeof(struct multicast_entry), M_DEVBUF, M_WAITOK);
|
H A D | flowadv.c | 152 fce = (how == M_WAITOK) ? zalloc(fadv_zone) : zalloc_noblock(fadv_zone);
|
H A D | raw_cb.c | 179 nam = m_copym(nam, 0, M_COPYALL, M_WAITOK);
|
H A D | ndrv.c | 226 MALLOC(np, struct ndrv_cb *, sizeof(*np), M_PCB, M_WAITOK); 285 nam->sa_len, M_IFADDR, M_WAITOK); 335 np->nd_laddr = _MALLOC(sizeof(struct sockaddr_ndrv), M_IFADDR, M_WAITOK); 460 MALLOC(*nam, struct sockaddr *, len, M_SONAME, M_WAITOK); 482 MALLOC(*nam, struct sockaddr *, len, M_SONAME, M_WAITOK); 725 sizeof(struct ndrv_demux_desc), M_TEMP, M_WAITOK); 732 M_TEMP, M_WAITOK); 896 sizeof(struct sockaddr) + sopt->sopt_valsize, M_IFADDR, M_WAITOK); 948 M_TEMP, M_WAITOK);
|
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/ |
H A D | imageboot.c | 83 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK); 213 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK); 269 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
|
/macosx-10.10.1/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_init.c | 167 vfs_opv_numops*sizeof(PFIvp), M_TEMP, M_WAITOK); 444 MALLOC(oidp, struct sysctl_oid *, sizeof(struct sysctl_oid), M_TEMP, M_WAITOK); 477 M_MOUNT, M_WAITOK); 577 MALLOC(oidp, struct sysctl_oid *, sizeof(struct sysctl_oid), M_TEMP, M_WAITOK); 597 M_TEMP, M_WAITOK);
|
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/ |
H A D | nd6_prproxy.c | 260 ndprl = (how == M_WAITOK) ? zalloc(ndprl_zone) : 466 up = nd6_ndprl_alloc(M_WAITOK); 505 down = nd6_ndprl_alloc(M_WAITOK); 797 up = nd6_ndprl_alloc(M_WAITOK); 824 down = nd6_ndprl_alloc(M_WAITOK); 954 ndprl = nd6_ndprl_alloc(M_WAITOK); 1068 ndprl = nd6_ndprl_alloc(M_WAITOK); 1183 ndprl = nd6_ndprl_alloc(M_WAITOK); 1218 ndprl = nd6_ndprl_alloc(M_WAITOK); 1290 ssrc = (how == M_WAITOK) [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/security/audit/ |
H A D | audit_bsd.h | 93 #ifdef M_WAITOK 94 #undef M_WAITOK macro 95 #define M_WAITOK 0x0000 /* ok to block */ macro
|
H A D | audit_arg.c | 444 M_WAITOK); 461 ar->k_ar.ar_arg_opaque = malloc(size, M_AUDITDATA, M_WAITOK); 488 ar->k_ar.ar_arg_data = malloc(sz, M_AUDITDATA, M_WAITOK); 680 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); 754 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); 852 ar->k_ar.ar_arg_argv = malloc(length, M_AUDITTEXT, M_WAITOK); 869 ar->k_ar.ar_arg_envv = malloc(length, M_AUDITTEXT, M_WAITOK);
|
/macosx-10.10.1/autofs-246/autofs_kext/ |
H A D | auto_vfsops.c | 148 M_WAITOK); 157 MALLOC(fnp, fnnode_t *, sizeof(fnnode_t), M_AUTOFS, M_WAITOK); 164 MALLOC(fnp->fn_name, char *, fnp->fn_namelen + 1, M_AUTOFS, M_WAITOK); 403 MALLOC(fnip, fninfo_t *, sizeof(*fnip), M_AUTOFS, M_WAITOK); 422 MALLOC(fnip->fi_path, char *, len, M_AUTOFS, M_WAITOK); 442 MALLOC(fnip->fi_opts, char *, len, M_AUTOFS, M_WAITOK); 456 MALLOC(fnip->fi_map, char *, len, M_AUTOFS, M_WAITOK); 513 MALLOC(fnip->fi_subdir, char *, len, M_AUTOFS, M_WAITOK); 527 MALLOC(fnip->fi_key, char *, len, M_AUTOFS, M_WAITOK); 729 MALLOC(opts, char *, optslen, M_AUTOFS, M_WAITOK); [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_boot.c | 207 MALLOC_ZONE(nd->nd_root.ndm_path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK); 213 MALLOC_ZONE(nd->nd_root.ndm_mntfrom, char *, MAXPATHLEN, M_NAMEI, M_WAITOK); 267 MALLOC_ZONE(nd->nd_private.ndm_path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK); 273 MALLOC_ZONE(nd->nd_private.ndm_mntfrom, char *, MAXPATHLEN, M_NAMEI, M_WAITOK); 286 MALLOC_ZONE(check_path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
|
/macosx-10.10.1/smb-759.0/kernel/smbfs/ |
H A D | smbfs_smb_2.c | 161 M_WAITOK | M_ZERO); 497 M_WAITOK | M_ZERO); 873 M_WAITOK | M_ZERO); 884 M_WAITOK | M_ZERO); 1330 M_WAITOK | M_ZERO); 1342 M_WAITOK | M_ZERO); 1797 M_WAITOK | M_ZERO); 1808 M_WAITOK | M_ZERO); 2436 M_WAITOK | M_ZERO); 2454 M_WAITOK | M_ZER [all...] |
H A D | smbfs_security.c | 79 SMB_MALLOC(user, char *, MAXPATHLEN, M_TEMP, M_WAITOK | M_ZERO); 85 SMB_MALLOC(group, char *, MAXPATHLEN, M_TEMP, M_WAITOK | M_ZERO); 127 SMB_MALLOC(buffer, char *, buf_len, M_TEMP, M_WAITOK | M_ZERO); 723 SMB_MALLOC(*w_sec, struct ntsecdesc *, np->acl_cache_len, M_TEMP, M_WAITOK); 1132 SMB_MALLOC(w_grp, struct ntsid *, MAXSIDLEN, M_TEMP, M_WAITOK); 1147 SMB_MALLOC(w_usr, struct ntsid *, MAXSIDLEN, M_TEMP, M_WAITOK); 1217 SMB_MALLOC(w_dacl, struct ntacl *, needed, M_TEMP, M_WAITOK); 1429 M_WAITOK | M_ZERO); 1434 SMB_MALLOC(sidbufptr, void *, ntwrk_sid_size, M_TEMP, M_WAITOK); 1485 SMB_MALLOC(ntwrk_sids, void *, sidarraysize, M_TEMP, M_WAITOK | M_ZER [all...] |