/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); 156 FREE (p, M_TEMP);
|
H A D | rangelist.c | 105 MALLOC(range, struct rl_entry *, sizeof(*range), M_TEMP, M_WAITOK); 189 FREE(overlap, M_TEMP); 206 MALLOC(splitrange, struct rl_entry *, sizeof *splitrange, M_TEMP, M_WAITOK); 221 FREE(overlap, M_TEMP); 381 FREE(next_range, M_TEMP); 408 FREE(prev_range, M_TEMP);
|
H A D | hfs_cprotect.c | 1034 MALLOC (newxattr, struct cp_xattr_v4*, sizeof(struct cp_xattr_v4), M_TEMP, M_WAITOK); 1053 FREE(newxattr, M_TEMP); 1058 MALLOC (newxattr, struct cp_xattr_v2*, sizeof(struct cp_xattr_v2), M_TEMP, M_WAITOK); 1077 FREE (newxattr, M_TEMP); 1196 M_TEMP, M_WAITOK); 1210 FREE(entry, M_TEMP); 1239 MALLOC (xattr, struct cp_xattr_v4*, sizeof(struct cp_xattr_v4), M_TEMP, M_WAITOK); 1252 FREE (xattr, M_TEMP); 1267 FREE (xattr, M_TEMP); 1278 FREE (xattr, M_TEMP); [all...] |
H A D | hfs_catalog.c | 250 MALLOC(pluskey, HFSPlusCatalogKey *, sizeof(HFSPlusCatalogKey), M_TEMP, M_WAITOK); 260 FREE(pluskey, M_TEMP); 312 MALLOC(keyp, CatalogKey *, sizeof(CatalogKey), M_TEMP, M_WAITOK); 342 FREE(keyp, M_TEMP); 362 MALLOC(iterator, BTreeIterator *, 2 * sizeof(*iterator), M_TEMP, M_WAITOK); 396 FREE(iterator, M_TEMP); 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); 465 FREE(pluskey, M_TEMP); [all...] |
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); 616 FREE(extentbuf, M_TEMP); 633 FREE(iterator, M_TEMP); 636 FREE(recp, M_TEMP); 887 MALLOC(user_data_ptr, void *, attrsize, M_TEMP, M_WAITOK); 916 FREE(user_data_ptr, M_TEMP); 1010 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 1061 MALLOC(extentptr, HFSPlusExtentDescriptor *, extentbufsize, M_TEMP, M_WAITO [all...] |
H A D | hfs_hotfiles.c | 192 FREE(tmp, M_TEMP); 266 MALLOC(hotdata, hotfile_data_t *, size, M_TEMP, M_WAITOK); 366 MALLOC(listp, hotfilelist_t *, size, M_TEMP, M_WAITOK); 421 FREE(hotdata, M_TEMP); 499 FREE(hotdata, M_TEMP); 584 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 705 FREE(iterator, M_TEMP); 972 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 1060 FREE(iterator, M_TEMP); 1097 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITO [all...] |
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace_alloc.c | 124 return _MALLOC(size, M_TEMP, M_WAITOK); 144 _FREE(data, M_TEMP);
|
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); 205 _FREE(ptss_page, M_TEMP); 282 _FREE(temp, M_TEMP);
|
H A D | dtrace_glue.c | 397 wrap_timer_call_t *wrapTC = _MALLOC(sizeof(wrap_timer_call_t), M_TEMP, M_ZERO | M_WAITOK); 410 _FREE((void *)cyclic, M_TEMP); 441 sizeof(cyc_omni_handler_t), M_TEMP, M_ZERO | M_WAITOK); 476 _FREE(cyc_list, M_TEMP); 511 wrap_thread_call_t *wrapTC = _MALLOC(sizeof(wrap_thread_call_t), M_TEMP, M_ZERO | M_WAITOK); 557 _FREE(wrapTC, M_TEMP); 606 for (i = 0; i < NSOFT_STATES; ++i) soft[i] = _MALLOC(size, M_TEMP, M_ZERO | M_WAITOK); 643 for (i = 0; i < NSOFT_STATES; ++i) _FREE( soft[i], M_TEMP ); 659 int *p = (int *)_MALLOC(nelements*sizeof(int), M_TEMP, M_WAITOK); 700 _FREE(buf, M_TEMP); [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | net_str_id.c | 179 _FREE(iffmid, M_TEMP); 180 iffmid = _MALLOC(iffmid_size, M_TEMP, M_WAITOK); 204 _FREE(iffmid, M_TEMP);
|
H A D | pf_ioctl.c | 301 s##_un = _MALLOC(sizeof (*s##_un), M_TEMP, M_WAITOK|M_ZERO); \ 320 _FREE(s##_un, M_TEMP); \ 332 (v) = _MALLOC(sizeof (*(v)), M_TEMP, M_WAITOK|M_ZERO); \ 343 _FREE(v, M_TEMP); \ 373 new_token = _MALLOC(sizeof (struct pfioc_kernel_token), M_TEMP, 409 _FREE(entry, M_TEMP); 428 _FREE(entry, M_TEMP); 833 tag = _MALLOC(sizeof (*tag), M_TEMP, M_WAITOK|M_ZERO); 873 _FREE(p, M_TEMP); 1340 _FREE(rs->rules[rs_num].inactive.ptr_array, M_TEMP); [all...] |
H A D | if_mib.c | 181 if ((ifmd_supp = _MALLOC(sizeof (*ifmd_supp), M_TEMP, 193 _FREE(ifmd_supp, M_TEMP);
|
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);
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Catalog/ |
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); 452 FREE (btIterator, M_TEMP); 525 FREE (tmpIterator, M_TEMP); 526 FREE (btIterator, M_TEMP); 543 FREE (btIterator, M_TEMP); 544 FREE (tmpIterator, M_TEMP); 587 FREE (btIterator, M_TEMP); 588 FREE (tmpIterator, M_TEMP); 614 FREE (tmpIterator, M_TEMP); [all...] |
H A D | CatalogUtilities.c | 61 MALLOC (searchIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK); 92 FREE(searchIterator, M_TEMP); 119 FREE (searchIterator, M_TEMP); 143 MALLOC (searchIterator, struct BTreeIterator*, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK); 166 FREE (searchIterator, M_TEMP);
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_gss.c | 247 nfs_gss_svc_ctx_hashtbl = hashinit(SVC_CTX_HASHSZ, M_TEMP, &nfs_gss_svc_ctx_hash); 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); 1032 FREE(cp->gss_clnt_token, M_TEMP); 1075 FREE(cp->gss_clnt_verf, M_TEMP); 1096 nfsm_rndup((cp->gss_clnt_seqwin + 7) / 8), M_TEMP, M_WAITOK|M_ZERO); 1231 FREE(cp->gss_clnt_token, M_TEMP); 1243 FREE(cp->gss_clnt_handle, M_TEMP); [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | malloc.h | 173 #define M_TEMP 80 /* misc temporary data buffers */ macro 220 #define M_TEMP 80 /* misc temporary data buffers */ macro
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_init.c | 167 vfs_opv_numops*sizeof(PFIvp), M_TEMP, M_WAITOK); 554 M_TEMP, M_WAITOK); 583 FREE(allocated, M_TEMP); 646 FREE(vcdelp, M_TEMP);
|
H A D | vfs_fsevents.c | 896 M_TEMP, M_WAITOK); 1022 FREE(watcher->event_list, M_TEMP); 1026 FREE(watcher->devices_not_to_watch, M_TEMP); 1029 FREE(watcher, M_TEMP); 1669 FREE(tmp, M_TEMP); 1676 M_TEMP, M_WAITOK); 1686 FREE(devices_not_to_watch, M_TEMP); 1697 FREE(tmp, M_TEMP); 1761 FREE(fseh, M_TEMP); 2156 M_TEMP, M_WAITO [all...] |
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_control.c | 207 FREE(kcb, M_TEMP); 224 MALLOC(kcb, struct ctl_cb *, sizeof(struct ctl_cb), M_TEMP, M_WAITOK); 601 MALLOC(data, void *, sopt->sopt_valsize, M_TEMP, M_WAITOK); 612 FREE(data, M_TEMP); 620 MALLOC(data, void *, sopt->sopt_valsize, M_TEMP, M_WAITOK); 641 FREE(data, M_TEMP); 719 MALLOC(kctl, struct kctl *, sizeof(*kctl), M_TEMP, M_WAITOK); 743 FREE(kctl, M_TEMP); 786 FREE(kctl, M_TEMP); 852 FREE(kctl, M_TEMP); [all...] |
H A D | decmpfs.c | 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); 521 if (data) FREE(data, M_TEMP); 613 if (hdr) FREE(hdr, M_TEMP); 765 if (hdr) FREE(hdr, M_TEMP); 830 if (hdr) FREE(hdr, M_TEMP); 1175 if (hdr) FREE(hdr, M_TEMP); 1403 if (hdr) FREE(hdr, M_TEMP); 1453 if (hdr) FREE(hdr, M_TEMP); 1563 MALLOC(data, char *, allocSize, M_TEMP, M_WAITO [all...] |
H A D | bsd_stubs.c | 360 MALLOC(newlock, devsw_lock_t, sizeof(struct devsw_lock), M_TEMP, M_WAITOK | M_ZERO); 407 FREE(tmplock, M_TEMP);
|
/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); 79 FREE (iterator, M_TEMP);
|
H A D | HybridAllocator.c | 112 * Currently, we get memory from the M_TEMP zone. 113 * TODO: Need to get our own zone to avoid bloating the M_TEMP zone. 118 MALLOC(node, extent_node_t *, sizeof(extent_node_t), M_TEMP, M_WAITOK); 131 * Currently, this goes back to the M_TEMP zone. 136 FREE(node, M_TEMP);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ah_input.c | 306 cksum = _MALLOC(siz1, M_TEMP, M_NOWAIT); 321 FREE(cksum, M_TEMP); 347 FREE(cksum, M_TEMP); 353 FREE(cksum, M_TEMP); 760 cksum = _MALLOC(siz1, M_TEMP, M_NOWAIT); 769 FREE(cksum, M_TEMP); 790 FREE(cksum, M_TEMP); 796 FREE(cksum, M_TEMP);
|