Home
last modified time | relevance | path

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

/NextBSD/sys/dev/cxgb/ulp/tom/
HDcxgb_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()
HDcxgb_tom.h54 unsigned int nstids; member
199 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
HDcxgb_listen.c321 if (stid >= td->tid_maps.stid_base + td->tid_maps.nstids) in do_pass_open_rpl()
/NextBSD/sys/dev/cxgbe/
HDoffload.h87 u_int nstids; member
HDt4_main.c3051 sc->tids.nstids = val[2] - val[1] + 1; in get_params__post_init()
7146 if (t->nstids) { in sysctl_tids()
7148 t->stid_base + t->nstids - 1, t->stids_in_use); in sysctl_tids()
/NextBSD/sys/dev/cxgbe/tom/
HDt4_listen.c103 KASSERT((t->stid_base & mask) == 0 && (t->nstids & mask) == 0, in alloc_stid()
105 __func__, t->stid_base, t->nstids, n)); in alloc_stid()
108 if (n > t->nstids - t->stids_in_use) { in alloc_stid()
138 if (__predict_false(stid != t->nstids)) { in alloc_stid()
141 __func__, &t->stids, stid, t->nstids); in alloc_stid()
HDt4_tom.c622 t->nstids * sizeof(*t->stid_tab); in alloc_tid_tabs()
640 t->nstids_free_head = t->nstids; in alloc_tid_tabs()