Home
last modified time | relevance | path

Searched refs:MALLOC (Results 1 – 25 of 36) sorted by relevance

12

/xnu-8019.80.24/bsd/sys/
H A Dmalloc.h146 #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 Dnet_filter_event.c114 MALLOC(nwk_wqe, struct nwk_wq_entry *, in net_filter_event_enqueue()
/xnu-8019.80.24/bsd/netinet/
H A Ddhcp_options.c70 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.h322 # 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 Dif_low_power_mode.c162 MALLOC(event_nwk_wq_entry, struct if_low_power_ev_nwk_wq_entry *,
H A Dndrv.c742 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 Dif_llatbl.c645 MALLOC(llt->lle_head, struct llentries *, sizeof(struct llentries) * hsize, in lltable_allocate_htbl()
H A Dpacket_mangler.c234 MALLOC(tmp, in pkt_mnglr_ctl_connect()
H A Dkpi_interface.c2092 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 Dnat464_utils.c1261 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 Dmockfs_vfsops.c83 MALLOC(mockfs_mount_data, mockfs_mount_t, sizeof(*mockfs_mount_data), M_TEMP, M_WAITOK | M_ZERO); in mockfs_mountroot()
H A Dmockfs_fsnode.c88 MALLOC(*fsnpp, typeof(*fsnpp), sizeof(**fsnpp), M_TEMP, M_WAITOK | M_ZERO); in mockfs_fsnode_create()
/xnu-8019.80.24/bsd/nfs/
H A Dnfs_srvcache.c303 MALLOC(rp, struct nfsrvcache *, sizeof *rp, M_NFSD, M_WAITOK); in nfsrv_getcache()
H A Dxdr_subs.h288 MALLOC(buf, void *, size, M_TEMP, M_WAITOK); in xb_malloc()
H A Dnfs_gss.c1123 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 Dnfs4_subs.c2077MALLOC(fsp->np_components, char **, fsp->np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO); in nfs4_parsefattr()
2120MALLOC(nfslsp->nl_locations, struct nfs_fs_location **, nfslsp->nl_numlocs * sizeof(struct nfs_fs_… in nfs4_parsefattr()
2140MALLOC(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()
2190MALLOC(fsp->np_components, char **, fsp->np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO); in nfs4_parsefattr()
H A Dnfs_vfsops.c1669MALLOC(nfsp2.np_components, char **, nfsp2.np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO… in nfs4_mount_update_path_with_symlink()
1780MALLOC(fspath.np_components, char **, fspath.np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZE… in nfs4_mount()
1964MALLOC(fspath2.np_components, char **, fspath2.np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_… in nfs4_mount()
2723MALLOC(nmp->nm_locations.nl_locations, struct nfs_fs_location **, nmp->nm_locations.nl_numlocs * s… in mountnfs()
2739MALLOC(fsl->nl_servers, struct nfs_fs_server **, fsl->nl_servcount * sizeof(struct nfs_fs_server*)… in mountnfs()
2770MALLOC(fss->ns_addresses, char **, fss->ns_addrcount * sizeof(char *), M_TEMP, M_WAITOK | M_ZERO); in mountnfs()
2803MALLOC(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 Dnfs_serv.c794 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 Dallocators.md49 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 Dvfs_cprotect.c138 MALLOC(cpx, cpx_t, cpx_size(key_len), M_TEMP, M_WAITOK); in cpx_alloc()
/xnu-8019.80.24/osfmk/device/
H A Dsubrs.c586 MALLOC(copy, char *, len, type, M_WAITOK); in STRDUP()
/xnu-8019.80.24/bsd/miscfs/devfs/
H A Ddevfs_tree.c534 MALLOC(dnp, devnode_t *, sizeof(devnode_t), M_DEVFSNODE, M_WAITOK); in dev_add_node()
1443MALLOC(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 Dmac_base.c447 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 Duipc_domain.c1134 MALLOC(p_protoctl_ev, struct protoctl_event_nwk_wq_entry *, in protoctl_event_enqueue_nwk_wq_entry()
H A Dkpi_socket.c857 MALLOC(uio_bufp, char *, UIO_SIZEOF(msg->msg_iovlen), M_TEMP, M_WAITOK); in sock_send_internal()

12