Searched refs:nr_memsize (Results 1 – 12 of 12) sorted by relevance
/freebsd/sys/dev/netmap/ |
H A D | netmap_legacy.c | 65 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 D | netmap_mem2.c | 2216 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 D | netmap_vale.c | 1407 return netmap_mem_get_info(na->nm_mem, &req->nr_memsize, NULL, in nm_update_info()
|
H A D | netmap.c | 2864 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 D | ctrl-api-test.c | 211 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 D | netmap.h | 600 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 D | netmap_legacy.h | 154 uint32_t nr_memsize; /* size of the shared region */ member
|
H A D | netmap_user.h | 1008 d->memsize = d->req.nr_memsize; in nm_mmap()
|
/freebsd/lib/libnetmap/ |
H A D | nmport.c | 161 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 D | nmreq.c | 686 printf(" nro_info.nr_memsize %"PRIu64"\n", e->nro_info.nr_memsize);
|
/freebsd/usr.sbin/valectl/ |
H A D | valectl.c | 57 printf("memsize: %"PRIu64"\n", v->nr_memsize); in dump_port_info()
|
/freebsd/tools/tools/netmap/ |
H A D | pkt-gen.c | 3261 ND("mapped %luKB at %p", (unsigned long)(g.nmd->req.nr_memsize>>10), in main()
|