Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/dev/cxgb/ulp/tom/
Dcxgb_tom.c97 alloc_tid_tabs(struct tid_info *t, u_int ntids, u_int natids, u_int nstids, in alloc_tid_tabs() argument
101 natids * sizeof(*t->atid_tab) + nstids * sizeof(*t->stid_tab); in alloc_tid_tabs()
108 t->atid_tab = (union active_open_entry *)&t->stid_tab[nstids]; in alloc_tid_tabs()
110 t->nstids = nstids; in alloc_tid_tabs()
124 if (nstids) { in alloc_tid_tabs()
125 while (--nstids) in alloc_tid_tabs()
126 t->stid_tab[nstids - 1].next = &t->stid_tab[nstids]; in alloc_tid_tabs()
Dcxgb_tom.h54 unsigned int nstids; member
199 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
Dcxgb_listen.c319 if (stid >= td->tid_maps.stid_base + td->tid_maps.nstids) in do_pass_open_rpl()
/freebsd-9-stable/sys/dev/cxgbe/
Doffload.h87 u_int nstids; member
Dt4_main.c2547 sc->tids.nstids = val[2] - val[1] + 1; in get_params__post_init()
6191 if (t->nstids) { in sysctl_tids()
6193 t->stid_base + t->nstids - 1, t->stids_in_use); in sysctl_tids()
/freebsd-9-stable/sys/dev/cxgbe/tom/
Dt4_listen.c101 KASSERT((t->stid_base & mask) == 0 && (t->nstids & mask) == 0, in alloc_stid()
103 __func__, t->stid_base, t->nstids, n)); in alloc_stid()
106 if (n > t->nstids - t->stids_in_use) { in alloc_stid()
136 if (__predict_false(stid != t->nstids)) { in alloc_stid()
139 __func__, &t->stids, stid, t->nstids); in alloc_stid()
Dt4_tom.c605 t->nstids * sizeof(*t->stid_tab); in alloc_tid_tabs()
623 t->nstids_free_head = t->nstids; in alloc_tid_tabs()