Home
last modified time | relevance | path

Searched refs:nstids (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/cxgbe/tom/
H A Dt4_listen.c99 MPASS(t->nstids > 0); in alloc_stid_tab()
102 t->stid_tab = malloc(t->nstids * sizeof(*t->stid_tab), M_CXGBE, in alloc_stid_tab()
106 t->stid_bitmap = bit_alloc(t->nstids, M_CXGBE, M_NOWAIT); in alloc_stid_tab()
212 MPASS(t->stids_in_use <= t->nstids); in alloc_stid()
213 if (n > t->nstids - t->stids_in_use || t->stid_tab_stopped) { in alloc_stid()
226 for (i = 0; i + 1 < t->nstids; i = roundup2(val + 1, 2)) { in alloc_stid()
227 bit_ffc_area_at(t->stid_bitmap, i, t->nstids, 2, &val); in alloc_stid()
242 bit_ffc_at(t->stid_bitmap, 0, t->nstids, &val); in alloc_stid()
269 if (val >= t->nstids) in alloc_stid()
271 bit_ffs_at(t->stid_bitmap, val, t->nstids, &val); in alloc_stid()
[all …]
/freebsd/sys/dev/cxgbe/
H A Doffload.h116 u_int nstids; member
H A Dt4_main.c5570 sc->tids.nstids = val[2] - val[1] + 1; in get_params__post_init()
10631 if (t->nstids) { in sysctl_tids()
10633 t->stid_base + t->nstids - 1, t->stids_in_use); in sysctl_tids()
/freebsd/sys/dev/cxgbe/cudbg/
H A Dcudbg_entity.h703 u32 nstids; member
H A Dcudbg_lib.c3382 tid->nstids = val[6] - val[5] + 1; in collect_tid()