stid 202 arch/mips/include/asm/netlogic/xlr/fmn.h static inline void nlm_msgsnd(unsigned int stid) stid 211 arch/mips/include/asm/netlogic/xlr/fmn.h : : "r" (stid) : "$1" stid 276 arch/mips/include/asm/netlogic/xlr/fmn.h unsigned int stid, struct nlm_fmn_msg *msg) stid 294 arch/mips/include/asm/netlogic/xlr/fmn.h dest = ((size - 1) << 16) | (code << 8) | stid; stid 312 arch/mips/include/asm/netlogic/xlr/fmn.h static inline int nlm_fmn_receive(int bucket, int *size, int *code, int *stid, stid 331 arch/mips/include/asm/netlogic/xlr/fmn.h *stid = (status & 0x7f0000) >> 16; stid 146 arch/powerpc/kvm/e500_mmu_host.c int stid; stid 149 arch/powerpc/kvm/e500_mmu_host.c stid = kvmppc_e500_get_tlb_stid(&vcpu_e500->vcpu, gtlbe); stid 151 arch/powerpc/kvm/e500_mmu_host.c stlbe->mas1 |= MAS1_TID(stid); stid 163 arch/powerpc/kvm/e500_mmu_host.c unsigned int stid; stid 170 arch/powerpc/kvm/e500_mmu_host.c stid = kvmppc_e500_get_sid(vcpu_e500, 0, 0, 0, 0); stid 172 arch/powerpc/kvm/e500_mmu_host.c magic.mas1 = MAS1_VALID | MAS1_TS | MAS1_TID(stid) | stid 72 drivers/crypto/chelsio/chtls/chtls.h unsigned int stid; /* The server TID */ stid 502 drivers/crypto/chelsio/chtls/chtls_cm.c unsigned int stid) stid 510 drivers/crypto/chelsio/chtls/chtls_cm.c p->stid = stid; stid 523 drivers/crypto/chelsio/chtls/chtls_cm.c int stid = -1; stid 531 drivers/crypto/chelsio/chtls/chtls_cm.c stid = p->stid; stid 535 drivers/crypto/chelsio/chtls/chtls_cm.c return stid; stid 542 drivers/crypto/chelsio/chtls/chtls_cm.c int stid = -1; stid 551 drivers/crypto/chelsio/chtls/chtls_cm.c stid = p->stid; stid 557 drivers/crypto/chelsio/chtls/chtls_cm.c return stid; stid 602 drivers/crypto/chelsio/chtls/chtls_cm.c int stid; stid 632 drivers/crypto/chelsio/chtls/chtls_cm.c stid = cxgb4_alloc_stid(cdev->tids, sk->sk_family, ctx); stid 633 drivers/crypto/chelsio/chtls/chtls_cm.c if (stid < 0) stid 637 drivers/crypto/chelsio/chtls/chtls_cm.c if (!listen_hash_add(cdev, sk, stid)) stid 640 drivers/crypto/chelsio/chtls/chtls_cm.c ret = cxgb4_create_server(ndev, stid, stid 652 drivers/crypto/chelsio/chtls/chtls_cm.c cxgb4_free_stid(cdev->tids, stid, sk->sk_family); stid 663 drivers/crypto/chelsio/chtls/chtls_cm.c int stid; stid 665 drivers/crypto/chelsio/chtls/chtls_cm.c stid = listen_hash_del(cdev, sk); stid 666 drivers/crypto/chelsio/chtls/chtls_cm.c if (stid < 0) stid 669 drivers/crypto/chelsio/chtls/chtls_cm.c listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); stid 672 drivers/crypto/chelsio/chtls/chtls_cm.c cxgb4_remove_server(cdev->lldi->ports[0], stid, stid 680 drivers/crypto/chelsio/chtls/chtls_cm.c unsigned int stid = GET_TID(rpl); stid 683 drivers/crypto/chelsio/chtls/chtls_cm.c listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); stid 694 drivers/crypto/chelsio/chtls/chtls_cm.c rpl->status, stid); stid 697 drivers/crypto/chelsio/chtls/chtls_cm.c cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); stid 709 drivers/crypto/chelsio/chtls/chtls_cm.c unsigned int stid; stid 712 drivers/crypto/chelsio/chtls/chtls_cm.c stid = GET_TID(rpl); stid 713 drivers/crypto/chelsio/chtls/chtls_cm.c data = lookup_stid(cdev->tids, stid); stid 718 drivers/crypto/chelsio/chtls/chtls_cm.c rpl->status, stid); stid 722 drivers/crypto/chelsio/chtls/chtls_cm.c cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); stid 1161 drivers/crypto/chelsio/chtls/chtls_cm.c unsigned int stid; stid 1173 drivers/crypto/chelsio/chtls/chtls_cm.c stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); stid 1252 drivers/crypto/chelsio/chtls/chtls_cm.c listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); stid 1274 drivers/crypto/chelsio/chtls/chtls_cm.c unsigned int stid; stid 1279 drivers/crypto/chelsio/chtls/chtls_cm.c stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); stid 1282 drivers/crypto/chelsio/chtls/chtls_cm.c data = lookup_stid(cdev->tids, stid); stid 1433 drivers/crypto/chelsio/chtls/chtls_cm.c unsigned int stid; stid 1441 drivers/crypto/chelsio/chtls/chtls_cm.c stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); stid 1446 drivers/crypto/chelsio/chtls/chtls_cm.c data = lookup_stid(cdev->tids, stid); stid 180 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd->body.stid = stdu->base.unit; stid 183 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; stid 239 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd->body.stid = stdu->base.unit; stid 266 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c update->body.stid = unit; stid 339 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd->body.stid = stdu->base.unit; stid 1208 drivers/infiniband/hw/cxgb3/iwch_cm.c OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ, ep->stid)); stid 1250 drivers/infiniband/hw/cxgb3/iwch_cm.c OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid)); stid 2003 drivers/infiniband/hw/cxgb3/iwch_cm.c ep->stid = cxgb3_alloc_stid(h->rdev.t3cdev_p, &t3c_client, ep); stid 2004 drivers/infiniband/hw/cxgb3/iwch_cm.c if (ep->stid == -1) { stid 2023 drivers/infiniband/hw/cxgb3/iwch_cm.c cxgb3_free_stid(ep->com.tdev, ep->stid); stid 2047 drivers/infiniband/hw/cxgb3/iwch_cm.c cxgb3_free_stid(ep->com.tdev, ep->stid); stid 171 drivers/infiniband/hw/cxgb3/iwch_cm.h unsigned int stid; stid 373 drivers/infiniband/hw/cxgb4/cm.c unsigned int stid) stid 379 drivers/infiniband/hw/cxgb4/cm.c ep = xa_load(&dev->stids, stid); stid 2380 drivers/infiniband/hw/cxgb4/cm.c unsigned int stid = GET_TID(rpl); stid 2381 drivers/infiniband/hw/cxgb4/cm.c struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); stid 2384 drivers/infiniband/hw/cxgb4/cm.c pr_warn("%s stid %d lookup failure!\n", __func__, stid); stid 2398 drivers/infiniband/hw/cxgb4/cm.c unsigned int stid = GET_TID(rpl); stid 2399 drivers/infiniband/hw/cxgb4/cm.c struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); stid 2402 drivers/infiniband/hw/cxgb4/cm.c pr_warn("%s stid %d lookup failure!\n", __func__, stid); stid 2517 drivers/infiniband/hw/cxgb4/cm.c unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); stid 2530 drivers/infiniband/hw/cxgb4/cm.c parent_ep = (struct c4iw_ep *)get_ep_from_stid(dev, stid); stid 2533 drivers/infiniband/hw/cxgb4/cm.c __func__, stid); stid 3477 drivers/infiniband/hw/cxgb4/cm.c ep->stid, &sin6->sin6_addr, stid 3490 drivers/infiniband/hw/cxgb4/cm.c err, ep->stid, stid 3505 drivers/infiniband/hw/cxgb4/cm.c ep->com.dev->rdev.lldi.ports[0], ep->stid, stid 3520 drivers/infiniband/hw/cxgb4/cm.c ep->stid, sin->sin_addr.s_addr, sin->sin_port, stid 3531 drivers/infiniband/hw/cxgb4/cm.c , err, ep->stid, stid 3564 drivers/infiniband/hw/cxgb4/cm.c ep->stid = cxgb4_alloc_sftid(dev->rdev.lldi.tids, stid 3567 drivers/infiniband/hw/cxgb4/cm.c ep->stid = cxgb4_alloc_stid(dev->rdev.lldi.tids, stid 3570 drivers/infiniband/hw/cxgb4/cm.c if (ep->stid == -1) { stid 3575 drivers/infiniband/hw/cxgb4/cm.c err = xa_insert_irq(&dev->stids, ep->stid, ep, GFP_KERNEL); stid 3588 drivers/infiniband/hw/cxgb4/cm.c xa_erase_irq(&ep->com.dev->stids, ep->stid); stid 3590 drivers/infiniband/hw/cxgb4/cm.c cxgb4_free_stid(ep->com.dev->rdev.lldi.tids, ep->stid, stid 3612 drivers/infiniband/hw/cxgb4/cm.c ep->com.dev->rdev.lldi.ports[0], ep->stid, stid 3618 drivers/infiniband/hw/cxgb4/cm.c ep->com.dev->rdev.lldi.ports[0], ep->stid, stid 3628 drivers/infiniband/hw/cxgb4/cm.c xa_erase_irq(&ep->com.dev->stids, ep->stid); stid 3629 drivers/infiniband/hw/cxgb4/cm.c cxgb4_free_stid(ep->com.dev->rdev.lldi.tids, ep->stid, stid 3923 drivers/infiniband/hw/cxgb4/cm.c static void build_cpl_pass_accept_req(struct sk_buff *skb, int stid , u8 tos) stid 3980 drivers/infiniband/hw/cxgb4/cm.c req->tos_stid = cpu_to_be32(PASS_OPEN_TID_V(stid) | stid 4057 drivers/infiniband/hw/cxgb4/cm.c int stid; stid 4090 drivers/infiniband/hw/cxgb4/cm.c stid = (__force int) cpu_to_be32((__force u32) rss->hash_val); stid 4092 drivers/infiniband/hw/cxgb4/cm.c lep = (struct c4iw_ep *)get_ep_from_stid(dev, stid); stid 4095 drivers/infiniband/hw/cxgb4/cm.c __func__, stid); stid 4183 drivers/infiniband/hw/cxgb4/cm.c build_cpl_pass_accept_req(skb, stid, iph->tos); stid 635 drivers/infiniband/hw/cxgb4/device.c ep->com.flags, ep->stid, ep->backlog, stid 648 drivers/infiniband/hw/cxgb4/device.c ep->com.flags, ep->stid, ep->backlog, stid 870 drivers/infiniband/hw/cxgb4/iw_cxgb4.h unsigned int stid; stid 245 drivers/infiniband/hw/cxgb4/restrack.c if (rdma_nl_put_driver_u32(msg, "stid", listen_ep->stid)) stid 54 drivers/net/ethernet/chelsio/cxgb3/cxgb3_defs.h unsigned int stid) stid 56 drivers/net/ethernet/chelsio/cxgb3/cxgb3_defs.h return &t->stid_tab[stid - t->stid_base]; stid 521 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c void cxgb3_free_stid(struct t3cdev *tdev, int stid) stid 524 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c union listen_entry *p = stid2entry(t, stid); stid 677 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c int stid = -1; stid 684 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c stid = (p - t->stid_tab) + t->stid_base; stid 691 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c return stid; stid 762 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c unsigned int stid = G_TID(ntohl(p->opcode_tid)); stid 765 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c t3c_tid = lookup_stid(&(T3C_DATA(dev))->tid_maps, stid); stid 798 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c unsigned int stid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); stid 810 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c t3c_tid = lookup_stid(t, stid); stid 101 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.h void cxgb3_free_stid(struct t3cdev *dev, int stid); stid 1253 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int stid; stid 1257 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid = find_first_zero_bit(t->stid_bmap, t->nstids); stid 1258 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (stid < t->nstids) stid 1259 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c __set_bit(stid, t->stid_bmap); stid 1261 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid = -1; stid 1263 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 1); stid 1264 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (stid < 0) stid 1265 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid = -1; stid 1267 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (stid >= 0) { stid 1268 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c t->stid_tab[stid].data = data; stid 1269 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid += t->stid_base; stid 1282 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return stid; stid 1290 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int stid; stid 1294 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid = find_next_zero_bit(t->stid_bmap, stid 1296 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (stid < (t->nstids + t->nsftids)) stid 1297 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c __set_bit(stid, t->stid_bmap); stid 1299 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid = -1; stid 1301 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid = -1; stid 1303 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (stid >= 0) { stid 1304 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c t->stid_tab[stid].data = data; stid 1305 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid -= t->nstids; stid 1306 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid += t->sftid_base; stid 1310 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return stid; stid 1316 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family) stid 1319 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (t->nsftids && (stid >= t->sftid_base)) { stid 1320 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid -= t->sftid_base; stid 1321 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid += t->nstids; stid 1323 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid -= t->stid_base; stid 1328 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c __clear_bit(stid, t->stid_bmap); stid 1330 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c bitmap_release_region(t->stid_bmap, stid, 1); stid 1331 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c t->stid_tab[stid].data = NULL; stid 1332 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (stid < t->nstids) { stid 1525 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int cxgb4_create_server(const struct net_device *dev, unsigned int stid, stid 1542 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ, stid)); stid 1566 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int cxgb4_create_server6(const struct net_device *dev, unsigned int stid, stid 1583 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ6, stid)); stid 1599 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int cxgb4_remove_server(const struct net_device *dev, unsigned int stid, stid 1615 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, stid)); stid 2476 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int cxgb4_create_server_filter(const struct net_device *dev, unsigned int stid, stid 2489 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid -= adap->tids.sftid_base; stid 2490 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid += adap->tids.nftids; stid 2494 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c f = &adap->tids.ftid_tab[stid]; stid 2535 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c f->tid = stid + adap->tids.ftid_base; stid 2536 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c ret = set_filter_wr(adap, stid); stid 2546 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int cxgb4_remove_server_filter(const struct net_device *dev, unsigned int stid, stid 2555 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid -= adap->tids.sftid_base; stid 2556 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c stid += adap->tids.nftids; stid 2558 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c f = &adap->tids.ftid_tab[stid]; stid 2562 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return delete_filter(adap, stid); stid 148 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) stid 151 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h if (t->nsftids && (stid >= t->sftid_base)) { stid 152 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h stid -= t->sftid_base; stid 153 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h stid += t->nstids; stid 155 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h stid -= t->stid_base; stid 158 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; stid 183 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family); stid 188 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h int cxgb4_create_server(const struct net_device *dev, unsigned int stid, stid 191 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h int cxgb4_create_server6(const struct net_device *dev, unsigned int stid, stid 194 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h int cxgb4_remove_server(const struct net_device *dev, unsigned int stid, stid 196 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h int cxgb4_create_server_filter(const struct net_device *dev, unsigned int stid, stid 200 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h int cxgb4_remove_server_filter(const struct net_device *dev, unsigned int stid, stid 122 drivers/target/iscsi/cxgbit/cxgbit.h unsigned int stid; stid 186 drivers/target/iscsi/cxgbit/cxgbit.h unsigned int stid; stid 80 drivers/target/iscsi/cxgbit/cxgbit_cm.c unsigned int stid) stid 88 drivers/target/iscsi/cxgbit/cxgbit_cm.c p->stid = stid; stid 101 drivers/target/iscsi/cxgbit/cxgbit_cm.c int stid = -1, bucket = cxgbit_np_hashfn(cnp); stid 107 drivers/target/iscsi/cxgbit/cxgbit_cm.c stid = p->stid; stid 113 drivers/target/iscsi/cxgbit/cxgbit_cm.c return stid; stid 118 drivers/target/iscsi/cxgbit/cxgbit_cm.c int stid = -1, bucket = cxgbit_np_hashfn(cnp); stid 124 drivers/target/iscsi/cxgbit/cxgbit_cm.c stid = p->stid; stid 132 drivers/target/iscsi/cxgbit/cxgbit_cm.c return stid; stid 144 drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgbit_create_server6(struct cxgbit_device *cdev, unsigned int stid, stid 153 drivers/target/iscsi/cxgbit/cxgbit_cm.c __func__, cdev->lldi.ports[0]->name, stid, sin6->sin6_port); stid 171 drivers/target/iscsi/cxgbit/cxgbit_cm.c stid, &sin6->sin6_addr, stid 188 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret, stid, sin6->sin6_addr.s6_addr, stid 196 drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgbit_create_server4(struct cxgbit_device *cdev, unsigned int stid, stid 204 drivers/target/iscsi/cxgbit/cxgbit_cm.c __func__, cdev->lldi.ports[0]->name, stid, sin->sin_port); stid 210 drivers/target/iscsi/cxgbit/cxgbit_cm.c stid, sin->sin_addr.s_addr, stid 224 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret, stid, &sin->sin_addr, ntohs(sin->sin_port)); stid 345 drivers/target/iscsi/cxgbit/cxgbit_cm.c int stid, ret; stid 351 drivers/target/iscsi/cxgbit/cxgbit_cm.c stid = cxgb4_alloc_stid(cdev->lldi.tids, ss_family, cnp); stid 352 drivers/target/iscsi/cxgbit/cxgbit_cm.c if (stid < 0) stid 355 drivers/target/iscsi/cxgbit/cxgbit_cm.c if (!cxgbit_np_hash_add(cdev, cnp, stid)) { stid 356 drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgb4_free_stid(cdev->lldi.tids, stid, ss_family); stid 361 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = cxgbit_create_server4(cdev, stid, cnp); stid 363 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = cxgbit_create_server6(cdev, stid, cnp); stid 367 drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgb4_free_stid(cdev->lldi.tids, stid, stid 520 drivers/target/iscsi/cxgbit/cxgbit_cm.c int stid, ret; stid 523 drivers/target/iscsi/cxgbit/cxgbit_cm.c stid = cxgbit_np_hash_del(cdev, cnp); stid 524 drivers/target/iscsi/cxgbit/cxgbit_cm.c if (stid < 0) stid 534 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = cxgb4_remove_server(cdev->lldi.ports[0], stid, stid 559 drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgb4_free_stid(cdev->lldi.tids, stid, stid 1221 drivers/target/iscsi/cxgbit/cxgbit_cm.c unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); stid 1234 drivers/target/iscsi/cxgbit/cxgbit_cm.c __func__, cdev, stid, tid); stid 1236 drivers/target/iscsi/cxgbit/cxgbit_cm.c cnp = lookup_stid(t, stid); stid 1239 drivers/target/iscsi/cxgbit/cxgbit_cm.c __func__, stid); stid 1567 drivers/target/iscsi/cxgbit/cxgbit_cm.c unsigned int stid = GET_TID(rpl); stid 1568 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct cxgbit_np *cnp = lookup_stid(t, stid); stid 1571 drivers/target/iscsi/cxgbit/cxgbit_cm.c __func__, cnp, stid, rpl->status); stid 1574 drivers/target/iscsi/cxgbit/cxgbit_cm.c pr_info("%s stid %d lookup failure\n", __func__, stid); stid 1589 drivers/target/iscsi/cxgbit/cxgbit_cm.c unsigned int stid = GET_TID(rpl); stid 1590 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct cxgbit_np *cnp = lookup_stid(t, stid); stid 1593 drivers/target/iscsi/cxgbit/cxgbit_cm.c __func__, cnp, stid, rpl->status); stid 1596 drivers/target/iscsi/cxgbit/cxgbit_cm.c pr_info("%s stid %d lookup failure\n", __func__, stid); stid 155 fs/nfsd/nfs4layouts.c nfsd4_free_layout_stateid(struct nfs4_stid *stid) stid 157 fs/nfsd/nfs4layouts.c struct nfs4_layout_stateid *ls = layoutstateid(stid); stid 270 fs/nfsd/nfs4layouts.c struct nfs4_stid *stid; stid 277 fs/nfsd/nfs4layouts.c status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, stid 283 fs/nfsd/nfs4layouts.c &stid->sc_file->fi_fhandle)) { stid 288 fs/nfsd/nfs4layouts.c if (stid->sc_type != NFS4_LAYOUT_STID) { stid 289 fs/nfsd/nfs4layouts.c ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); stid 290 fs/nfsd/nfs4layouts.c nfs4_put_stid(stid); stid 297 fs/nfsd/nfs4layouts.c ls = container_of(stid, struct nfs4_layout_stateid, ls_stid); stid 301 fs/nfsd/nfs4layouts.c if (nfsd4_stateid_generation_after(stateid, &stid->sc_stateid)) stid 313 fs/nfsd/nfs4layouts.c nfs4_put_stid(stid); stid 81 fs/nfsd/nfs4state.c static void nfs4_free_ol_stateid(struct nfs4_stid *stid); stid 704 fs/nfsd/nfs4state.c struct nfs4_stid *stid; stid 707 fs/nfsd/nfs4state.c stid = kmem_cache_zalloc(slab, GFP_KERNEL); stid 708 fs/nfsd/nfs4state.c if (!stid) stid 714 fs/nfsd/nfs4state.c new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 1, 0, GFP_NOWAIT); stid 720 fs/nfsd/nfs4state.c stid->sc_free = sc_free; stid 721 fs/nfsd/nfs4state.c stid->sc_client = cl; stid 722 fs/nfsd/nfs4state.c stid->sc_stateid.si_opaque.so_id = new_id; stid 723 fs/nfsd/nfs4state.c stid->sc_stateid.si_opaque.so_clid = cl->cl_clientid; stid 725 fs/nfsd/nfs4state.c refcount_set(&stid->sc_count, 1); stid 726 fs/nfsd/nfs4state.c spin_lock_init(&stid->sc_lock); stid 737 fs/nfsd/nfs4state.c return stid; stid 739 fs/nfsd/nfs4state.c kmem_cache_free(slab, stid); stid 775 fs/nfsd/nfs4state.c struct nfs4_stid *stid; stid 777 fs/nfsd/nfs4state.c stid = nfs4_alloc_stid(clp, stateid_slab, nfs4_free_ol_stateid); stid 778 fs/nfsd/nfs4state.c if (!stid) stid 781 fs/nfsd/nfs4state.c return openlockstateid(stid); stid 784 fs/nfsd/nfs4state.c static void nfs4_free_deleg(struct nfs4_stid *stid) stid 786 fs/nfsd/nfs4state.c kmem_cache_free(deleg_slab, stid); stid 927 fs/nfsd/nfs4state.c nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid) stid 929 fs/nfsd/nfs4state.c stateid_t *src = &stid->sc_stateid; stid 931 fs/nfsd/nfs4state.c spin_lock(&stid->sc_lock); stid 935 fs/nfsd/nfs4state.c spin_unlock(&stid->sc_lock); stid 1281 fs/nfsd/nfs4state.c static void nfs4_free_ol_stateid(struct nfs4_stid *stid) stid 1283 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp = openlockstateid(stid); stid 1289 fs/nfsd/nfs4state.c kmem_cache_free(stateid_slab, stid); stid 1292 fs/nfsd/nfs4state.c static void nfs4_free_lock_stateid(struct nfs4_stid *stid) stid 1294 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp = openlockstateid(stid); stid 1304 fs/nfsd/nfs4state.c nfs4_free_ol_stateid(stid); stid 630 fs/nfsd/state.h void nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid);