Home
last modified time | relevance | path

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

/freebsd/sys/dev/netmap/
H A Dnetmap_legacy.c65 req->nr_memsize = nmr->nr_memsize; in nmreq_register_from_legacy()
248 req->nr_memsize = nmr->nr_memsize; in nmreq_from_legacy()
278 nmr->nr_memsize = req->nr_memsize; in nmreq_register_to_legacy()
307 nmr->nr_memsize = req->nr_memsize; in nmreq_to_legacy()
H A Dnetmap_mem2.c2216 ret = netmap_mem_get_info(nmd, &req->nr_memsize, NULL, in netmap_mem_pools_info_get()
2386 pi->nr_memsize, in netmap_mem_ext_create()
H A Dnetmap_vale.c1407 return netmap_mem_get_info(na->nm_mem, &req->nr_memsize, NULL, in nm_update_info()
H A Dnetmap.c2864 error = netmap_mem_get_info(na->nm_mem, &req->nr_memsize, &memflags, in netmap_ioctl()
2960 error = netmap_mem_get_info(nmd, &req->nr_memsize, &memflags, in netmap_ioctl()
/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c211 printf("nr_memsize %llu\n", (unsigned long long)req.nr_memsize); in port_info_get()
218 success = req.nr_memsize && req.nr_tx_slots && req.nr_rx_slots && in port_info_get()
270 printf("nr_memsize %llu\n", (unsigned long long)req.nr_memsize); in port_register()
280 success = req.nr_memsize && (ctx->nr_mode == req.nr_mode) && in port_register()
344 printf("nr_memsize %u\n", req.nr_memsize); in niocregif()
355 success = req.nr_memsize && in niocregif()
763 printf("nr_memsize %llu\n", (unsigned long long)req.nr_memsize); in pools_info_get()
778 return req.nr_memsize && req.nr_if_pool_objtotal && in pools_info_get()
1083 addr = mmap(NULL, pi->nr_memsize, PROT_READ | PROT_WRITE, in push_extmem_option()
1118 if (e->nro_info.nr_memsize != exp->nro_info.nr_memsize) { in pop_extmem_option()
[all …]
/freebsd/sys/net/
H A Dnetmap.h600 uint64_t nr_memsize; /* size of the shared region */ member
669 uint64_t nr_memsize; /* size of the shared region */ member
762 uint64_t nr_memsize; member
H A Dnetmap_legacy.h154 uint32_t nr_memsize; /* size of the shared region */ member
H A Dnetmap_user.h1008 d->memsize = d->req.nr_memsize; in nm_mmap()
/freebsd/lib/libnetmap/
H A Dnmport.c161 d->extmem->nro_info.nr_memsize = size; in nmport_extmem()
690 m->size = d->extmem->nro_info.nr_memsize; in nmport_mmap()
693 m->mem = mmap(NULL, d->reg.nr_memsize, PROT_READ|PROT_WRITE, in nmport_mmap()
699 m->size = d->reg.nr_memsize; in nmport_mmap()
H A Dnmreq.c686 printf(" nro_info.nr_memsize %"PRIu64"\n", e->nro_info.nr_memsize);
/freebsd/usr.sbin/valectl/
H A Dvalectl.c57 printf("memsize: %"PRIu64"\n", v->nr_memsize); in dump_port_info()
/freebsd/tools/tools/netmap/
H A Dpkt-gen.c3261 ND("mapped %luKB at %p", (unsigned long)(g.nmd->req.nr_memsize>>10), in main()