/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 182 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid() argument 185 if (t->nsftids && (stid >= t->sftid_base)) { in lookup_stid() 186 stid -= t->sftid_base; in lookup_stid() 187 stid += t->nstids; in lookup_stid() 189 stid -= t->stid_base; in lookup_stid() 192 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid() 248 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family); 253 int cxgb4_create_server(const struct net_device *dev, unsigned int stid, 256 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid, 259 int cxgb4_remove_server(const struct net_device *dev, unsigned int stid, [all …]
|
D | cxgb4_main.c | 1632 int stid; in cxgb4_alloc_stid() local 1636 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid() 1637 if (stid < t->nstids) in cxgb4_alloc_stid() 1638 __set_bit(stid, t->stid_bmap); in cxgb4_alloc_stid() 1640 stid = -1; in cxgb4_alloc_stid() 1642 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 1); in cxgb4_alloc_stid() 1643 if (stid < 0) in cxgb4_alloc_stid() 1644 stid = -1; in cxgb4_alloc_stid() 1646 if (stid >= 0) { in cxgb4_alloc_stid() 1647 t->stid_tab[stid].data = data; in cxgb4_alloc_stid() [all …]
|
/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 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() [all …]
|
D | cxgbit.h | 122 unsigned int stid; member 186 unsigned int stid; member
|
/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_cm.c | 549 unsigned int stid) in listen_hash_add() argument 557 p->stid = stid; in listen_hash_add() 570 int stid = -1; in listen_hash_find() local 578 stid = p->stid; in listen_hash_find() 582 return stid; in listen_hash_find() 589 int stid = -1; in listen_hash_del() local 598 stid = p->stid; in listen_hash_del() 604 return stid; in listen_hash_del() 653 int stid; in chtls_listen_start() local 679 stid = cxgb4_alloc_stid(cdev->tids, sk->sk_family, ctx); in chtls_listen_start() [all …]
|
D | chtls.h | 162 unsigned int stid; /* The server TID */ member
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_defs.h | 54 unsigned int stid) in stid2entry() argument 56 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 | 373 unsigned int stid) in get_ep_from_stid() argument 379 ep = xa_load(&dev->stids, stid); in get_ep_from_stid() 2383 unsigned int stid = GET_TID(rpl); in pass_open_rpl() local 2384 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); in pass_open_rpl() 2387 pr_warn("%s stid %d lookup failure!\n", __func__, stid); in pass_open_rpl() 2401 unsigned int stid = GET_TID(rpl); in close_listsrv_rpl() local 2402 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); in close_listsrv_rpl() 2405 pr_warn("%s stid %d lookup failure!\n", __func__, stid); in close_listsrv_rpl() 2520 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); in pass_accept_req() local 2533 parent_ep = (struct c4iw_ep *)get_ep_from_stid(dev, stid); in pass_accept_req() [all …]
|
D | restrack.c | 242 if (rdma_nl_put_driver_u32(msg, "stid", listen_ep->stid)) in c4iw_fill_res_cm_id_entry()
|
D | device.c | 635 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep() 648 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep()
|
D | iw_cxgb4.h | 859 unsigned int stid; member
|
/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_cmd.h | 1418 uint32 stid; member 1431 uint32 stid; member 1437 uint32 stid; member 1444 uint32 stid; member 1451 uint32 stid; member 1459 uint32 stid; member 1486 uint32 stid; member
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_stdu.c | 184 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st() 187 cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; in vmw_stdu_define_st() 243 cmd->body.stid = stdu->base.unit; in vmw_stdu_bind_st() 270 update->body.stid = unit; in vmw_stdu_populate_update() 343 cmd->body.stid = stdu->base.unit; in vmw_stdu_destroy_st()
|