/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 133 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid() argument 136 if (t->nsftids && (stid >= t->sftid_base)) { in lookup_stid() 137 stid -= t->sftid_base; in lookup_stid() 138 stid += t->nstids; in lookup_stid() 140 stid -= t->stid_base; in lookup_stid() 143 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid() 157 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family); 162 int cxgb4_create_server(const struct net_device *dev, unsigned int stid, 165 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid, 168 int cxgb4_remove_server(const struct net_device *dev, unsigned int stid, [all …]
|
D | cxgb4_main.c | 1478 int stid; in cxgb4_alloc_stid() local 1482 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid() 1483 if (stid < t->nstids) in cxgb4_alloc_stid() 1484 __set_bit(stid, t->stid_bmap); in cxgb4_alloc_stid() 1486 stid = -1; in cxgb4_alloc_stid() 1488 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 2); in cxgb4_alloc_stid() 1489 if (stid < 0) in cxgb4_alloc_stid() 1490 stid = -1; in cxgb4_alloc_stid() 1492 if (stid >= 0) { in cxgb4_alloc_stid() 1493 t->stid_tab[stid].data = data; in cxgb4_alloc_stid() [all …]
|
/linux-4.1.27/arch/mips/include/asm/netlogic/xlr/ |
D | fmn.h | 202 static inline void nlm_msgsnd(unsigned int stid) in nlm_msgsnd() argument 211 : : "r" (stid) : "$1" in nlm_msgsnd() 276 unsigned int stid, struct nlm_fmn_msg *msg) in nlm_fmn_send() argument 294 dest = ((size - 1) << 16) | (code << 8) | stid; in nlm_fmn_send() 314 static inline int nlm_fmn_receive(int bucket, int *size, int *code, int *stid, in nlm_fmn_receive() argument 333 *stid = (status & 0x7f0000) >> 16; in nlm_fmn_receive()
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4layouts.c | 131 nfsd4_free_layout_stateid(struct nfs4_stid *stid) in nfsd4_free_layout_stateid() argument 133 struct nfs4_layout_stateid *ls = layoutstateid(stid); in nfsd4_free_layout_stateid() 239 struct nfs4_stid *stid; in nfsd4_preprocess_layout_stateid() local 246 status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, in nfsd4_preprocess_layout_stateid() 252 &stid->sc_file->fi_fhandle)) { in nfsd4_preprocess_layout_stateid() 257 if (stid->sc_type != NFS4_LAYOUT_STID) { in nfsd4_preprocess_layout_stateid() 258 ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); in nfsd4_preprocess_layout_stateid() 259 nfs4_put_stid(stid); in nfsd4_preprocess_layout_stateid() 265 ls = container_of(stid, struct nfs4_layout_stateid, ls_stid); in nfsd4_preprocess_layout_stateid() 268 if (stateid->si_generation > stid->sc_stateid.si_generation) in nfsd4_preprocess_layout_stateid() [all …]
|
D | nfs4state.c | 75 static void nfs4_free_ol_stateid(struct nfs4_stid *stid); 559 struct nfs4_stid *stid; in nfs4_alloc_stid() local 562 stid = kmem_cache_zalloc(slab, GFP_KERNEL); in nfs4_alloc_stid() 563 if (!stid) in nfs4_alloc_stid() 568 new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 0, 0, GFP_NOWAIT); in nfs4_alloc_stid() 573 stid->sc_client = cl; in nfs4_alloc_stid() 574 stid->sc_stateid.si_opaque.so_id = new_id; in nfs4_alloc_stid() 575 stid->sc_stateid.si_opaque.so_clid = cl->cl_clientid; in nfs4_alloc_stid() 577 atomic_set(&stid->sc_count, 1); in nfs4_alloc_stid() 588 return stid; in nfs4_alloc_stid() [all …]
|
/linux-4.1.27/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);
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | e500_mmu_host.c | 148 int stid; in write_stlbe() local 151 stid = kvmppc_e500_get_tlb_stid(&vcpu_e500->vcpu, gtlbe); in write_stlbe() 153 stlbe->mas1 |= MAS1_TID(stid); in write_stlbe() 165 unsigned int stid; in kvmppc_map_magic() local 172 stid = kvmppc_e500_get_sid(vcpu_e500, 0, 0, 0, 0); in kvmppc_map_magic() 174 magic.mas1 = MAS1_VALID | MAS1_TS | MAS1_TID(stid) | in kvmppc_map_magic()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 2137 unsigned int stid = GET_TID(rpl); in pass_open_rpl() local 2138 struct c4iw_listen_ep *ep = lookup_stid(t, stid); in pass_open_rpl() 2141 PDBG("%s stid %d lookup failure!\n", __func__, stid); in pass_open_rpl() 2156 unsigned int stid = GET_TID(rpl); in close_listsrv_rpl() local 2157 struct c4iw_listen_ep *ep = lookup_stid(t, stid); in close_listsrv_rpl() 2299 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); in pass_accept_req() local 2310 parent_ep = lookup_stid(t, stid); in pass_accept_req() 2312 PDBG("%s connect request on invalid stid %d\n", __func__, stid); in pass_accept_req() 3176 ep->stid, &sin6->sin6_addr, in create_server6() 3187 err, ep->stid, in create_server6() [all …]
|
D | iw_cxgb4.h | 814 unsigned int stid; member
|
D | device.c | 627 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep() 640 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep()
|
/linux-4.1.27/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()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | svga3d_reg.h | 2399 uint32 stid; member 2410 uint32 stid; member 2416 uint32 stid; member 2423 uint32 stid; member
|