Searched refs:nm_os_malloc (Results 1 – 12 of 12) sorted by relevance
124 struct nmreq_header *hdr = nm_os_malloc(sizeof(*hdr)); in nmreq_from_legacy()146 struct nmreq_register *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()156 struct nmreq_vale_attach *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()173 hdr->nr_body = (uintptr_t)nm_os_malloc(sizeof(struct nmreq_vale_detach)); in nmreq_from_legacy()178 struct nmreq_port_hdr *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()187 struct nmreq_vale_newif *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()204 struct nmreq_vale_polling *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()236 struct nmreq_vale_list *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()244 struct nmreq_port_info_get *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()
134 nna = nm_os_malloc(sizeof(*nna)); in netmap_get_null_na()
326 gna->mit = nm_os_malloc(na->num_rx_rings * sizeof(struct nm_generic_mit)); in generic_netmap_register()353 nm_os_malloc(na->num_tx_desc * sizeof(struct mbuf *)); in generic_netmap_register()1139 gna = nm_os_malloc(sizeof(*gna)); in generic_netmap_attach()
404 p->bitmap = nm_os_malloc(sizeof(p->bitmap[0]) * n); in netmap_init_obj_allocator_bitmap()773 lut = nm_os_malloc(n); in nm_alloc_lut()1697 d = nm_os_malloc(size); in _netmap_mem_private_new()1849 nmd = nm_os_malloc(sizeof(*nmd)); in netmap_mem_get_allocator()2416 p->invalid_bitmap = nm_os_malloc(sizeof(uint32_t) * p->bitmap_slots); in netmap_mem_ext_create()2514 struct mem_pt_if *ptif = nm_os_malloc(sizeof(*ptif)); in netmap_mem_pt_guest_ifp_add()2888 ptnmd = nm_os_malloc(sizeof(struct netmap_mem_ptg)); in netmap_mem_pt_guest_create()
213 b->ht = nm_os_malloc(sizeof(struct nm_hash_ent) * NM_BDG_HASH); in nm_find_bridge()744 bps->kthreads = nm_os_malloc(sizeof(struct nm_bdg_kthread) * bps->ncpus); in nm_bdg_create_kthreads()903 bps = nm_os_malloc(sizeof(*bps)); in nm_bdg_ctl_polling_start()1802 b = nm_os_malloc(sizeof(struct nm_bridge) * n); in netmap_init_bridges2()
755 mna = nm_os_malloc(sizeof(*mna)); in netmap_get_pipe_na()797 sna = nm_os_malloc(sizeof(*mna)); in netmap_get_pipe_na()
630 args = nm_os_malloc(num_rings * sizeof(args[0])); in netmap_sync_kloop()705 poll_ctx = nm_os_malloc(sizeof(*poll_ctx) + in netmap_sync_kloop()
230 ft = nm_os_malloc(l); in nm_alloc_bdgfwd()1154 vpna = nm_os_malloc(sizeof(*vpna)); in netmap_vale_vp_create()1281 bna = nm_os_malloc(sizeof(*bna)); in netmap_vale_bwrap_attach()
867 na->tx_rings = nm_os_malloc((size_t)len); in netmap_krings_create()1114 priv = nm_os_malloc(sizeof(struct netmap_priv_d)); in netmap_priv_new()2179 tmp = nm_os_malloc(csb_size); in netmap_csb_validate()3410 ker = nm_os_malloc(bufsz); in nmreq_copyin()4111 hwna = nm_os_malloc(size); in netmap_attach_ext()
129 nm_os_malloc(size_t size) in nm_os_malloc() function693 e = nm_os_malloc(sizeof(*e)); in nm_os_extmem_create()
950 mna = nm_os_malloc(sizeof(*mna)); in netmap_get_monitor_na()
308 void *nm_os_malloc(size_t);