| /xnu-8019.80.24/bsd/netkey/ |
| H A D | keydb.c | 113 p = (struct secashead *)_MALLOC(sizeof(*p), M_SECA, M_NOWAIT | M_ZERO); in keydb_newsecashead() 116 p = (struct secashead *)_MALLOC(sizeof(*p), M_SECA, in keydb_newsecashead() 149 p = (struct secasvar *)_MALLOC(sizeof(*p), M_SECA, M_WAITOK); 246 p = (struct secreg *)_MALLOC(sizeof(*p), M_SECA, M_WAITOK);
|
| H A D | keysock.c | 392 kp = (struct keycb *)_MALLOC(sizeof(*kp), M_PCB, in key_attach()
|
| H A D | key.c | 355 ((p) = (t) _MALLOC((n), M_SECA, M_WAITOK)) 357 ((p) = (t) _MALLOC((n), M_SECA, M_NOWAIT)) 363 ((p) = (t)_MALLOC((u_int32_t)(n), M_SECA, M_WAITOK)); \ 369 ((p) = (t)_MALLOC((u_int32_t)(n), M_SECA, M_NOWAIT)); \
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | malloc.h | 154 #define _MALLOC(size, type, flags) \ macro 197 (space) = (cast)_MALLOC(size, type, flags) 208 extern void *_MALLOC(
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | bpf_compat.h | 74 #define malloc(size, type, canwait) _MALLOC(size, type, canwait)
|
| H A D | radix.h | 203 #define R_Malloc(p, t, n) (p = (t) _MALLOC((uint32_t)(n), M_RTABLE, M_WAITOK))
|
| H A D | if_stf.c | 311 sc = _MALLOC(sizeof(struct stf_softc), M_DEVBUF, M_WAITOK | M_ZERO); in stfattach()
|
| H A D | pf_ioctl.c | 289 s##_un = _MALLOC(sizeof (*s##_un), M_TEMP, M_WAITOK|M_ZERO); \ 320 (v) = _MALLOC(sizeof (*(v)), M_TEMP, M_WAITOK|M_ZERO); \ 1322 _MALLOC(sizeof(caddr_t) * in pf_setup_pfsync_matching()
|
| H A D | bpf.c | 474 new_dtab = (struct bpf_d **)_MALLOC( in bpf_make_dev_t()
|
| H A D | kpi_interface.c | 2876 ifc = _MALLOC(sizeof(struct if_clone) + IFNAMSIZ + 1, M_CLONE, in ifnet_clone_attach()
|
| H A D | if_bridge.c | 6554 sc->sc_rthash = _MALLOC(sizeof(*sc->sc_rthash) * BRIDGE_RTHASH_SIZE, 6606 new_rthash = _MALLOC(sizeof(*sc->sc_rthash) * new_rthash_size,
|
| H A D | if_bond.c | 2177 _MALLOC(sizeof(*new_array) * ifb->ifb_port_count, M_BOND, M_WAITOK); in bond_add_interface()
|
| /xnu-8019.80.24/bsd/dev/dtrace/ |
| H A D | dtrace_glue.c | 449 _MALLOC(sizeof(cyc_list_t) + NCPU * sizeof(wrap_timer_call_t), M_TEMP, M_ZERO | M_WAITOK); in cyclic_add_omni() 757 return (void *)_MALLOC(bufsize, M_TEMP, M_WAITOK); in kmem_cache_alloc()
|
| H A D | blist.c | 78 #define malloc _MALLOC
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | raw_ip.c | 1209 inp_list = _MALLOC(n * sizeof *inp_list, M_TEMP, M_WAITOK); 1316 inp_list = _MALLOC(n * sizeof *inp_list, M_TEMP, M_WAITOK);
|
| H A D | tcp_cache.c | 1613 tcp_cache = _MALLOC(sizeof(struct tcp_cache_head) * tcp_cache_size, in tcp_cache_init() 1619 tcp_heuristics = _MALLOC(sizeof(struct tcp_heuristics_head) * tcp_cache_size, in tcp_cache_init()
|
| H A D | in_pcblist.c | 357 inp_list = _MALLOC(n * sizeof(*inp_list), M_TEMP, M_WAITOK); in get_pcblist_n()
|
| H A D | ip_dummynet.c | 556 p = _MALLOC(new_size * sizeof(*p), M_DUMMYNET, M_DONTWAIT ); in heap_init() 1975 x->rq = _MALLOC((1 + x->rq_size) * sizeof(struct dn_flow_queue *), in alloc_hash()
|
| H A D | udp_usrreq.c | 1167 inp_list = _MALLOC(n * sizeof(*inp_list), M_TEMP, M_WAITOK); 1290 inp_list = _MALLOC(n * sizeof(*inp_list), M_TEMP, M_WAITOK);
|
| H A D | in_mcast.c | 1686 immp = _MALLOC(sizeof(*immp) * IP_MIN_MEMBERSHIPS, M_IPMOPTS, in inp_findmoptions() 1693 imfp = _MALLOC(sizeof(struct in_mfilter) * IP_MIN_MEMBERSHIPS, in inp_findmoptions()
|
| H A D | tcp_subr.c | 1953 inp_list = _MALLOC(n * sizeof(*inp_list), M_TEMP, M_WAITOK); 2137 inp_list = _MALLOC(n * sizeof(*inp_list), M_TEMP, M_WAITOK);
|
| H A D | in.c | 357 if ((ext = (struct in_ifextra *)_MALLOC(in_extra_bufsize, in in_domifattach()
|
| /xnu-8019.80.24/bsd/netinet6/ |
| H A D | in6_ifattach.c | 747 ext = (struct in6_ifextra *)_MALLOC(in6_extra_bufsize, M_IFADDR, in in6_ifattach_prelim()
|
| H A D | in6_mcast.c | 1599 immp = _MALLOC(sizeof(*immp) * IPV6_MIN_MEMBERSHIPS, M_IP6MOPTS, in in6p_findmoptions() 1606 imfp = _MALLOC(sizeof(struct in6_mfilter) * IPV6_MIN_MEMBERSHIPS, in in6p_findmoptions()
|
| /xnu-8019.80.24/bsd/skywalk/mem/ |
| H A D | skmem_test.c | 237 mbary = _MALLOC(sizeof(struct mbuf *) * MAX_PH_ARY, M_TEMP, in skmem_buflet_tests() 1942 objary = _MALLOC(sizeof(void *) * objary_max, M_TEMP, in skmem_tests()
|