Searched refs:M_TEMP (Results 1 - 25 of 103) sorted by relevance

12345

/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);
156 FREE (p, M_TEMP);
H A Drangelist.c105 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 Dhfs_cprotect.c1034 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 Dhfs_catalog.c250 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 Dhfs_xattr.c472 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 Dhfs_hotfiles.c192 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 Ddtrace_alloc.c124 return _MALLOC(size, M_TEMP, M_WAITOK);
144 _FREE(data, M_TEMP);
H A Ddtrace_ptss.c157 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 Ddtrace_glue.c397 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 Dnet_str_id.c179 _FREE(iffmid, M_TEMP);
180 iffmid = _MALLOC(iffmid_size, M_TEMP, M_WAITOK);
204 _FREE(iffmid, M_TEMP);
H A Dpf_ioctl.c301 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 Dif_mib.c181 if ((ifmd_supp = _MALLOC(sizeof (*ifmd_supp), M_TEMP,
193 _FREE(ifmd_supp, M_TEMP);
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);
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Catalog/
H A DFileIDsServices.c444 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 DCatalogUtilities.c61 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 Dnfs_gss.c247 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 Dmalloc.h173 #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 Dvfs_init.c167 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 Dvfs_fsevents.c896 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 Dkern_control.c207 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 Ddecmpfs.c454 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 Dbsd_stubs.c360 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 DBTreeWrapper.c48 MALLOC (iterator, struct BTreeIterator *, sizeof (struct BTreeIterator), M_TEMP, M_WAITOK);
79 FREE (iterator, M_TEMP);
H A DHybridAllocator.c112 * 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 Dah_input.c306 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);

Completed in 109 milliseconds

12345