Lines Matching refs:j1939_session

246 void j1939_session_get(struct j1939_session *session)  in j1939_session_get()
252 static void __j1939_session_drop(struct j1939_session *session) in __j1939_session_drop()
261 static void j1939_session_destroy(struct j1939_session *session) in j1939_session_destroy()
285 struct j1939_session *session = container_of(kref, struct j1939_session, in __j1939_session_release()
291 void j1939_session_put(struct j1939_session *session) in j1939_session_put()
296 static void j1939_session_txtimer_cancel(struct j1939_session *session) in j1939_session_txtimer_cancel()
302 static void j1939_session_rxtimer_cancel(struct j1939_session *session) in j1939_session_rxtimer_cancel()
308 void j1939_session_timers_cancel(struct j1939_session *session) in j1939_session_timers_cancel()
319 static void j1939_session_skb_drop_old(struct j1939_session *session) in j1939_session_skb_drop_old()
345 void j1939_session_skb_queue(struct j1939_session *session, in j1939_session_skb_queue()
364 sk_buff *j1939_session_skb_get_by_offset(struct j1939_session *session, in j1939_session_skb_get_by_offset()
396 static struct sk_buff *j1939_session_skb_get(struct j1939_session *session) in j1939_session_skb_get()
505 j1939_session *j1939_session_get_by_addr_locked(struct j1939_priv *priv, in j1939_session_get_by_addr_locked()
510 struct j1939_session *session; in j1939_session_get_by_addr_locked()
526 j1939_session *j1939_session_get_simple(struct j1939_priv *priv, in j1939_session_get_simple()
530 struct j1939_session *session; in j1939_session_get_simple()
547 j1939_session *j1939_session_get_by_addr(struct j1939_priv *priv, in j1939_session_get_by_addr()
551 struct j1939_session *session; in j1939_session_get_by_addr()
620 static int j1939_tp_tx_dat(struct j1939_session *session, in j1939_tp_tx_dat()
661 static inline int j1939_tp_tx_ctl(struct j1939_session *session, in j1939_tp_tx_ctl()
688 void j1939_tp_schedule_txtimer(struct j1939_session *session, int msec) in j1939_tp_schedule_txtimer()
695 static inline void j1939_tp_set_rxtimeout(struct j1939_session *session, in j1939_tp_set_rxtimeout()
704 static int j1939_session_tx_rts(struct j1939_session *session) in j1939_session_tx_rts()
751 static int j1939_session_tx_dpo(struct j1939_session *session) in j1939_session_tx_dpo()
780 static int j1939_session_tx_dat(struct j1939_session *session) in j1939_session_tx_dat()
861 static int j1939_xtp_txnext_transmiter(struct j1939_session *session) in j1939_xtp_txnext_transmiter()
900 static int j1939_session_tx_cts(struct j1939_session *session) in j1939_session_tx_cts()
945 static int j1939_session_tx_eoma(struct j1939_session *session) in j1939_session_tx_eoma()
987 static int j1939_xtp_txnext_receiver(struct j1939_session *session) in j1939_xtp_txnext_receiver()
1027 static int j1939_simple_txnext(struct j1939_session *session) in j1939_simple_txnext()
1063 static bool j1939_session_deactivate_locked(struct j1939_session *session) in j1939_session_deactivate_locked()
1081 static bool j1939_session_deactivate(struct j1939_session *session) in j1939_session_deactivate()
1098 j1939_session_deactivate_activate_next(struct j1939_session *session) in j1939_session_deactivate_activate_next()
1104 static void __j1939_session_cancel(struct j1939_session *session, in __j1939_session_cancel()
1127 static void j1939_session_cancel(struct j1939_session *session, in j1939_session_cancel()
1143 struct j1939_session *session = in j1939_tp_txtimer()
1144 container_of(hrtimer, struct j1939_session, txtimer); in j1939_tp_txtimer()
1203 static void j1939_session_completed(struct j1939_session *session) in j1939_session_completed()
1219 struct j1939_session *session = container_of(hrtimer, in j1939_tp_rxtimer()
1220 struct j1939_session, in j1939_tp_rxtimer()
1259 static bool j1939_xtp_rx_cmd_bad_pgn(struct j1939_session *session, in j1939_xtp_rx_cmd_bad_pgn()
1319 struct j1939_session *session; in j1939_xtp_rx_abort_one()
1356 j1939_xtp_rx_eoma_one(struct j1939_session *session, struct sk_buff *skb) in j1939_xtp_rx_eoma_one()
1392 struct j1939_session *session; in j1939_xtp_rx_eoma()
1404 j1939_xtp_rx_cts_one(struct j1939_session *session, struct sk_buff *skb) in j1939_xtp_rx_cts_one()
1467 struct j1939_session *session; in j1939_xtp_rx_cts()
1477 static struct j1939_session *j1939_session_new(struct j1939_priv *priv, in j1939_session_new()
1480 struct j1939_session *session; in j1939_session_new()
1516 j1939_session *j1939_session_fresh_new(struct j1939_priv *priv, in j1939_session_fresh_new()
1522 struct j1939_session *session; in j1939_session_fresh_new()
1547 int j1939_session_activate(struct j1939_session *session) in j1939_session_activate()
1550 struct j1939_session *active = NULL; in j1939_session_activate()
1578 j1939_session *j1939_xtp_rx_rts_session_new(struct j1939_priv *priv, in j1939_xtp_rx_rts_session_new()
1583 struct j1939_session *session; in j1939_xtp_rx_rts_session_new()
1650 static int j1939_xtp_rx_rts_session_active(struct j1939_session *session, in j1939_xtp_rx_rts_session_active()
1699 struct j1939_session *session; in j1939_xtp_rx_rts()
1753 static void j1939_xtp_rx_dpo_one(struct j1939_session *session, in j1939_xtp_rx_dpo_one()
1776 struct j1939_session *session; in j1939_xtp_rx_dpo()
1790 static void j1939_xtp_rx_dat_one(struct j1939_session *session, in j1939_xtp_rx_dat_one()
1918 struct j1939_session *session; in j1939_xtp_rx_dat()
1951 struct j1939_session *j1939_tp_send(struct j1939_priv *priv, in j1939_tp_send()
1955 struct j1939_session *session; in j1939_tp_send()
2143 struct j1939_session *session; in j1939_simple_recv()
2169 struct j1939_session *session, *saved; in j1939_cancel_active_session()