• Home
  • Raw
  • Download

Lines Matching refs:tid

45 		u64		tid;  member
47 u64 tid; member
87 static inline u32 gtp0_hashfn(u64 tid) in gtp0_hashfn() argument
89 u32 *tid32 = (u32 *) &tid; in gtp0_hashfn()
93 static inline u32 gtp1u_hashfn(u32 tid) in gtp1u_hashfn() argument
95 return jhash_1word(tid, gtp_h_initval); in gtp1u_hashfn()
104 static struct pdp_ctx *gtp0_pdp_find(struct gtp_dev *gtp, u64 tid) in gtp0_pdp_find() argument
109 head = &gtp->tid_hash[gtp0_hashfn(tid) % gtp->hash_size]; in gtp0_pdp_find()
113 pdp->u.v0.tid == tid) in gtp0_pdp_find()
120 static struct pdp_ctx *gtp1_pdp_find(struct gtp_dev *gtp, u32 tid) in gtp1_pdp_find() argument
125 head = &gtp->tid_hash[gtp1u_hashfn(tid) % gtp->hash_size]; in gtp1_pdp_find()
129 pdp->u.v1.i_tei == tid) in gtp1_pdp_find()
200 pctx = gtp0_pdp_find(gtp, be64_to_cpu(gtp0->tid)); in gtp0_udp_encap_recv()
257 pctx = gtp1_pdp_find(gtp, ntohl(gtp1->tid)); in gtp1u_udp_encap_recv()
413 gtp0->tid = cpu_to_be64(pctx->u.v0.tid); in gtp0_push_header()
432 gtp1->tid = htonl(pctx->u.v1.o_tei); in gtp1_push_header()
906 pctx->u.v0.tid = nla_get_u64(info->attrs[GTPA_TID]); in ipv4_pdp_fill()
946 pctx->u.v0.tid, pctx); in ipv4_pdp_add()
969 hash_tid = gtp0_hashfn(pctx->u.v0.tid) % gtp->hash_size; in ipv4_pdp_add()
982 pctx->u.v0.tid, &pctx->sgsn_addr_ip4, in ipv4_pdp_add()
1083 pctx->u.v0.tid, pctx); in gtp_genl_del_pdp()
1121 if (nla_put_u64_64bit(skb, GTPA_TID, pctx->u.v0.tid, GTPA_PAD) || in gtp_genl_fill_info()
1180 u64 tid = nla_get_u64(info->attrs[GTPA_TID]); in gtp_genl_get_pdp() local
1182 pctx = gtp0_pdp_find(gtp, tid); in gtp_genl_get_pdp()
1185 u32 tid = nla_get_u32(info->attrs[GTPA_I_TEI]); in gtp_genl_get_pdp() local
1187 pctx = gtp1_pdp_find(gtp, tid); in gtp_genl_get_pdp()
1226 unsigned long tid = cb->args[1]; in gtp_genl_dump_pdp() local
1241 if (tid && tid != pctx->u.tid) in gtp_genl_dump_pdp()
1244 tid = 0; in gtp_genl_dump_pdp()
1252 cb->args[1] = pctx->u.tid; in gtp_genl_dump_pdp()