/xnu-2782.1.97/bsd/net/altq/ |
H A D | altq_qfq.c | 89 qif = qfq_alloc(ifp, M_WAITOK, TRUE);
|
/xnu-2782.1.97/bsd/net/ |
H A D | net_str_id.c | 180 iffmid = _MALLOC(iffmid_size, M_TEMP, M_WAITOK);
|
H A D | radix.h | 194 #define R_Malloc(p, t, n) (p = (t) _MALLOC((uint32_t)(n), M_RTABLE, M_WAITOK))
|
H A D | necp.c | 764 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 D | pf_if.c | 128 PFI_MTYPE, M_WAITOK); 156 if ((kif = _MALLOC(sizeof (*kif), PFI_MTYPE, M_WAITOK|M_ZERO)) == NULL) 518 M_WAITOK);
|
H A D | kpi_protocol.c | 110 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 D | malloc.h | 81 #define M_WAITOK 0x0000 macro
|
/xnu-2782.1.97/bsd/hfs/hfscommon/Catalog/ |
H A D | CatalogUtilities.c | 61 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 D | FileIDsServices.c | 465 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 D | rangelist.c | 103 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 D | hfs_xattr.c | 479 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 D | in6_cga.c | 210 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 D | posix_shm.c | 399 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 D | posix_sem.c | 390 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 D | tty_ptmx.c | 305 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 D | tty_subr.c | 106 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 D | bsd_stubs.c | 349 MALLOC(newlock, devsw_lock_t, sizeof(struct devsw_lock), M_TEMP, M_WAITOK | M_ZERO);
|
H A D | kern_authorization.c | 191 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 D | in_mcast.c | 310 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 D | dhcp_options.c | 69 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 D | dtrace_glue.c | 417 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 D | dtrace_ptss.c | 157 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 D | devfs_tree.c | 201 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 D | nfs4_subs.c | 135 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 D | BTreeWrapper.c | 48 MALLOC (iterator, struct BTreeIterator *, sizeof (struct BTreeIterator), M_TEMP, M_WAITOK);
|