| /xnu-8019.80.24/bsd/sys/ |
| H A D | malloc.h | 146 #define MALLOC(space, cast, size, type, flags) \ macro 196 #define MALLOC(space, cast, size, type, flags) \ macro
|
| /xnu-8019.80.24/bsd/skywalk/lib/ |
| H A D | net_filter_event.c | 114 MALLOC(nwk_wqe, struct nwk_wq_entry *, in net_filter_event_enqueue()
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | dhcp_options.c | 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 D | ip_compat.h | 322 # define KMALLOC(a, b, c) MALLOC((a), b, (c), M_PFIL, M_NOWAIT) 326 # define KMALLOC(a, b, c) MALLOC((a), b, (c), M_TEMP, M_NOWAIT)
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | if_low_power_mode.c | 162 MALLOC(event_nwk_wq_entry, struct if_low_power_ev_nwk_wq_entry *,
|
| H A D | ndrv.c | 742 MALLOC(proto_param.demux_array, struct ifnet_demux_desc*, in ndrv_setspec() 914 MALLOC(ndrv_multi, struct ndrv_multiaddr*, sizeof(struct ndrv_multiaddr) - in ndrv_do_add_multicast()
|
| H A D | if_llatbl.c | 645 MALLOC(llt->lle_head, struct llentries *, sizeof(struct llentries) * hsize, in lltable_allocate_htbl()
|
| H A D | packet_mangler.c | 234 MALLOC(tmp, in pkt_mnglr_ctl_connect()
|
| H A D | kpi_interface.c | 2092 MALLOC(*addresses, ifaddr_t *, sizeof(ifaddr_t) * (count + 1), in ifnet_get_address_list_family_internal() 2408 MALLOC(*addresses, ifmultiaddr_t *, sizeof(ifmultiaddr_t) * (cmax + 1), in ifnet_get_multicast_list() 2545 MALLOC(*list, ifnet_t *, sizeof(ifnet_t) * (cnt + 1), in ifnet_list_get_common()
|
| H A D | nat464_utils.c | 1261 MALLOC(p_ev, struct in6_clat46_event_nwk_wq_entry *, in in6_clat46_event_enqueue_nwk_wq_entry()
|
| /xnu-8019.80.24/bsd/miscfs/mockfs/ |
| H A D | mockfs_vfsops.c | 83 MALLOC(mockfs_mount_data, mockfs_mount_t, sizeof(*mockfs_mount_data), M_TEMP, M_WAITOK | M_ZERO); in mockfs_mountroot()
|
| H A D | mockfs_fsnode.c | 88 MALLOC(*fsnpp, typeof(*fsnpp), sizeof(**fsnpp), M_TEMP, M_WAITOK | M_ZERO); in mockfs_fsnode_create()
|
| /xnu-8019.80.24/bsd/nfs/ |
| H A D | nfs_srvcache.c | 303 MALLOC(rp, struct nfsrvcache *, sizeof *rp, M_NFSD, M_WAITOK); in nfsrv_getcache()
|
| H A D | xdr_subs.h | 288 MALLOC(buf, void *, size, M_TEMP, M_WAITOK); in xb_malloc()
|
| H A D | nfs_gss.c | 1123 MALLOC(cksum.value, void *, verflen, M_TEMP, M_WAITOK); in nfs_gss_clnt_verf_get() 1196 MALLOC(cksum.value, void *, cksum.length, M_TEMP, M_WAITOK); 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() 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() 3673 MALLOC(lucid_ctx_buffer, void *, lucidlen, M_TEMP, M_WAITOK | M_ZERO); in nfs_gss_svc_gssd_upcall()
|
| H A D | nfs4_subs.c | 2077 … MALLOC(fsp->np_components, char **, fsp->np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO); in nfs4_parsefattr() 2120 …MALLOC(nfslsp->nl_locations, struct nfs_fs_location **, nfslsp->nl_numlocs * sizeof(struct nfs_fs_… in nfs4_parsefattr() 2140 …MALLOC(fsl->nl_servers, struct nfs_fs_server **, fsl->nl_servcount * sizeof(struct nfs_fs_server*)… 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()
|
| H A D | nfs_vfsops.c | 1669 …MALLOC(nfsp2.np_components, char **, nfsp2.np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO… 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() 2723 …MALLOC(nmp->nm_locations.nl_locations, struct nfs_fs_location **, nmp->nm_locations.nl_numlocs * s… in mountnfs() 2739 …MALLOC(fsl->nl_servers, struct nfs_fs_server **, fsl->nl_servcount * sizeof(struct nfs_fs_server*)… in mountnfs() 2770 … MALLOC(fss->ns_addresses, char **, fss->ns_addrcount * sizeof(char *), M_TEMP, M_WAITOK | M_ZERO); in mountnfs() 2803 … MALLOC(fsp->np_components, char **, fsp->np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO); in mountnfs() 2922 MALLOC(nmp->nm_nfs_localport, char *, len + 1, M_TEMP, M_WAITOK | M_ZERO); in mountnfs() 2943 MALLOC(nmp->nm_mount_localport, char *, len + 1, M_TEMP, M_WAITOK | M_ZERO); in mountnfs()
|
| H A D | nfs_serv.c | 794 MALLOC(uio_bufp, char*, uio_buflen, M_TEMP, M_WAITOK); in nfsrv_readlink() 1006 MALLOC(uio_bufp, char *, UIO_SIZEOF(mreadcnt), M_TEMP, M_WAITOK); in nfsrv_read() 1411 MALLOC(uio_bufp, char *, UIO_SIZEOF(mcount), M_TEMP, M_WAITOK); in nfsrv_write() 1724 MALLOC(uio_bufp, char *, UIO_SIZEOF(i), M_TEMP, M_WAITOK); in nfsrv_writegather()
|
| /xnu-8019.80.24/doc/ |
| H A D | allocators.md | 49 any legacy MALLOC/FREE interfaces over time. 175 <th>MALLOC</th> 221 exactly like `MALLOC` otherwise. 361 (resp. `MALLOC`), then the zone allocator knows not to issue this extraneous
|
| /xnu-8019.80.24/bsd/vfs/ |
| H A D | vfs_cprotect.c | 138 MALLOC(cpx, cpx_t, cpx_size(key_len), M_TEMP, M_WAITOK); in cpx_alloc()
|
| /xnu-8019.80.24/osfmk/device/ |
| H A D | subrs.c | 586 MALLOC(copy, char *, len, type, M_WAITOK); in STRDUP()
|
| /xnu-8019.80.24/bsd/miscfs/devfs/ |
| H A D | devfs_tree.c | 534 MALLOC(dnp, devnode_t *, sizeof(devnode_t), M_DEVFSNODE, M_WAITOK); in dev_add_node() 1443 …MALLOC(dvearr, devfs_vnode_event_t, count * sizeof(struct devfs_vnode_event), M_TEMP, M_WAITOK | M… in devfs_init_event_log()
|
| /xnu-8019.80.24/security/ |
| H A D | mac_base.c | 447 MALLOC(new_mles, struct mac_label_element **, in mac_policy_addto_labellist() 454 MALLOC(new_mlls, struct mac_label_listener **, in mac_policy_addto_labellist()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | uipc_domain.c | 1134 MALLOC(p_protoctl_ev, struct protoctl_event_nwk_wq_entry *, in protoctl_event_enqueue_nwk_wq_entry()
|
| H A D | kpi_socket.c | 857 MALLOC(uio_bufp, char *, UIO_SIZEOF(msg->msg_iovlen), M_TEMP, M_WAITOK); in sock_send_internal()
|