Lines Matching refs:stid

80 		   unsigned int stid)  in cxgbit_np_hash_add()  argument
88 p->stid = stid; in cxgbit_np_hash_add()
101 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_find() local
107 stid = p->stid; in cxgbit_np_hash_find()
113 return stid; in cxgbit_np_hash_find()
118 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_del() local
124 stid = p->stid; in cxgbit_np_hash_del()
132 return stid; in cxgbit_np_hash_del()
144 cxgbit_create_server6(struct cxgbit_device *cdev, unsigned int stid, in cxgbit_create_server6() argument
153 __func__, cdev->lldi.ports[0]->name, stid, sin6->sin6_port); in cxgbit_create_server6()
171 stid, &sin6->sin6_addr, in cxgbit_create_server6()
188 ret, stid, sin6->sin6_addr.s6_addr, in cxgbit_create_server6()
196 cxgbit_create_server4(struct cxgbit_device *cdev, unsigned int stid, in cxgbit_create_server4() argument
204 __func__, cdev->lldi.ports[0]->name, stid, sin->sin_port); in cxgbit_create_server4()
210 stid, sin->sin_addr.s_addr, in cxgbit_create_server4()
224 ret, stid, &sin->sin_addr, ntohs(sin->sin_port)); in cxgbit_create_server4()
345 int stid, ret; in __cxgbit_setup_cdev_np() local
351 stid = cxgb4_alloc_stid(cdev->lldi.tids, ss_family, cnp); in __cxgbit_setup_cdev_np()
352 if (stid < 0) in __cxgbit_setup_cdev_np()
355 if (!cxgbit_np_hash_add(cdev, cnp, stid)) { in __cxgbit_setup_cdev_np()
356 cxgb4_free_stid(cdev->lldi.tids, stid, ss_family); in __cxgbit_setup_cdev_np()
361 ret = cxgbit_create_server4(cdev, stid, cnp); in __cxgbit_setup_cdev_np()
363 ret = cxgbit_create_server6(cdev, stid, cnp); in __cxgbit_setup_cdev_np()
367 cxgb4_free_stid(cdev->lldi.tids, stid, in __cxgbit_setup_cdev_np()
520 int stid, ret; in __cxgbit_free_cdev_np() local
523 stid = cxgbit_np_hash_del(cdev, cnp); in __cxgbit_free_cdev_np()
524 if (stid < 0) in __cxgbit_free_cdev_np()
534 ret = cxgb4_remove_server(cdev->lldi.ports[0], stid, in __cxgbit_free_cdev_np()
559 cxgb4_free_stid(cdev->lldi.tids, stid, in __cxgbit_free_cdev_np()
1222 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); in cxgbit_pass_accept_req() local
1235 __func__, cdev, stid, tid); in cxgbit_pass_accept_req()
1237 cnp = lookup_stid(t, stid); in cxgbit_pass_accept_req()
1240 __func__, stid); in cxgbit_pass_accept_req()
1583 unsigned int stid = GET_TID(rpl); in cxgbit_pass_open_rpl() local
1584 struct cxgbit_np *cnp = lookup_stid(t, stid); in cxgbit_pass_open_rpl()
1587 __func__, cnp, stid, rpl->status); in cxgbit_pass_open_rpl()
1590 pr_info("%s stid %d lookup failure\n", __func__, stid); in cxgbit_pass_open_rpl()
1605 unsigned int stid = GET_TID(rpl); in cxgbit_close_listsrv_rpl() local
1606 struct cxgbit_np *cnp = lookup_stid(t, stid); in cxgbit_close_listsrv_rpl()
1609 __func__, cnp, stid, rpl->status); in cxgbit_close_listsrv_rpl()
1612 pr_info("%s stid %d lookup failure\n", __func__, stid); in cxgbit_close_listsrv_rpl()