Home
last modified time | relevance | path

Searched refs:objtotal (Results 1 – 3 of 3) sorted by relevance

/dflybsd-src/sys/net/netmap/
H A Dnetmap_mem2.c154 CTLFLAG_RD, &nm_mem.pools[id].objtotal, 0, "Current number of netmap " STRINGIFY(name) "s")
230 int i, k = p->_clustentries, n = p->objtotal; in netmap_obj_offset()
331 if (j >= p->objtotal) { in netmap_obj_free()
332 D("invalid index %u, max %u", j, p->objtotal); in netmap_obj_free()
417 if (i < 2 || i >= p->objtotal) { in netmap_free_buf()
418 D("Cannot free buf#%d: should be in [2, %d[", i, p->objtotal); in netmap_free_buf()
437 for (i = 0; i < p->objtotal; i += p->_clustentries) { in netmap_reset_obj_allocator()
441 bzero(p->lut, sizeof(struct lut_entry) * p->objtotal); in netmap_reset_obj_allocator()
445 p->objtotal = 0; in netmap_reset_obj_allocator()
476 netmap_config_obj_allocator(struct netmap_obj_pool *p, u_int objtotal, u_int objsize) in netmap_config_obj_allocator() argument
[all …]
H A Dnetmap_mem2.h123 u_int objtotal; /* actual total number of objects. */ member
H A Dnetmap.c1241 na->na_lut_objtotal = na->nm_mem->pools[NETMAP_BUF_POOL].objtotal; in netmap_do_regif()