- t2ex
- bsd_source/t2ex/network/net/src_bsd/kern/subr_pool.c - 105.3KB - 3,534 lines
1038: if (kmem_map == NULL ||
1039: (pp->pr_log = malloc(pool_logsize * sizeof(struct pool_log),
1040: M_TEMP, M_NOWAIT)) == NULL)
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_domain.c - 21.1KB - 741 lines
394:
395: if ((sa = malloc(reallen, M_SOCKADDR, flags)) == NULL)
396: return NULL;
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_mbuf2.c - 12.9KB - 420 lines
262: return (NULL);
263: t = malloc(len + sizeof(struct m_tag), M_PACKET_TAGS, wait);
264: if (t == NULL)
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_syscalls.c - 40.9KB - 1,442 lines
576: }
577: iov = malloc(sizeof(struct iovec) * mp->msg_iovlen,
578: M_IOV, M_WAITOK);
- More results from uipc_syscalls.c
- bsd_source/t2ex/network/net/src_bsd/net/bpf.c - 56.1KB - 2,015 lines
453:
454: d = malloc(sizeof(*d), M_DEVBUF, M_WAITOK|M_ZERO);
455: #ifdef T2EX
- More results from bpf.c
- bsd_source/t2ex/network/net/src_bsd/net/if.c - 61.4KB - 2,117 lines
206: {
207: return malloc(sizeof(struct ifnet), M_DEVBUF, M_WAITOK|M_ZERO);
208: }
- More results from if.c
- bsd_source/t2ex/network/net/src_bsd/net/if_loop.c - 15.0KB - 589 lines
241: #ifdef MBUFTRACE
242: ifp->if_mowner = malloc(sizeof(struct mowner), M_DEVBUF,
243: M_WAITOK | M_ZERO);
- bsd_source/t2ex/network/net/src_bsd/net/if_media.c - 17.2KB - 545 lines
147:
148: entry = malloc(sizeof(*entry), M_IFMEDIA, M_NOWAIT);
149: #ifndef T2EX
- More results from if_media.c
- bsd_source/t2ex/network/net/src_bsd/net/if_tun.c - 33.3KB - 1,241 lines
199: /* Allocate a new instance */
200: tp = malloc(sizeof(*tp), M_DEVBUF, M_WAITOK|M_ZERO);
201: #ifdef T2EX
- bsd_source/t2ex/network/net/src_bsd/net/radix.h - 7.1KB - 164 lines
130:
131: #define R_Malloc(p, t, n) (p = (t) malloc((size_t)(n), M_RTABLE, M_NOWAIT))
132: #define Free(p) free(p, M_RTABLE);