Searched refs:M_WAITOK (Results 1 - 25 of 200) sorted by relevance

12345678

/darwin-on-arm/xnu/bsd/netkey/
H A Dkeydb.c68 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 Dsmf.c51 mem = _MALLOC (request, M_DEVBUF, M_WAITOK);
/darwin-on-arm/xnu/bsd/hfs/
H A DMacOSStubs.c138 MALLOC (tmptr, Ptr, byteCount, M_TEMP, M_WAITOK);
149 MALLOC (tmptr, Ptr, byteCount, M_TEMP, M_WAITOK);
H A Dhfs_catalog.c250 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 Dmac_alloc.c57 if (how == M_WAITOK)
149 if (how == M_WAITOK)
H A Dmac_base.c311 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 Dmac_net.c110 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 Dmac_socket.c367 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 Ddtrace_alloc.c124 return _MALLOC(size, M_TEMP, M_WAITOK);
/darwin-on-arm/xnu/bsd/net/
H A Dmulticast_list.c132 mc = _MALLOC(sizeof(struct multicast_entry), M_DEVBUF, M_WAITOK);
H A Dkext_net.c187 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 Dndrv.c226 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 Draw_cb.c172 nam = m_copym(nam, 0, M_COPYALL, M_WAITOK);
/darwin-on-arm/xnu/bsd/kern/
H A Dimageboot.c83 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 Dnd6_prproxy.c260 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 Din6_mcast.c317 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 Daudit_bsd.h93 #ifdef M_WAITOK
94 #undef M_WAITOK macro
95 #define M_WAITOK 0x0000 /* ok to block */ macro
H A Daudit_arg.c445 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 Dvfs_init.c167 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 Dnfs_boot.c207 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 Dip_encap.c390 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 Dmem.c214 MALLOC(devzerobuf, caddr_t, PAGE_SIZE, M_TEMP, M_WAITOK);
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dmem.c210 MALLOC(devzerobuf, caddr_t,PAGE_SIZE, M_TEMP, M_WAITOK);
/darwin-on-arm/xnu/bsd/net/altq/
H A Daltq_fairq.c151 fif = fairq_alloc(ifp, M_WAITOK, TRUE);
H A Daltq_priq.c118 pif = priq_alloc(ifp, M_WAITOK, TRUE);

Completed in 222 milliseconds

12345678