Lines Matching refs:tid
42 u64 tid;
88 static inline u32 gtp0_hashfn(u64 tid)
90 u32 *tid32 = (u32 *) &tid;
94 static inline u32 gtp1u_hashfn(u32 tid)
96 return jhash_1word(tid, gtp_h_initval);
105 static struct pdp_ctx *gtp0_pdp_find(struct gtp_dev *gtp, u64 tid)
110 head = >p->tid_hash[gtp0_hashfn(tid) % gtp->hash_size];
114 pdp->u.v0.tid == tid)
121 static struct pdp_ctx *gtp1_pdp_find(struct gtp_dev *gtp, u32 tid)
126 head = >p->tid_hash[gtp1u_hashfn(tid) % gtp->hash_size];
130 pdp->u.v1.i_tei == tid)
230 pctx = gtp0_pdp_find(gtp, be64_to_cpu(gtp0->tid));
272 pctx = gtp1_pdp_find(gtp, ntohl(gtp1->tid));
414 gtp0->tid = cpu_to_be64(pctx->u.v0.tid);
433 gtp1->tid = htonl(pctx->u.v1.o_tei);
918 pctx->u.v0.tid = nla_get_u64(info->attrs[GTPA_TID]);
971 pctx->u.v0.tid, pctx);
993 * flow.". We use the tid for this instead, I cannot find a
997 hash_tid = gtp0_hashfn(pctx->u.v0.tid) % gtp->hash_size;
1010 pctx->u.v0.tid, &pctx->peer_addr_ip4,
1163 pctx->u.v0.tid, pctx);
1204 if (nla_put_u64_64bit(skb, GTPA_TID, pctx->u.v0.tid, GTPA_PAD) ||