Lines Matching refs:mpcginfo
116 static int mpc_validate_xid(struct mpcg_info *mpcginfo);
607 static void mpc_rcvd_sweep_resp(struct mpcg_info *mpcginfo) in mpc_rcvd_sweep_resp() argument
609 struct channel *rch = mpcginfo->ch; in mpc_rcvd_sweep_resp()
616 CTCM_D3_DUMP((char *)mpcginfo->sweep, TH_SWEEP_LENGTH); in mpc_rcvd_sweep_resp()
629 kfree(mpcginfo); in mpc_rcvd_sweep_resp()
694 static void mpc_rcvd_sweep_req(struct mpcg_info *mpcginfo) in mpc_rcvd_sweep_req() argument
696 struct channel *rch = mpcginfo->ch; in mpc_rcvd_sweep_req()
713 CTCM_D3_DUMP((char *)mpcginfo->sweep, TH_SWEEP_LENGTH); in mpc_rcvd_sweep_req()
717 kfree(mpcginfo); in mpc_rcvd_sweep_req()
1047 struct mpcg_info *mpcginfo; in ctcmpc_unpack_skb() local
1180 mpcginfo = kmalloc(sizeof(struct mpcg_info), gfp_type()); in ctcmpc_unpack_skb()
1181 if (mpcginfo == NULL) in ctcmpc_unpack_skb()
1184 mpcginfo->ch = ch; in ctcmpc_unpack_skb()
1185 mpcginfo->th = header; in ctcmpc_unpack_skb()
1186 mpcginfo->skb = pskb; in ctcmpc_unpack_skb()
1191 mpcginfo->sweep = sweep; in ctcmpc_unpack_skb()
1193 mpc_rcvd_sweep_req(mpcginfo); in ctcmpc_unpack_skb()
1195 mpc_rcvd_sweep_resp(mpcginfo); in ctcmpc_unpack_skb()
1199 mpcginfo->xid = thisxid; in ctcmpc_unpack_skb()
1200 fsm_event(grp->fsm, MPCG_EVENT_XID2, mpcginfo); in ctcmpc_unpack_skb()
1202 fsm_event(grp->fsm, MPCG_EVENT_DISCONC, mpcginfo); in ctcmpc_unpack_skb()
1209 kfree(mpcginfo); in ctcmpc_unpack_skb()
1490 struct mpcg_info *mpcginfo = arg; in mpc_action_discontact() local
1491 struct channel *ch = mpcginfo->ch; in mpc_action_discontact()
1542 static int mpc_validate_xid(struct mpcg_info *mpcginfo) in mpc_validate_xid() argument
1544 struct channel *ch = mpcginfo->ch; in mpc_validate_xid()
1548 struct xid2 *xid = mpcginfo->xid; in mpc_validate_xid()
1951 struct mpcg_info *mpcginfo = arg; in mpc_action_rcvd_xid0() local
1952 struct channel *ch = mpcginfo->ch; in mpc_action_rcvd_xid0()
1973 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid0()
1977 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid0()
1982 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid0()
1989 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid0()
1994 kfree(mpcginfo); in mpc_action_rcvd_xid0()
2013 struct mpcg_info *mpcginfo = arg; in mpc_action_rcvd_xid7() local
2014 struct channel *ch = mpcginfo->ch; in mpc_action_rcvd_xid7()
2032 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid7()
2036 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid7()
2048 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid7()
2052 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid7()
2055 kfree(mpcginfo); in mpc_action_rcvd_xid7()