Home
last modified time | relevance | path

Searched refs:M_TEMP (Results 1 – 25 of 33) sorted by relevance

12

/xnu-8019.80.24/bsd/miscfs/mockfs/
H A Dmockfs_vfsops.c83 MALLOC(mockfs_mount_data, mockfs_mount_t, sizeof(*mockfs_mount_data), M_TEMP, M_WAITOK | M_ZERO); in mockfs_mountroot()
142 FREE(mockfs_mount_data, M_TEMP); in mockfs_mountroot()
195 FREE(mockfs_mnt, M_TEMP); in mockfs_unmount()
H A Dmockfs_fsnode.c88 MALLOC(*fsnpp, typeof(*fsnpp), sizeof(**fsnpp), M_TEMP, M_WAITOK | M_ZERO); in mockfs_fsnode_create()
163 FREE(fsnp, M_TEMP); in mockfs_fsnode_destroy()
/xnu-8019.80.24/bsd/sys/
H A Dmalloc.h120 #define M_TEMP 80 /* misc temporary data buffers */ macro
191 #define M_TEMP 80 /* misc temporary data buffers */ macro
/xnu-8019.80.24/bsd/netinet/
H A Ddhcp_options.c63 _FREE(ptr, M_TEMP); in my_free()
70 MALLOC(data, void *, size, M_TEMP, M_WAITOK); in my_malloc()
79 MALLOC(data, void *, newsize, M_TEMP, M_WAITOK); in my_realloc()
H A Dip_compat.h326 # define KMALLOC(a, b, c) MALLOC((a), b, (c), M_TEMP, M_NOWAIT)
327 # define KFREE(x) FREE((x), M_TEMP)
328 # define KFREES(x, s) FREE((x), M_TEMP)
H A Draw_ip.c1209 inp_list = _MALLOC(n * sizeof *inp_list, M_TEMP, M_WAITOK);
1254 FREE(inp_list, M_TEMP);
1316 inp_list = _MALLOC(n * sizeof *inp_list, M_TEMP, M_WAITOK);
1360 FREE(inp_list, M_TEMP);
H A Din_pcblist.c357 inp_list = _MALLOC(n * sizeof(*inp_list), M_TEMP, M_WAITOK); in get_pcblist_n()
457 FREE(inp_list, M_TEMP); in get_pcblist_n()
H A Dtcp_cache.c1614 M_TEMP, M_ZERO); in tcp_cache_init()
1620 M_TEMP, M_ZERO); in tcp_cache_init()
/xnu-8019.80.24/bsd/miscfs/nullfs/
H A Dnull_subr.c117 null_node_hashtbl = hashinit(NULL_HASH_SIZE, M_TEMP, &null_hash_mask); in nullfs_init()
127 hashdestroy(null_node_hashtbl, M_TEMP, null_hash_mask); in nullfs_uninit()
/xnu-8019.80.24/bsd/miscfs/bindfs/
H A Dbind_subr.c103 bind_node_hashtbl = hashinit(BIND_HASH_SIZE, M_TEMP, &bind_hash_mask); in bindfs_init()
120 hashdestroy(bind_node_hashtbl, M_TEMP, bind_hash_mask); in bindfs_destroy()
/xnu-8019.80.24/bsd/nfs/
H A Dxdr_subs.h288 MALLOC(buf, void *, size, M_TEMP, M_WAITOK); in xb_malloc()
301 FREE(buf, M_TEMP); in xb_free()
H A Dnfs_gss.c1123 MALLOC(cksum.value, void *, verflen, M_TEMP, M_WAITOK); in nfs_gss_clnt_verf_get()
1130 FREE(cksum.value, M_TEMP); in nfs_gss_clnt_verf_get()
1150 FREE(cksum.value, M_TEMP); in nfs_gss_clnt_verf_get()
1196 MALLOC(cksum.value, void *, cksum.length, M_TEMP, M_WAITOK); in nfs_gss_clnt_verf_get()
1203 FREE(cksum.value, M_TEMP); in nfs_gss_clnt_verf_get()
2087 MALLOC(lucid_ctx_buffer, void *, lucidlen, M_TEMP, M_WAITOK | M_ZERO); in nfs_gss_clnt_gssd_upcall()
2818 nfs_gss_svc_ctx_hashtbl = hashinit(SVC_CTX_HASHSZ, M_TEMP, &nfs_gss_svc_ctx_hash); in nfs_gss_svc_init()
3118 MALLOC(cksum.value, void *, cksum.length, M_TEMP, M_WAITOK); in nfs_gss_svc_cred_get()
3181 MALLOC(cksum.value, void *, cksum.length, M_TEMP, M_WAITOK); in nfs_gss_svc_cred_get()
3195 FREE(cksum.value, M_TEMP); in nfs_gss_svc_cred_get()
[all …]
H A Dnfs_vfsops.c1669 …MALLOC(nfsp2.np_components, char **, nfsp2.np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO… in nfs4_mount_update_path_with_symlink()
1709 FREE(nfsp->np_components, M_TEMP); in nfs4_mount_update_path_with_symlink()
1727 FREE(nfsp2.np_components, M_TEMP); in nfs4_mount_update_path_with_symlink()
1780 …MALLOC(fspath.np_components, char **, fspath.np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZE… in nfs4_mount()
1964 …MALLOC(fspath2.np_components, char **, fspath2.np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_… in nfs4_mount()
1978 FREE(fspath2.np_components, M_TEMP); in nfs4_mount()
1991 FREE(fspath.np_components, M_TEMP); in nfs4_mount()
2168 FREE(fspath.np_components, M_TEMP); in nfs4_mount()
2723 …tion **, nmp->nm_locations.nl_numlocs * sizeof(struct nfs_fs_location*), M_TEMP, M_WAITOK | M_ZERO… in mountnfs()
2739 …uct nfs_fs_server **, fsl->nl_servcount * sizeof(struct nfs_fs_server*), M_TEMP, M_WAITOK | M_ZERO… in mountnfs()
[all …]
H A Dnfs_srvcache.c456 FREE(nfsrv_reqcache_hashtbl, M_TEMP); in nfsrv_cleancache()
H A Dnfs4_subs.c2077 … MALLOC(fsp->np_components, char **, fsp->np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO); in nfs4_parsefattr()
2094 FREE(fsp->np_components, M_TEMP); in nfs4_parsefattr()
2120 …fs_fs_location **, nfslsp->nl_numlocs * sizeof(struct nfs_fs_location*), M_TEMP, M_WAITOK | M_ZERO… in nfs4_parsefattr()
2140 …uct nfs_fs_server **, fsl->nl_servcount * sizeof(struct nfs_fs_server*), M_TEMP, M_WAITOK | M_ZERO… in nfs4_parsefattr()
2167 MALLOC(fss->ns_addresses, char **, sizeof(char *), M_TEMP, M_WAITOK | M_ZERO); in nfs4_parsefattr()
2190 … MALLOC(fsp->np_components, char **, fsp->np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO); in nfs4_parsefattr()
2207 FREE(fsp->np_components, M_TEMP); in nfs4_parsefattr()
H A Dnfs_serv.c211 nfsrv_fmod_hashtbl = hashinit(NFSRVFMODHASHSZ, M_TEMP, &nfsrv_fmod_hash); in nfsrv_init()
794 MALLOC(uio_bufp, char*, uio_buflen, M_TEMP, M_WAITOK); in nfsrv_readlink()
892 FREE(uio_bufp, M_TEMP); in nfsrv_readlink()
1006 MALLOC(uio_bufp, char *, UIO_SIZEOF(mreadcnt), M_TEMP, M_WAITOK); in nfsrv_read()
1088 FREE(uio_bufp, M_TEMP); in nfsrv_read()
1411 MALLOC(uio_bufp, char *, UIO_SIZEOF(mcount), M_TEMP, M_WAITOK); in nfsrv_write()
1492 FREE(uio_bufp, M_TEMP); in nfsrv_write()
1724 MALLOC(uio_bufp, char *, UIO_SIZEOF(i), M_TEMP, M_WAITOK); in nfsrv_writegather()
1753 FREE(uio_bufp, M_TEMP); in nfsrv_writegather()
/xnu-8019.80.24/bsd/dev/dtrace/
H A Ddtrace_glue.c449 _MALLOC(sizeof(cyc_list_t) + NCPU * sizeof(wrap_timer_call_t), M_TEMP, M_ZERO | M_WAITOK); in cyclic_add_omni()
486 _FREE(cyc_list, M_TEMP); in cyclic_remove_omni()
757 return (void *)_MALLOC(bufsize, M_TEMP, M_WAITOK); in kmem_cache_alloc()
764 _FREE(buf, M_TEMP); in kmem_cache_free()
/xnu-8019.80.24/bsd/kern/
H A Dkpi_socket.c857 MALLOC(uio_bufp, char *, UIO_SIZEOF(msg->msg_iovlen), M_TEMP, M_WAITOK); in sock_send_internal()
955 FREE(uio_bufp, M_TEMP); in sock_send_internal()
976 FREE(uio_bufp, M_TEMP); in sock_send_internal()
/xnu-8019.80.24/bsd/net/
H A Dkpi_interface.c2093 M_TEMP, how); in ifnet_get_address_list_family_internal()
2125 FREE(*addresses, M_TEMP); in ifnet_get_address_list_family_internal()
2144 FREE(addresses, M_TEMP); in ifnet_free_address_list()
2409 M_TEMP, M_WAITOK); in ifnet_get_multicast_list()
2442 FREE(addresses, M_TEMP); in ifnet_free_multicast_list()
2546 M_TEMP, M_NOWAIT); in ifnet_list_get_common()
2581 FREE(interfaces, M_TEMP); in ifnet_list_free()
H A Dndrv.c744 M_TEMP, M_WAITOK); in ndrv_setspec()
787 FREE(proto_param.demux_array, M_TEMP); in ndrv_setspec()
H A Dpacket_mangler.c237 M_TEMP, in pkt_mnglr_ctl_connect()
249 FREE(tmp, M_TEMP); in pkt_mnglr_ctl_connect()
H A Dpf_ioctl.c289 s##_un = _MALLOC(sizeof (*s##_un), M_TEMP, M_WAITOK|M_ZERO); \
308 _FREE(s##_un, M_TEMP); \
320 (v) = _MALLOC(sizeof (*(v)), M_TEMP, M_WAITOK|M_ZERO); \
331 _FREE(v, M_TEMP); \
1115 _FREE(rs->rules[rs_num].inactive.ptr_array, M_TEMP); in pf_commit_rules()
1316 _FREE(rs->rules[rs_cnt].inactive.ptr_array, M_TEMP); in pf_setup_pfsync_matching()
1324 M_TEMP, M_WAITOK); in pf_setup_pfsync_matching()
/xnu-8019.80.24/bsd/vfs/
H A Dvfs_cprotect.c138 MALLOC(cpx, cpx_t, cpx_size(key_len), M_TEMP, M_WAITOK); in cpx_alloc()
/xnu-8019.80.24/bsd/miscfs/devfs/
H A Ddevfs_tree.c1443 …MALLOC(dvearr, devfs_vnode_event_t, count * sizeof(struct devfs_vnode_event), M_TEMP, M_WAITOK | M… in devfs_init_event_log()
1465 FREE(delp->del_entries, M_TEMP); in devfs_release_event_log()
/xnu-8019.80.24/bsd/skywalk/mem/
H A Dskmem_test.c237 mbary = _MALLOC(sizeof(struct mbuf *) * MAX_PH_ARY, M_TEMP, in skmem_buflet_tests()
723 _FREE(mbary, M_TEMP); in skmem_buflet_tests()
1942 objary = _MALLOC(sizeof(void *) * objary_max, M_TEMP, in skmem_tests()
1964 _FREE(objary, M_TEMP); in skmem_tests()

12