Home
last modified time | relevance | path

Searched refs:stid (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_uld.h182 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 …]
A Dcxgb4_main.c1632 int stid; in cxgb4_alloc_stid() local
1640 stid = -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()
1661 return stid; in cxgb4_alloc_stid()
1669 int stid; in cxgb4_alloc_sftid() local
1678 stid = -1; in cxgb4_alloc_sftid()
1680 stid = -1; in cxgb4_alloc_sftid()
1682 if (stid >= 0) { in cxgb4_alloc_sftid()
[all …]
/linux-6.3-rc2/drivers/target/iscsi/cxgbit/
A Dcxgbit_cm.c80 unsigned int stid) in cxgbit_np_hash_add() argument
88 p->stid = stid; in cxgbit_np_hash_add()
107 stid = p->stid; in cxgbit_np_hash_find()
113 return stid; in cxgbit_np_hash_find()
124 stid = p->stid; in cxgbit_np_hash_del()
132 return stid; in cxgbit_np_hash_del()
345 int stid, ret; in __cxgbit_setup_cdev_np() local
352 if (stid < 0) in __cxgbit_setup_cdev_np()
520 int stid, ret; in __cxgbit_free_cdev_np() local
524 if (stid < 0) in __cxgbit_free_cdev_np()
[all …]
A Dcxgbit.h122 unsigned int stid; member
186 unsigned int stid; member
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_cm.c557 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
680 if (stid < 0) in chtls_listen_start()
733 int stid; in chtls_listen_stop() local
[all …]
A Dchtls.h162 unsigned int stid; /* The server TID */ member
/linux-6.3-rc2/fs/nfsd/
A Dnfs4layouts.c156 nfsd4_free_layout_stateid(struct nfs4_stid *stid) in nfsd4_free_layout_stateid() argument
158 struct nfs4_layout_stateid *ls = layoutstateid(stid); in nfsd4_free_layout_stateid()
271 struct nfs4_stid *stid; in nfsd4_preprocess_layout_stateid() local
278 status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, in nfsd4_preprocess_layout_stateid()
284 &stid->sc_file->fi_fhandle)) { in nfsd4_preprocess_layout_stateid()
289 if (stid->sc_type != NFS4_LAYOUT_STID) { in nfsd4_preprocess_layout_stateid()
290 ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); in nfsd4_preprocess_layout_stateid()
291 nfs4_put_stid(stid); in nfsd4_preprocess_layout_stateid()
298 ls = container_of(stid, struct nfs4_layout_stateid, ls_stid); in nfsd4_preprocess_layout_stateid()
302 if (nfsd4_stateid_generation_after(stateid, &stid->sc_stateid)) in nfsd4_preprocess_layout_stateid()
[all …]
A Dnfs4state.c928 struct nfs4_stid *stid; in nfs4_alloc_stid() local
932 if (!stid) in nfs4_alloc_stid()
944 stid->sc_free = sc_free; in nfs4_alloc_stid()
945 stid->sc_client = cl; in nfs4_alloc_stid()
962 return stid; in nfs4_alloc_stid()
1048 struct nfs4_stid *stid; in nfs4_alloc_open_stateid() local
1051 if (!stid) in nfs4_alloc_open_stateid()
6406 if (!stid) in nfsd4_lookup_stateid()
6409 nfs4_put_stid(stid); in nfsd4_lookup_stateid()
6414 *s = stid; in nfsd4_lookup_stateid()
[all …]
A Dtrace.h663 const struct nfs4_stid *stid
665 TP_ARGS(stid),
675 const stateid_t *stp = &stid->sc_stateid;
677 __entry->sc_type = stid->sc_type;
693 TP_PROTO(const struct nfs4_stid *stid), \
694 TP_ARGS(stid))
1409 const struct nfs4_stid *stid
1411 TP_ARGS(stid),
1412 TP_CONDITION(stid->sc_client),
1421 const stateid_t *stp = &stid->sc_stateid;
[all …]
A Dstate.h687 void nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid);
A Dnfs4proc.c1889 struct nfs4_stid *stid; in nfsd4_copy_notify() local
1895 &stid); in nfsd4_copy_notify()
1903 cps = nfs4_alloc_init_cpntf_state(nn, stid); in nfsd4_copy_notify()
1907 memcpy(&cps->cp_p_stateid, &stid->sc_stateid, sizeof(stateid_t)); in nfsd4_copy_notify()
1922 nfs4_put_stid(stid); in nfsd4_copy_notify()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/
A Dcxgb3_defs.h54 unsigned int stid) in stid2entry() argument
56 return &t->stid_tab[stid - t->stid_base]; in stid2entry()
A Dcxgb3_offload.c521 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()
A Dcxgb3_offload.h101 void cxgb3_free_stid(struct t3cdev *dev, int stid);
/linux-6.3-rc2/arch/powerpc/kvm/
A De500_mmu_host.c146 int stid; in write_stlbe() local
149 stid = kvmppc_e500_get_tlb_stid(&vcpu_e500->vcpu, gtlbe); in write_stlbe()
151 stlbe->mas1 |= MAS1_TID(stid); in write_stlbe()
163 unsigned int stid; in kvmppc_map_magic() local
170 stid = kvmppc_e500_get_sid(vcpu_e500, 0, 0, 0, 0); in kvmppc_map_magic()
172 magic.mas1 = MAS1_VALID | MAS1_TS | MAS1_TID(stid) | in kvmppc_map_magic()
/linux-6.3-rc2/drivers/infiniband/hw/cxgb4/
A Dcm.c373 unsigned int stid) in get_ep_from_stid() argument
379 ep = xa_load(&dev->stids, stid); in get_ep_from_stid()
2380 unsigned int stid = GET_TID(rpl); in pass_open_rpl() local
2398 unsigned int stid = GET_TID(rpl); in close_listsrv_rpl() local
2527 __func__, stid); in pass_accept_req()
3474 ep->stid, &sin6->sin6_addr, in create_server6()
3487 err, ep->stid, in create_server6()
3528 , err, ep->stid, in create_server4()
3567 if (ep->stid == -1) { in c4iw_create_listen()
4055 int stid; in rx_pkt() local
[all …]
A Drestrack.c242 if (rdma_nl_put_driver_u32(msg, "stid", listen_ep->stid)) in c4iw_fill_res_cm_id_entry()
A Diw_cxgb4.h858 unsigned int stid; member
A Ddevice.c635 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep()
648 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep()
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/device_include/
A Dsvga3d_cmd.h1418 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
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_stdu.c187 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st()
190 cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; in vmw_stdu_define_st()
246 cmd->body.stid = stdu->base.unit; in vmw_stdu_bind_st()
273 update->body.stid = unit; in vmw_stdu_populate_update()
346 cmd->body.stid = stdu->base.unit; in vmw_stdu_destroy_st()

Completed in 90 milliseconds