Searched refs:objtotal (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_mem2.c101 u_int objtotal; /* actual total number of objects. */ member in struct:netmap_obj_pool
107 struct lut_entry *lut; /* virt,phys addresses, objtotal entries */
397 n = (p->objtotal + 31) / 32;
415 for (j = 0; j < p->objtotal; j++) {
505 lut->objtotal = nmd->pools[NETMAP_BUF_POOL].objtotal;
633 CTLFLAG_RD, &nm_mem.pools[id].objtotal, 0, "Current number of netmap " STRINGIFY(name) "s"); \
762 nm_free_lut(struct lut_entry *lut, u_int objtotal) argument
764 bzero(lut, sizeof(struct lut_entry) * objtotal);
969 int i, k = p->_clustentries, n = p->objtotal;
1315 netmap_config_obj_allocator(struct netmap_obj_pool *p, u_int objtotal, u_int objsize) argument
[all...]
H A Dnetmap_kern.h654 uint32_t objtotal; /* max buffer index */ member in struct:netmap_lut
1884 return (unlikely(i >= na->na_lut.objtotal)) ?
1894 void *ret = (i >= na->na_lut.objtotal) ? lut[0].vaddr : lut[i].vaddr;
1897 *pp = (i >= na->na_lut.objtotal) ? (uint64_t)plut[0].paddr.QuadPart : (uint64_t)plut[i].paddr.QuadPart;
1899 *pp = (i >= na->na_lut.objtotal) ? plut[0].paddr : plut[i].paddr;
H A Dnetmap.c1781 if (idx < 2 || idx >= kring->na->na_lut.objtotal) {
2266 nm_prdis("lut %p bufs %u size %u", na->na_lut.lut, na->na_lut.objtotal,
H A Dnetmap_bdg.c1250 hwna->na_lut.objtotal = 0;

Completed in 106 milliseconds