Home
last modified time | relevance | path

Searched refs:nm_os_malloc (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/sys/dev/netmap/
H A Dnetmap_legacy.c125 struct nmreq_header *hdr = nm_os_malloc(sizeof(*hdr)); in nmreq_from_legacy()
147 struct nmreq_register *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()
157 struct nmreq_vale_attach *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()
174 hdr->nr_body = (uintptr_t)nm_os_malloc(sizeof(struct nmreq_vale_detach)); in nmreq_from_legacy()
179 struct nmreq_port_hdr *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()
188 struct nmreq_vale_newif *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()
205 struct nmreq_vale_polling *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()
237 struct nmreq_vale_list *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()
245 struct nmreq_port_info_get *req = nm_os_malloc(sizeof(*req)); in nmreq_from_legacy()
H A Dnetmap_null.c135 nna = nm_os_malloc(sizeof(*nna)); in netmap_get_null_na()
H A Dnetmap_generic.c325 gna->mit = nm_os_malloc(na->num_rx_rings * sizeof(struct nm_generic_mit)); in generic_netmap_register()
352 nm_os_malloc(na->num_tx_desc * sizeof(struct mbuf *)); in generic_netmap_register()
1096 gna = nm_os_malloc(sizeof(*gna)); in generic_netmap_attach()
H A Dnetmap_bdg.c215 b->ht = nm_os_malloc(sizeof(struct nm_hash_ent) * NM_BDG_HASH); in nm_find_bridge()
599 bps->kthreads = nm_os_malloc(sizeof(struct nm_bdg_kthread) * bps->ncpus); in nm_bdg_create_kthreads()
758 bps = nm_os_malloc(sizeof(*bps)); in nm_bdg_ctl_polling_start()
1606 b = nm_os_malloc(sizeof(struct nm_bridge) * n); in netmap_init_bridges2()
H A Dnetmap_pipe.c756 mna = nm_os_malloc(sizeof(*mna)); in netmap_get_pipe_na()
798 sna = nm_os_malloc(sizeof(*mna)); in netmap_get_pipe_na()
H A Dnetmap_mem2.c401 p->bitmap = nm_os_malloc(sizeof(p->bitmap[0]) * n); in netmap_init_obj_allocator_bitmap()
759 lut = nm_os_malloc(n); in nm_alloc_lut()
1669 d = nm_os_malloc(size); in _netmap_mem_private_new()
2294 p->invalid_bitmap = nm_os_malloc(sizeof(uint32_t) * p->bitmap_slots); in netmap_mem_ext_create()
2392 struct mem_pt_if *ptif = nm_os_malloc(sizeof(*ptif)); in netmap_mem_pt_guest_ifp_add()
2761 ptnmd = nm_os_malloc(sizeof(struct netmap_mem_ptg)); in netmap_mem_pt_guest_create()
H A Dnetmap_kloop.c624 args = nm_os_malloc(num_rings * sizeof(args[0])); in netmap_sync_kloop()
699 poll_ctx = nm_os_malloc(sizeof(*poll_ctx) + in netmap_sync_kloop()
H A Dnetmap_vale.c225 ft = nm_os_malloc(l); in nm_alloc_bdgfwd()
1273 vpna = nm_os_malloc(sizeof(*vpna)); in netmap_vale_vp_create()
1400 bna = nm_os_malloc(sizeof(*bna)); in netmap_vale_bwrap_attach()
H A Dnetmap.c856 na->tx_rings = nm_os_malloc((size_t)len); in netmap_krings_create()
1072 priv = nm_os_malloc(sizeof(struct netmap_priv_d)); in netmap_priv_new()
2137 tmp = nm_os_malloc(csb_size); in netmap_csb_validate()
3141 ker = nm_os_malloc(bufsz); in nmreq_copyin()
3829 hwna = nm_os_malloc(size); in netmap_attach_ext()
H A Dnetmap_freebsd.c130 nm_os_malloc(size_t size) in nm_os_malloc() function
719 e = nm_os_malloc(sizeof(*e)); in nm_os_extmem_create()
H A Dnetmap_monitor.c949 mna = nm_os_malloc(sizeof(*mna)); in netmap_get_monitor_na()
H A Dnetmap_kern.h320 void *nm_os_malloc(size_t);