/darwin-on-arm/xnu/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);
|
/darwin-on-arm/xnu/bsd/dev/random/YarrowCoreLib/port/ |
H A D | smf.c | 51 mem = _MALLOC (request, M_DEVBUF, M_WAITOK);
|
/darwin-on-arm/xnu/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 | 250 MALLOC(pluskey, HFSPlusCatalogKey *, sizeof(HFSPlusCatalogKey), M_TEMP, M_WAITOK); 312 MALLOC(keyp, CatalogKey *, sizeof(CatalogKey), M_TEMP, M_WAITOK); 362 MALLOC(iterator, BTreeIterator *, 2 * sizeof(*iterator), M_TEMP, M_WAITOK); 425 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 429 MALLOC(recp, CatalogRecord *, sizeof(CatalogRecord), M_TEMP, M_WAITOK); 462 MALLOC(pluskey, HFSPlusCatalogKey *, sizeof(HFSPlusCatalogKey), M_TEMP, M_WAITOK); 497 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 501 MALLOC(recp, CatalogRecord *, sizeof(CatalogRecord), M_TEMP, M_WAITOK); 653 MALLOC(recp, CatalogRecord *, sizeof(CatalogRecord), M_TEMP, M_WAITOK); 655 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); [all...] |
/darwin-on-arm/xnu/security/ |
H A D | mac_alloc.c | 57 if (how == M_WAITOK) 149 if (how == M_WAITOK)
|
H A D | mac_base.c | 311 sizeof(struct mac_label_journal), M_MACTEMP, M_WAITOK); 615 mpc->mpc_labelname_count, M_MACTEMP, M_WAITOK | M_ZERO); 619 M_MACTEMP, M_WAITOK); 623 mpc->mpc_labelname_count, M_MACTEMP, M_WAITOK); 626 sizeof(struct mac_label_listener), M_MACTEMP, M_WAITOK); 1186 MALLOC(scratch_base, char *, strlen(elementlist)+1, M_MACTEMP, M_WAITOK); 1335 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK); 1344 MALLOC(buffer, char *, mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); 1346 buffer, mac.m_buflen, M_WAITOK); 1383 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK); [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);
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace_alloc.c | 124 return _MALLOC(size, M_TEMP, M_WAITOK);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | multicast_list.c | 132 mc = _MALLOC(sizeof(struct multicast_entry), M_DEVBUF, M_WAITOK);
|
H A D | kext_net.c | 187 MALLOC(kp, struct kextcb *, sizeof(*kp), M_TEMP, M_WAITOK); 239 MALLOC(g_symantec_if_funcs, struct sockif*, sizeof(*g_symantec_if_funcs), M_TEMP, M_WAITOK); 248 MALLOC(g_symantec_util_funcs, struct sockutil*, sizeof(*g_symantec_util_funcs), M_TEMP, 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); 720 sizeof(struct ndrv_demux_desc), M_TEMP, M_WAITOK); 727 M_TEMP, M_WAITOK); 901 sizeof(struct sockaddr) + sopt->sopt_valsize, M_IFADDR, M_WAITOK); 953 M_TEMP, M_WAITOK);
|
H A D | raw_cb.c | 172 nam = m_copym(nam, 0, M_COPYALL, M_WAITOK);
|
/darwin-on-arm/xnu/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);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | nd6_prproxy.c | 260 ndprl = (how == M_WAITOK) ? zalloc(ndprl_zone) : 447 up = nd6_ndprl_alloc(M_WAITOK); 486 down = nd6_ndprl_alloc(M_WAITOK); 643 up = nd6_ndprl_alloc(M_WAITOK); 670 down = nd6_ndprl_alloc(M_WAITOK); 785 ndprl = nd6_ndprl_alloc(M_WAITOK); 900 ndprl = nd6_ndprl_alloc(M_WAITOK); 1015 ndprl = nd6_ndprl_alloc(M_WAITOK); 1050 ndprl = nd6_ndprl_alloc(M_WAITOK); 1123 ssrc = (how == M_WAITOK) [all...] |
H A D | in6_mcast.c | 317 M_WAITOK | M_ZERO)) == NULL) 324 M_WAITOK | M_ZERO)) == NULL) 563 inm = in6_multi_alloc(M_WAITOK); 658 nims = ip6ms_alloc(M_WAITOK); 707 lims = in6ms_alloc(M_WAITOK); 738 lims = in6ms_alloc(M_WAITOK); 912 nims = ip6ms_alloc(M_WAITOK); 1196 imm = in6_multi_mship_alloc(M_WAITOK); 1567 imo = ip6_allocmoptions(M_WAITOK); 1572 M_WAITOK | M_ZER [all...] |
/darwin-on-arm/xnu/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 | 445 M_WAITOK); 462 ar->k_ar.ar_arg_opaque = malloc(size, M_AUDITDATA, M_WAITOK); 489 ar->k_ar.ar_arg_data = malloc(sz, M_AUDITDATA, M_WAITOK); 685 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); 759 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); 857 ar->k_ar.ar_arg_argv = malloc(length, M_AUDITTEXT, M_WAITOK); 874 ar->k_ar.ar_arg_envv = malloc(length, M_AUDITTEXT, M_WAITOK);
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_init.c | 167 vfs_opv_numops*sizeof(PFIvp), M_TEMP, M_WAITOK); 443 M_MOUNT, M_WAITOK); 554 M_TEMP, M_WAITOK);
|
/darwin-on-arm/xnu/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);
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_encap.c | 390 ep = _MALLOC(sizeof(*ep), M_NETADDR, M_WAITOK); /*XXX*/ 432 ep = _MALLOC(sizeof(*ep), M_NETADDR, M_WAITOK); /*XXX*/ 538 sizeof(struct encaptabtag), M_WAITOK, m);
|
/darwin-on-arm/xnu/bsd/dev/arm/ |
H A D | mem.c | 214 MALLOC(devzerobuf, caddr_t, PAGE_SIZE, M_TEMP, M_WAITOK);
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | mem.c | 210 MALLOC(devzerobuf, caddr_t,PAGE_SIZE, M_TEMP, M_WAITOK);
|
/darwin-on-arm/xnu/bsd/net/altq/ |
H A D | altq_fairq.c | 151 fif = fairq_alloc(ifp, M_WAITOK, TRUE);
|
H A D | altq_priq.c | 118 pif = priq_alloc(ifp, M_WAITOK, TRUE);
|