Searched refs:M_WAITOK (Results 26 - 50 of 211) sorted by relevance

123456789

/xnu-2782.1.97/bsd/net/altq/
H A Daltq_qfq.c89 qif = qfq_alloc(ifp, M_WAITOK, TRUE);
/xnu-2782.1.97/bsd/net/
H A Dnet_str_id.c180 iffmid = _MALLOC(iffmid_size, M_TEMP, M_WAITOK);
H A Dradix.h194 #define R_Malloc(p, t, n) (p = (t) _MALLOC((uint32_t)(n), M_RTABLE, M_WAITOK))
H A Dnecp.c764 MALLOC(response, u_int8_t *, response_size, M_NECP, M_WAITOK);
787 MALLOC(response, u_int8_t *, response_size, M_NECP, M_WAITOK);
810 MALLOC(response, u_int8_t *, response_size, M_NECP, M_WAITOK);
943 MALLOC(new_session, struct necp_session *, sizeof(*new_session), M_NECP, M_WAITOK);
1296 MALLOC(new_service, struct necp_service_registration *, sizeof(*new_service), M_NECP, M_WAITOK);
1398 MALLOC(policy_result, u_int8_t *, policy_result_size, M_NECP, M_WAITOK);
1433 MALLOC(conditions_array, u_int8_t *, conditions_array_size, M_NECP, M_WAITOK);
1545 MALLOC(response, u_int8_t *, response_size, M_NECP, M_WAITOK);
1634 MALLOC(response, u_int8_t *, response_size, M_NECP, M_WAITOK);
1698 MALLOC_ZONE(new_policy, struct necp_session_policy *, sizeof(*new_policy), M_NECP_SESSION_POLICY, M_WAITOK);
[all...]
H A Dpf_if.c128 PFI_MTYPE, M_WAITOK);
156 if ((kif = _MALLOC(sizeof (*kif), PFI_MTYPE, M_WAITOK|M_ZERO)) == NULL)
518 M_WAITOK);
H A Dkpi_protocol.c110 entry = _MALLOC(sizeof (*entry), M_IFADDR, M_WAITOK);
368 _MALLOC(sizeof (struct proto_family_str), M_IFADDR, M_WAITOK);
/xnu-2782.1.97/bsd/sys/
H A Dmalloc.h81 #define M_WAITOK 0x0000 macro
/xnu-2782.1.97/bsd/hfs/hfscommon/Catalog/
H A DCatalogUtilities.c61 MALLOC (searchIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK);
146 MALLOC (searchIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK);
H A DFileIDsServices.c465 MALLOC (btIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK);
471 MALLOC (tmpIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK);
680 MALLOC (btIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK);
685 MALLOC (tmpIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK);
/xnu-2782.1.97/bsd/hfs/
H A Drangelist.c103 MALLOC(range, struct rl_entry *, sizeof(*range), M_TEMP, M_WAITOK);
204 MALLOC(splitrange, struct rl_entry *, sizeof *splitrange, M_TEMP, M_WAITOK);
H A Dhfs_xattr.c479 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK);
490 MALLOC(recp, HFSPlusAttrRecord *, sizeof(HFSPlusAttrRecord), M_TEMP, M_WAITOK);
548 MALLOC(recp, HFSPlusAttrRecord *, bufsize, M_TEMP, M_WAITOK);
619 MALLOC(extentbuf, HFSPlusExtentDescriptor *, extentbufsize, M_TEMP, M_WAITOK);
955 MALLOC(user_data_ptr, void *, attrsize, M_TEMP, M_WAITOK);
1088 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK);
1139 MALLOC(extentptr, HFSPlusExtentDescriptor *, extentbufsize, M_TEMP, M_WAITOK);
1178 MALLOC(recp, HFSPlusAttrRecord *, sizeof(HFSPlusAttrRecord), M_TEMP, M_WAITOK);
1238 MALLOC(recp, HFSPlusAttrRecord *, btdata.itemSize, M_TEMP, M_WAITOK);
1509 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK);
[all...]
/xnu-2782.1.97/bsd/netinet6/
H A Din6_cga.c210 MALLOC(privkeycopy, caddr_t, privkey.iov_len, M_IP6CGA, M_WAITOK);
214 MALLOC(pubkeycopy, caddr_t, pubkey.iov_len, M_IP6CGA, M_WAITOK);
/xnu-2782.1.97/bsd/kern/
H A Dposix_shm.c399 MALLOC_ZONE(pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
460 MALLOC(pcp, struct pshmcache *, sizeof(struct pshmcache), M_SHM, M_WAITOK|M_ZERO);
466 MALLOC(new_pinfo, struct pshminfo *, sizeof(struct pshminfo), M_SHM, M_WAITOK|M_ZERO);
475 MALLOC(new_pnode, struct pshmnode *, sizeof(struct pshmnode), M_SHM, M_WAITOK|M_ZERO);
727 M_SHM, M_WAITOK);
1026 MALLOC_ZONE(pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dposix_sem.c390 MALLOC_ZONE(pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
444 MALLOC(pcp, struct psemcache *, sizeof(struct psemcache), M_SHM, M_WAITOK|M_ZERO);
450 MALLOC(new_pinfo, struct pseminfo *, sizeof(struct pseminfo), M_SHM, M_WAITOK|M_ZERO);
492 MALLOC(new_pnode, struct psemnode *, sizeof(struct psemnode), M_SHM, M_WAITOK|M_ZERO);
680 MALLOC_ZONE(pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dtty_ptmx.c305 MALLOC(new_ptmx_ioctl, struct ptmx_ioctl *, sizeof(struct ptmx_ioctl), M_TTYS, M_WAITOK|M_ZERO);
328 MALLOC(new_pis_ioctl_list, struct ptmx_ioctl **, sizeof(struct ptmx_ioctl *) * (_state.pis_total + PTMX_GROW_VECTOR), M_TTYS, M_WAITOK|M_ZERO);
H A Dtty_subr.c106 MALLOC_ZONE(clp->c_cs, u_char *, size, M_TTYS, M_WAITOK);
112 MALLOC_ZONE(clp->c_cq, u_char *, QMEM(size), M_TTYS, M_WAITOK);
H A Dbsd_stubs.c349 MALLOC(newlock, devsw_lock_t, sizeof(struct devsw_lock), M_TEMP, M_WAITOK | M_ZERO);
H A Dkern_authorization.c191 MALLOC(sp, kauth_scope_t, sizeof(*sp), M_KAUTH, M_WAITOK | M_ZERO);
209 MALLOC(lsp, kauth_listener_t, sizeof(*lsp), M_KAUTH, M_WAITOK);
1057 MALLOC(fsp, kauth_filesec_t, KAUTH_FILESEC_SIZE(count), M_KAUTH, M_WAITOK);
1172 MALLOC(aclp, kauth_acl_t, KAUTH_ACL_SIZE(count), M_KAUTH, M_WAITOK);
/xnu-2782.1.97/bsd/netinet/
H A Din_mcast.c310 M_WAITOK | M_ZERO)) == NULL)
317 M_WAITOK | M_ZERO)) == NULL)
629 inm = in_multi_alloc(M_WAITOK);
719 nims = ipms_alloc(M_WAITOK);
769 lims = inms_alloc(M_WAITOK);
800 lims = inms_alloc(M_WAITOK);
981 nims = ipms_alloc(M_WAITOK);
1671 imo = ip_allocmoptions(M_WAITOK);
1676 M_WAITOK | M_ZERO);
1683 M_INMFILTER, M_WAITOK | M_ZER
[all...]
H A Ddhcp_options.c69 MALLOC(data, void *, size, M_TEMP, M_WAITOK);
78 MALLOC(data, void *, newsize, M_TEMP, M_WAITOK);
/xnu-2782.1.97/bsd/dev/dtrace/
H A Ddtrace_glue.c417 wrap_timer_call_t *wrapTC = _MALLOC(sizeof(wrap_timer_call_t), M_TEMP, M_ZERO | M_WAITOK);
464 sizeof(cyc_omni_handler_t), M_TEMP, M_ZERO | M_WAITOK);
538 wrap_thread_call_t *wrapTC = _MALLOC(sizeof(wrap_thread_call_t), M_TEMP, M_ZERO | M_WAITOK);
633 for (i = 0; i < NSOFT_STATES; ++i) soft[i] = _MALLOC(size, M_TEMP, M_ZERO | M_WAITOK);
686 int *p = (int *)_MALLOC(nelements*sizeof(int), M_TEMP, M_WAITOK);
949 return (void *)_MALLOC(bufsize, M_TEMP, M_WAITOK);
1020 struct blist_hdl *p = _MALLOC(sizeof(struct blist_hdl), M_TEMP, M_WAITOK);
H A Ddtrace_ptss.c157 struct dtrace_ptss_page* ptss_page = _MALLOC(sizeof(struct dtrace_ptss_page), M_TEMP, M_ZERO | M_WAITOK);
/xnu-2782.1.97/bsd/miscfs/devfs/
H A Ddevfs_tree.c201 M_MOUNT, M_WAITOK);
399 M_DEVFSNAME, M_WAITOK);
538 MALLOC(dnp, devnode_t *, sizeof(devnode_t), M_DEVFSNODE, M_WAITOK);
619 M_DEVFSNODE, M_WAITOK);
1436 MALLOC(dvearr, devfs_vnode_event_t, count * sizeof(struct devfs_vnode_event), M_TEMP, M_WAITOK | M_ZERO);
/xnu-2782.1.97/bsd/nfs/
H A Dnfs4_subs.c135 MALLOC(ncip, struct nfs_client_id *, sizeof(struct nfs_client_id), M_TEMP, M_WAITOK);
145 MALLOC(ncip->nci_id, char *, ncip->nci_idlen, M_TEMP, M_WAITOK);
1261 MALLOC_ZONE(id1buf, char*, MAXPATHLEN, M_NAMEI, M_WAITOK);
1681 MALLOC(s, char*, (len + 16 < NFS_MAX_WHO) ? len+16 : NFS_MAX_WHO, M_TEMP, M_WAITOK);
1802 MALLOC(fsp->np_components, char **, fsp->np_compcount * sizeof(char*), M_TEMP, M_WAITOK|M_ZERO);
1827 MALLOC(fsp->np_components[comp], char *, val+1, M_TEMP, M_WAITOK|M_ZERO);
1841 MALLOC(nfslsp->nl_locations, struct nfs_fs_location **, nfslsp->nl_numlocs * sizeof(struct nfs_fs_location*), M_TEMP, M_WAITOK|M_ZERO);
1848 MALLOC(fsl, struct nfs_fs_location *, sizeof(struct nfs_fs_location), M_TEMP, M_WAITOK|M_ZERO);
1858 MALLOC(fsl->nl_servers, struct nfs_fs_server **, fsl->nl_servcount * sizeof(struct nfs_fs_server*), M_TEMP, M_WAITOK|M_ZERO);
1863 MALLOC(fss, struct nfs_fs_server *, sizeof(struct nfs_fs_server), M_TEMP, M_WAITOK|M_ZER
[all...]
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DBTreeWrapper.c48 MALLOC (iterator, struct BTreeIterator *, sizeof (struct BTreeIterator), M_TEMP, M_WAITOK);

Completed in 145 milliseconds

123456789