Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/chelsio/cxgb4/
H 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 …]
H A Dcxgb4_main.c1631 int stid; in cxgb4_alloc_stid() local
1635 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
1636 if (stid < t->nstids) in cxgb4_alloc_stid()
1637 __set_bit(stid, t->stid_bmap); in cxgb4_alloc_stid()
1639 stid = -1; in cxgb4_alloc_stid()
1641 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 1); in cxgb4_alloc_stid()
1642 if (stid < 0) in cxgb4_alloc_stid()
1643 stid = -1; in cxgb4_alloc_stid()
1645 if (stid >= 0) { in cxgb4_alloc_stid()
1646 t->stid_tab[stid] in cxgb4_alloc_stid()
1668 int stid; cxgb4_alloc_sftid() local
1694 cxgb4_free_stid(struct tid_info * t,unsigned int stid,int family) cxgb4_free_stid() argument
1925 cxgb4_create_server(const struct net_device * dev,unsigned int stid,__be32 sip,__be16 sport,__be16 vlan,unsigned int queue) cxgb4_create_server() argument
1966 cxgb4_create_server6(const struct net_device * dev,unsigned int stid,const struct in6_addr * sip,__be16 sport,unsigned int queue) cxgb4_create_server6() argument
1999 cxgb4_remove_server(const struct net_device * dev,unsigned int stid,unsigned int queue,bool ipv6) cxgb4_remove_server() argument
2905 cxgb4_create_server_filter(const struct net_device * dev,unsigned int stid,__be32 sip,__be16 sport,__be16 vlan,unsigned int queue,unsigned char port,unsigned char mask) cxgb4_create_server_filter() argument
2975 cxgb4_remove_server_filter(const struct net_device * dev,unsigned int stid,unsigned int queue,bool ipv6) cxgb4_remove_server_filter() argument
[all...]
/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c80 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 …]
H A Dcxgbit.h122 unsigned int stid; member
186 unsigned int stid; member
/linux/fs/nfsd/
H A Dnfs4state.c92 static void nfs4_free_ol_stateid(struct nfs4_stid *stid);
955 struct nfs4_stid *stid; in nfs4_alloc_stid()
958 stid = kmem_cache_zalloc(slab, GFP_KERNEL); in nfs4_alloc_stid()
959 if (!stid) in nfs4_alloc_stid()
965 new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 1, 0, GFP_NOWAIT); in nfs4_alloc_stid()
971 stid->sc_free = sc_free; in nfs4_alloc_stid()
972 stid->sc_client = cl; in nfs4_alloc_stid()
973 stid->sc_stateid.si_opaque.so_id = new_id; in nfs4_alloc_stid()
974 stid->sc_stateid.si_opaque.so_clid = cl->cl_clientid; in nfs4_alloc_stid()
976 refcount_set(&stid in nfs4_alloc_stid()
951 struct nfs4_stid *stid; nfs4_alloc_stid() local
986 nfs4_init_cp_state(struct nfsd_net * nn,copy_stateid_t * stid,struct nfs4_stid * p_stid) nfs4_init_cp_state() argument
1020 nfsd4_free_async_copy_stid(struct nfs4_stid * stid) nfsd4_free_async_copy_stid() argument
1039 struct nfs4_stid *stid; nfs4_alloc_copy_stid() local
1124 nfs4_free_cpntf_statelist(struct net * net,struct nfs4_stid * stid) nfs4_free_cpntf_statelist() argument
1143 struct nfs4_stid *stid; nfs4_alloc_open_stateid() local
1158 nfs4_free_deleg(struct nfs4_stid * stid) nfs4_free_deleg() argument
1253 struct nfs4_stid *stid; __alloc_init_deleg() local
1308 nfs4_free_dir_deleg(struct nfs4_stid * stid) nfs4_free_dir_deleg() argument
1383 nfs4_inc_and_copy_stateid(stateid_t * dst,struct nfs4_stid * stid) nfs4_inc_and_copy_stateid() argument
1738 nfs4_free_ol_stateid(struct nfs4_stid * stid) nfs4_free_ol_stateid() argument
1751 nfs4_free_lock_stateid(struct nfs4_stid * stid) nfs4_free_lock_stateid() argument
1949 struct nfs4_stid *stid; find_one_sb_stid() local
1972 drop_stid_export(struct nfs4_client * clp,struct nfs4_stid * stid) drop_stid_export() argument
1987 struct nfs4_stid *stid = &stp->st_stid; revoke_ol_stid() local
2014 revoke_one_stid(struct nfsd_net * nn,struct nfs4_client * clp,struct nfs4_stid * stid) revoke_one_stid() argument
2094 struct nfs4_stid *stid; nfsd4_revoke_states() local
2132 struct nfs4_stid *stid; find_one_export_stid() local
2182 struct nfs4_stid *stid; nfsd4_revoke_export_states() local
3304 nfs4_show_stateid(struct seq_file * s,stateid_t * stid) nfs4_show_stateid() argument
5725 nfsd40_drop_revoked_stid(struct nfs4_client * cl,stateid_t * stid) nfsd40_drop_revoked_stid() argument
7587 struct nfs4_stid *stid; nfs40_clean_admin_revoked() local
7951 struct nfs4_stid *stid; nfsd4_lookup_stateid() local
8107 find_cpntf_state(struct nfsd_net * nn,stateid_t * st,struct nfs4_stid ** stid) find_cpntf_state() argument
[all...]
H A Dnfs4layouts.c164 nfsd4_free_layout_stateid(struct nfs4_stid *stid) in nfsd4_free_layout_stateid()
166 struct nfs4_layout_stateid *ls = layoutstateid(stid); in nfsd4_free_layout_stateid()
295 struct nfs4_stid *stid; in nfsd4_preprocess_layout_stateid()
302 status = nfsd4_lookup_stateid(cstate, stateid, typemask, 0, &stid, in nfsd4_preprocess_layout_stateid()
308 &stid->sc_file->fi_fhandle)) { in nfsd4_preprocess_layout_stateid()
313 if (stid->sc_type != SC_TYPE_LAYOUT) { in nfsd4_preprocess_layout_stateid()
314 ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); in nfsd4_preprocess_layout_stateid()
315 nfs4_put_stid(stid); in nfsd4_preprocess_layout_stateid()
322 ls = container_of(stid, struct nfs4_layout_stateid, ls_stid); in nfsd4_preprocess_layout_stateid()
326 if (nfsd4_stateid_generation_after(stateid, &stid in nfsd4_preprocess_layout_stateid()
161 nfsd4_free_layout_stateid(struct nfs4_stid * stid) nfsd4_free_layout_stateid() argument
292 struct nfs4_stid *stid; nfsd4_preprocess_layout_stateid() local
[all...]
H A Dtrace.h736 const struct nfs4_stid *stid
738 TP_ARGS(stid),
749 const stateid_t *stp = &stid->sc_stateid;
751 __entry->sc_type = stid->sc_type;
752 __entry->sc_status = stid->sc_status;
753 __entry->sc_count = refcount_read(&stid->sc_count);
769 TP_PROTO(const struct nfs4_stid *stid), \
770 TP_ARGS(stid))
1853 const struct nfs4_stid *stid
1855 TP_ARGS(stid),
[all...]
H A Dnfs4proc.c1441 struct nfs4_stid *stid = NULL; in nfsd4_clone()
1454 stateid, WR_STATE, &nf, &stid);
1458 if (stid) {
1459 nfsd4_file_mark_deleg_written(stid->sc_file);
1460 nfs4_put_stid(stid);
2501 struct nfs4_stid *stid = NULL;
2506 &stid); in nfsd4_deallocate()
2509 if (!stid)
2520 cps = nfs4_alloc_init_cpntf_state(nn, stid); in nfsd4_seek()
2538 nfs4_put_stid(stid); in nfsd4_seek()
1355 struct nfs4_stid *stid = NULL; nfsd4_write() local
2407 struct nfs4_stid *stid = NULL; nfsd4_copy_notify() local
[all...]
H A Dstate.h930 void nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid);
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_defs.h54 unsigned int stid) in stid2entry() argument
56 return &t->stid_tab[stid - t->stid_base]; in stid2entry()
H A Dcxgb3_offload.c723 unsigned int stid = G_TID(ntohl(p->opcode_tid)); in do_stid_rpl() local
726 t3c_tid = lookup_stid(&(T3C_DATA(dev))->tid_maps, stid); in do_stid_rpl()
759 unsigned int stid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); in do_cr() local
771 t3c_tid = lookup_stid(t, stid); in do_cr()
/linux/arch/powerpc/kvm/
H A De500_mmu_host.c149 int stid; in write_stlbe() local
152 stid = kvmppc_e500_get_tlb_stid(&vcpu_e500->vcpu, gtlbe); in write_stlbe()
154 stlbe->mas1 |= MAS1_TID(stid); in write_stlbe()
166 unsigned int stid; in kvmppc_map_magic() local
173 stid = kvmppc_e500_get_sid(vcpu_e500, 0, 0, 0, 0); in kvmppc_map_magic()
175 magic.mas1 = MAS1_VALID | MAS1_TS | MAS1_TID(stid) | in kvmppc_map_magic()
/linux/drivers/infiniband/hw/cxgb4/
H A Dcm.c370 * Atomically lookup the ep ptr given the stid and grab a reference on the ep.
373 unsigned int stid) in get_ep_from_stid() argument
379 ep = xa_load(&dev->stids, stid); in get_ep_from_stid()
2387 unsigned int stid = GET_TID(rpl); in pass_open_rpl() local
2388 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); in pass_open_rpl()
2391 pr_warn("%s stid %d lookup failure!\n", __func__, stid); in pass_open_rpl()
2405 unsigned int stid = GET_TID(rpl); in close_listsrv_rpl() local
2406 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); in close_listsrv_rpl()
2409 pr_warn("%s stid in close_listsrv_rpl()
2518 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); pass_accept_req() local
3928 build_cpl_pass_accept_req(struct sk_buff * skb,int stid,u8 tos) build_cpl_pass_accept_req() argument
4062 int stid; rx_pkt() local
[all...]
H A Drestrack.c242 if (rdma_nl_put_driver_u32(msg, "stid", listen_ep->stid)) in c4iw_fill_res_cm_id_entry()
/linux/drivers/gpu/drm/vmwgfx/device_include/
H 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