/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(iterato [all...] |
H A D | rangelist.c | 105 MALLOC(range, struct rl_entry *, sizeof(*range), M_TEMP, M_WAITOK); 206 MALLOC(splitrange, struct rl_entry *, sizeof *splitrange, M_TEMP, M_WAITOK);
|
H A D | hfs_xattr.c | 472 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 484 MALLOC(recp, HFSPlusAttrRecord *, bufsize, M_TEMP, M_WAITOK); 575 MALLOC(extentbuf, HFSPlusExtentDescriptor *, extentbufsize, M_TEMP, M_WAITOK); 887 MALLOC(user_data_ptr, void *, attrsize, M_TEMP, M_WAITOK); 1010 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 1061 MALLOC(extentptr, HFSPlusExtentDescriptor *, extentbufsize, M_TEMP, M_WAITOK); 1100 MALLOC(recp, HFSPlusAttrRecord *, sizeof(HFSPlusAttrRecord), M_TEMP, M_WAITOK); 1161 MALLOC(recp, HFSPlusAttrRecord *, btdata.itemSize, M_TEMP, M_WAITOK); 1424 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 1506 MALLOC(iterato [all...] |
H A D | hfs_cprotect.c | 1034 MALLOC (newxattr, struct cp_xattr_v4*, sizeof(struct cp_xattr_v4), M_TEMP, M_WAITOK); 1058 MALLOC (newxattr, struct cp_xattr_v2*, sizeof(struct cp_xattr_v2), M_TEMP, M_WAITOK); 1195 MALLOC(cp_entry, struct cprotect *, sizeof(struct cprotect) + keylen, 1239 MALLOC (xattr, struct cp_xattr_v4*, sizeof(struct cp_xattr_v4), M_TEMP, M_WAITOK); 1303 MALLOC (xattr, struct cp_xattr_v2*, sizeof(struct cp_xattr_v2), M_TEMP, M_WAITOK);
|
/darwin-on-arm/xnu/security/ |
H A D | mac_base.c | 310 MALLOC(mlj, struct mac_label_journal *, 613 MALLOC(new_mles, struct mac_label_element **, 617 MALLOC(new_mles[idx], struct mac_label_element *, 621 MALLOC(new_mlls, struct mac_label_listener **, 625 MALLOC(new_mlls[idx], struct mac_label_listener *, 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); 1383 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK); 1393 MALLOC(buffe [all...] |
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);
|
H A D | mac_net.c | 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);
|
/darwin-on-arm/xnu/bsd/net/ |
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); 284 MALLOC(np->nd_faddr, struct sockaddr_ndrv*, 460 MALLOC(*nam, struct sockaddr *, len, M_SONAME, M_WAITOK); 482 MALLOC(*nam, struct sockaddr *, len, M_SONAME, M_WAITOK); 719 MALLOC(ndrvDemux, struct ndrv_demux_desc*, proto_param.demux_count * 725 MALLOC(proto_param.demux_array, struct ifnet_demux_desc*, 900 MALLOC(ndrv_multi, struct ndrv_multiaddr*, sizeof(struct ndrv_multiaddr) - 952 MALLOC(multi_addr, struct sockaddr*, sopt->sopt_valsize,
|
H A D | ppp_deflate.c | 162 MALLOC(ptr, void *, items * size, M_DEVBUF, M_NOWAIT); 195 MALLOC(state, struct deflate_state *, sizeof(struct deflate_state), 425 MALLOC(state, struct deflate_state *, sizeof(struct deflate_state),
|
/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/sys/ |
H A D | malloc.h | 255 #define MALLOC(space, cast, size, type, flags) \ macro
|
/darwin-on-arm/xnu/osfmk/device/ |
H A D | subrs.c | 540 * NULL If MALLOC() fails. 543 * it calls MALLOC with M_WAITOK. In fact, you really 559 MALLOC(copy, char *, len, type, M_WAITOK);
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Catalog/ |
H A D | CatalogUtilities.c | 61 MALLOC (searchIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK); 143 MALLOC (searchIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK);
|
H A D | FileIDsServices.c | 444 MALLOC (btIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK); 450 MALLOC (tmpIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK); 641 MALLOC (btIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK); 646 MALLOC (tmpIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK);
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | ddp_usrreq.c | 259 MALLOC(sat, struct sockaddr_at *, sizeof *sat, M_SONAME, M_WAITOK); 285 MALLOC(sat, struct sockaddr_at *, sizeof *sat, M_SONAME, M_WAITOK);
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_init.c | 166 MALLOC(*opv_desc_vector_p, PFIvp*, 553 MALLOC(allocated, struct vfstable *, sizeof(struct vfstable),
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_gss.c | 342 MALLOC(cp, struct nfs_gss_clnt_ctx *, sizeof(*cp), M_TEMP, M_WAITOK|M_ZERO); 393 MALLOC(cp, struct nfs_gss_clnt_ctx *, sizeof(*cp), M_TEMP, M_WAITOK|M_ZERO); 520 MALLOC(gsp, struct gss_seq *, sizeof(*gsp), M_TEMP, M_WAITOK|M_ZERO); 722 MALLOC(cp->gss_clnt_verf, u_char *, verflen, M_TEMP, M_WAITOK|M_ZERO); 1095 MALLOC(cp->gss_clnt_seqbits, uint32_t *, 1247 MALLOC(cp->gss_clnt_handle, u_char *, cp->gss_clnt_handle_len, M_TEMP, M_WAITOK); 1261 MALLOC(cp->gss_clnt_token, u_char *, cp->gss_clnt_tokenlen, M_TEMP, M_WAITOK); 1311 MALLOC(svcname, char *, len, M_TEMP, M_NOWAIT); 1479 MALLOC(cp->gss_clnt_token, u_char *, otokenlen, M_TEMP, M_WAITOK); 1676 MALLOC(nc [all...] |
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); 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_ZERO); 1872 MALLOC(fs [all...] |
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | devfs_tree.c | 200 MALLOC(devfs_hidden_mount, struct mount *, sizeof(struct mount), 398 MALLOC(dirent_p, devdirent_t *, sizeof(devdirent_t), 538 MALLOC(dnp, devnode_t *, sizeof(devnode_t), M_DEVFSNODE, M_WAITOK); 617 MALLOC(dnp->dn_typeinfo.Slnk.name, char *, 1415 MALLOC(dvearr, devfs_vnode_event_t, count * sizeof(struct devfs_vnode_event), M_TEMP, M_WAITOK | M_ZERO);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | decmpfs.c | 98 MALLOC(alloc, allocated *, allocSz, type, flags); 148 #undef MALLOC macro 150 #define MALLOC(space, cast, size, type, flags) (space) = (cast)_malloc(size, type, flags, __FILE__, __LINE__) macro 454 MALLOC(data, char *, sizeof(decmpfs_header), M_TEMP, M_WAITOK); 476 MALLOC(data, char *, attr_size + sizeof(hdr->attr_size), M_TEMP, M_WAITOK); 1563 MALLOC(data, char *, allocSize, M_TEMP, M_WAITOK);
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | dhcp_options.c | 69 MALLOC(data, void *, size, M_TEMP, M_WAITOK); 78 MALLOC(data, void *, newsize, M_TEMP, M_WAITOK);
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | BTreeWrapper.c | 48 MALLOC (iterator, struct BTreeIterator *, sizeof (struct BTreeIterator), M_TEMP, M_WAITOK);
|