Lines Matching full:abort
55 /* A timeout occurred and this is the connection abort to
120 /* Any other reason (if a Connection Abort reason is
130 static const char *j1939_xtp_abort_to_str(enum j1939_xtp_abort abort) in j1939_xtp_abort_to_str() argument
132 switch (abort) { in j1939_xtp_abort_to_str()
138 return "A timeout occurred and this is the connection abort to close the session."; in j1939_xtp_abort_to_str()
164 …return "Any other reason (if a Connection Abort reason is identified that is not listed in the tab… in j1939_xtp_abort_to_str()
171 enum j1939_xtp_abort abort) in j1939_xtp_abort_to_errno() argument
175 switch (abort) { in j1939_xtp_abort_to_errno()
177 WARN_ON_ONCE(abort == J1939_XTP_NO_ABORT); in j1939_xtp_abort_to_errno()
229 netdev_warn(priv->ndev, "Unknown abort code %i", abort); in j1939_xtp_abort_to_errno()
1233 netdev_alert(priv->ndev, "%s: 0x%p: abort rx timeout. Force session deactivation\n", in j1939_tp_rxtimer()
1251 netdev_alert(priv->ndev, "%s: 0x%p: rx timeout, send abort\n", in j1939_tp_rxtimer()
1276 enum j1939_xtp_abort abort = J1939_XTP_NO_ABORT; in j1939_xtp_rx_cmd_bad_pgn() local
1284 abort = J1939_XTP_NO_ABORT; in j1939_xtp_rx_cmd_bad_pgn()
1290 abort = J1939_XTP_ABORT_BUSY; in j1939_xtp_rx_cmd_bad_pgn()
1296 abort = J1939_XTP_ABORT_ECTS_UNXPECTED_PGN; in j1939_xtp_rx_cmd_bad_pgn()
1300 abort = J1939_XTP_ABORT_BAD_EDPO_PGN; in j1939_xtp_rx_cmd_bad_pgn()
1306 abort = J1939_XTP_ABORT_OTHER; in j1939_xtp_rx_cmd_bad_pgn()
1310 abort = J1939_XTP_NO_ABORT; in j1939_xtp_rx_cmd_bad_pgn()
1320 if (abort != J1939_XTP_NO_ABORT) in j1939_xtp_rx_cmd_bad_pgn()
1321 j1939_xtp_tx_abort(priv, skcb, true, abort, pgn); in j1939_xtp_rx_cmd_bad_pgn()
1331 u8 abort = skb->data[1]; in j1939_xtp_rx_abort_one() local
1342 session, j1939_xtp_ctl_to_pgn(skb->data), abort, in j1939_xtp_rx_abort_one()
1343 j1939_xtp_abort_to_str(abort)); in j1939_xtp_rx_abort_one()
1346 session->err = j1939_xtp_abort_to_errno(priv, abort); in j1939_xtp_rx_abort_one()
1357 /* abort packets may come in 2 directions */
1592 enum j1939_xtp_abort abort = J1939_XTP_NO_ABORT; in j1939_xtp_rx_rts_session_new() local
1611 abort = J1939_XTP_ABORT_FAULT; in j1939_xtp_rx_rts_session_new()
1613 abort = J1939_XTP_ABORT_RESOURCE; in j1939_xtp_rx_rts_session_new()
1615 abort = J1939_XTP_ABORT_FAULT; in j1939_xtp_rx_rts_session_new()
1619 abort = J1939_XTP_ABORT_FAULT; in j1939_xtp_rx_rts_session_new()
1621 abort = J1939_XTP_ABORT_RESOURCE; in j1939_xtp_rx_rts_session_new()
1623 abort = J1939_XTP_ABORT_FAULT; in j1939_xtp_rx_rts_session_new()
1626 if (abort != J1939_XTP_NO_ABORT) { in j1939_xtp_rx_rts_session_new()
1627 j1939_xtp_tx_abort(priv, &skcb, true, abort, pgn); in j1939_xtp_rx_rts_session_new()
1748 * - session was aborted due to external abort message in j1939_xtp_rx_rts()
1821 enum j1939_xtp_abort abort = J1939_XTP_ABORT_FAULT; in j1939_xtp_rx_dat_one() local
1838 abort = J1939_XTP_ABORT_UNEXPECTED_DATA; in j1939_xtp_rx_dat_one()
1939 j1939_session_cancel(session, abort); in j1939_xtp_rx_dat_one()
2122 netdev_err_once(priv->ndev, "%s: abort to broadcast (%02x), ignoring!\n", in j1939_tp_cmd_recv()