Lines Matching defs:stid
2108 int stid;
2112 stid = find_first_zero_bit(t->stid_bmap, t->nstids);
2113 if (stid < t->nstids)
2114 __set_bit(stid, t->stid_bmap);
2116 stid = -1;
2118 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 2);
2119 if (stid < 0)
2120 stid = -1;
2122 if (stid >= 0) {
2123 t->stid_tab[stid].data = data;
2124 stid += t->stid_base;
2128 return stid;
2135 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family)
2137 stid -= t->stid_base;
2140 __clear_bit(stid, t->stid_bmap);
2142 bitmap_release_region(t->stid_bmap, stid, 2);
2143 t->stid_tab[stid].data = NULL;
2266 /* Setup the free list for atid_tab and clear the stid bitmap. */
2279 * @stid: the server TID
2287 int cxgb4_create_server(const struct net_device *dev, unsigned int stid,
2302 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ, stid));
2318 * @stid: the server TID
2326 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid,
2342 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ6, stid));