/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 144 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid() argument 147 if (t->nsftids && (stid >= t->sftid_base)) { in lookup_stid() 148 stid -= t->sftid_base; in lookup_stid() 149 stid += t->nstids; in lookup_stid() 151 stid -= t->stid_base; in lookup_stid() 154 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid() 171 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family); 176 int cxgb4_create_server(const struct net_device *dev, unsigned int stid, 179 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid, 182 int cxgb4_remove_server(const struct net_device *dev, unsigned int stid, [all …]
|
D | cxgb4_main.c | 1134 int stid; in cxgb4_alloc_stid() local 1138 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid() 1139 if (stid < t->nstids) in cxgb4_alloc_stid() 1140 __set_bit(stid, t->stid_bmap); in cxgb4_alloc_stid() 1142 stid = -1; in cxgb4_alloc_stid() 1144 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 1); in cxgb4_alloc_stid() 1145 if (stid < 0) in cxgb4_alloc_stid() 1146 stid = -1; in cxgb4_alloc_stid() 1148 if (stid >= 0) { in cxgb4_alloc_stid() 1149 t->stid_tab[stid].data = data; in cxgb4_alloc_stid() [all …]
|
/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 83 unsigned int stid) in cxgbit_np_hash_add() argument 91 p->stid = stid; in cxgbit_np_hash_add() 104 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_find() local 110 stid = p->stid; in cxgbit_np_hash_find() 116 return stid; in cxgbit_np_hash_find() 121 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_del() local 127 stid = p->stid; in cxgbit_np_hash_del() 135 return stid; in cxgbit_np_hash_del() 147 cxgbit_create_server6(struct cxgbit_device *cdev, unsigned int stid, in cxgbit_create_server6() argument 156 __func__, cdev->lldi.ports[0]->name, stid, sin6->sin6_port); in cxgbit_create_server6() [all …]
|
D | cxgbit.h | 125 unsigned int stid; member 188 unsigned int stid; member
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_defs.h | 57 unsigned int stid) in stid2entry() argument 59 return &t->stid_tab[stid - t->stid_base]; in stid2entry()
|
D | cxgb3_offload.c | 521 void cxgb3_free_stid(struct t3cdev *tdev, int stid) in cxgb3_free_stid() argument 524 union listen_entry *p = stid2entry(t, stid); in cxgb3_free_stid() 677 int stid = -1; in cxgb3_alloc_stid() local 684 stid = (p - t->stid_tab) + t->stid_base; in cxgb3_alloc_stid() 691 return stid; in cxgb3_alloc_stid() 762 unsigned int stid = G_TID(ntohl(p->opcode_tid)); in do_stid_rpl() local 765 t3c_tid = lookup_stid(&(T3C_DATA(dev))->tid_maps, stid); in do_stid_rpl() 798 unsigned int stid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); in do_cr() local 810 t3c_tid = lookup_stid(t, stid); in do_cr()
|
D | cxgb3_offload.h | 101 void cxgb3_free_stid(struct t3cdev *dev, int stid);
|
/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 369 unsigned int stid) in get_ep_from_stid() argument 375 ep = idr_find(&dev->stid_idr, stid); in get_ep_from_stid() 2302 unsigned int stid = GET_TID(rpl); in pass_open_rpl() local 2303 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); in pass_open_rpl() 2306 PDBG("%s stid %d lookup failure!\n", __func__, stid); in pass_open_rpl() 2320 unsigned int stid = GET_TID(rpl); in close_listsrv_rpl() local 2321 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); in close_listsrv_rpl() 2436 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); in pass_accept_req() local 2449 parent_ep = (struct c4iw_ep *)get_ep_from_stid(dev, stid); in pass_accept_req() 2451 PDBG("%s connect request on invalid stid %d\n", __func__, stid); in pass_accept_req() [all …]
|
D | device.c | 610 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep() 623 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep()
|
D | iw_cxgb4.h | 849 unsigned int stid; member
|
/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_cmd.h | 2006 uint32 stid; member 2026 uint32 stid; member 2034 uint32 stid; member 2043 uint32 stid; member
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_stdu.c | 193 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st() 196 cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; in vmw_stdu_define_st() 257 cmd->body.stid = stdu->base.unit; in vmw_stdu_bind_st() 284 update->body.stid = unit; in vmw_stdu_populate_update() 363 cmd->body.stid = stdu->base.unit; in vmw_stdu_destroy_st()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.h | 171 unsigned int stid; member
|
D | iwch_cm.c | 1214 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ, ep->stid)); in listen_start() 1256 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid)); in listen_stop() 2017 ep->stid = cxgb3_alloc_stid(h->rdev.t3cdev_p, &t3c_client, ep); in iwch_create_listen() 2018 if (ep->stid == -1) { in iwch_create_listen() 2037 cxgb3_free_stid(ep->com.tdev, ep->stid); in iwch_create_listen() 2061 cxgb3_free_stid(ep->com.tdev, ep->stid); in iwch_destroy_listen()
|