/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 139 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid() argument 142 if (t->nsftids && (stid >= t->sftid_base)) { in lookup_stid() 143 stid -= t->sftid_base; in lookup_stid() 144 stid += t->nstids; in lookup_stid() 146 stid -= t->stid_base; in lookup_stid() 149 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid() 166 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family); 171 int cxgb4_create_server(const struct net_device *dev, unsigned int stid, 174 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid, 177 int cxgb4_remove_server(const struct net_device *dev, unsigned int stid, [all …]
|
D | cxgb4_main.c | 1504 int stid; in cxgb4_alloc_stid() local 1508 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid() 1509 if (stid < t->nstids) in cxgb4_alloc_stid() 1510 __set_bit(stid, t->stid_bmap); in cxgb4_alloc_stid() 1512 stid = -1; in cxgb4_alloc_stid() 1514 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 2); in cxgb4_alloc_stid() 1515 if (stid < 0) in cxgb4_alloc_stid() 1516 stid = -1; in cxgb4_alloc_stid() 1518 if (stid >= 0) { in cxgb4_alloc_stid() 1519 t->stid_tab[stid].data = data; in cxgb4_alloc_stid() [all …]
|
/linux-4.4.14/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.4.14/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() 241 struct nfs4_stid *stid; in nfsd4_preprocess_layout_stateid() local 248 status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, in nfsd4_preprocess_layout_stateid() 254 &stid->sc_file->fi_fhandle)) { in nfsd4_preprocess_layout_stateid() 259 if (stid->sc_type != NFS4_LAYOUT_STID) { in nfsd4_preprocess_layout_stateid() 260 ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); in nfsd4_preprocess_layout_stateid() 261 nfs4_put_stid(stid); in nfsd4_preprocess_layout_stateid() 268 ls = container_of(stid, struct nfs4_layout_stateid, ls_stid); in nfsd4_preprocess_layout_stateid() 272 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() 578 spin_lock_init(&stid->sc_lock); in nfs4_alloc_stid() [all …]
|
D | state.h | 590 void nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid);
|
/linux-4.4.14/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.4.14/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.4.14/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 2212 unsigned int stid = GET_TID(rpl); in pass_open_rpl() local 2213 struct c4iw_listen_ep *ep = lookup_stid(t, stid); in pass_open_rpl() 2216 PDBG("%s stid %d lookup failure!\n", __func__, stid); in pass_open_rpl() 2231 unsigned int stid = GET_TID(rpl); in close_listsrv_rpl() local 2232 struct c4iw_listen_ep *ep = lookup_stid(t, stid); in close_listsrv_rpl() 2383 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); in pass_accept_req() local 2395 parent_ep = lookup_stid(t, stid); in pass_accept_req() 2397 PDBG("%s connect request on invalid stid %d\n", __func__, stid); in pass_accept_req() 3276 ep->stid, &sin6->sin6_addr, in create_server6() 3287 err, ep->stid, in create_server6() [all …]
|
D | iw_cxgb4.h | 802 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.4.14/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
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_stdu.c | 213 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st() 216 cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; in vmw_stdu_define_st() 275 cmd->body.stid = stdu->base.unit; in vmw_stdu_bind_st() 302 update->body.stid = unit; in vmw_stdu_populate_update() 381 cmd->body.stid = stdu->base.unit; in vmw_stdu_destroy_st()
|
/linux-4.4.14/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()
|