nm_os_malloc
priv = nm_os_malloc(sizeof(struct netmap_priv_d));
tmp = nm_os_malloc(csb_size);
ker = nm_os_malloc(bufsz);
hwna = nm_os_malloc(size);
na->tx_rings = nm_os_malloc((size_t)len);
b = nm_os_malloc(sizeof(struct nm_bridge) * n);
b->ht = nm_os_malloc(sizeof(struct nm_hash_ent) * NM_BDG_HASH);
bps->kthreads = nm_os_malloc(sizeof(struct nm_bdg_kthread) * bps->ncpus);
bps = nm_os_malloc(sizeof(*bps));
e = nm_os_malloc(sizeof(*e));
gna = nm_os_malloc(sizeof(*gna));
gna->mit = nm_os_malloc(na->num_rx_rings * sizeof(struct nm_generic_mit));
nm_os_malloc(na->num_tx_desc * sizeof(struct mbuf *));
void *nm_os_malloc(size_t);
args = nm_os_malloc(num_rings * sizeof(args[0]));
poll_ctx = nm_os_malloc(sizeof(*poll_ctx) +
struct nmreq_header *hdr = nm_os_malloc(sizeof(*hdr));
struct nmreq_register *req = nm_os_malloc(sizeof(*req));
struct nmreq_vale_attach *req = nm_os_malloc(sizeof(*req));
hdr->nr_body = (uintptr_t)nm_os_malloc(sizeof(struct nmreq_vale_detach));
struct nmreq_port_hdr *req = nm_os_malloc(sizeof(*req));
struct nmreq_vale_newif *req = nm_os_malloc(sizeof(*req));
struct nmreq_vale_polling *req = nm_os_malloc(sizeof(*req));
struct nmreq_vale_list *req = nm_os_malloc(sizeof(*req));
struct nmreq_port_info_get *req = nm_os_malloc(sizeof(*req));
d = nm_os_malloc(size);
nmd = nm_os_malloc(sizeof(*nmd));
p->invalid_bitmap = nm_os_malloc(sizeof(uint32_t) * p->bitmap_slots);
struct mem_pt_if *ptif = nm_os_malloc(sizeof(*ptif));
ptnmd = nm_os_malloc(sizeof(struct netmap_mem_ptg));
p->bitmap = nm_os_malloc(sizeof(p->bitmap[0]) * n);
lut = nm_os_malloc(n);
mna = nm_os_malloc(sizeof(*mna));
nna = nm_os_malloc(sizeof(*nna));
mna = nm_os_malloc(sizeof(*mna));
sna = nm_os_malloc(sizeof(*mna));
vpna = nm_os_malloc(sizeof(*vpna));
bna = nm_os_malloc(sizeof(*bna));
ft = nm_os_malloc(l);