Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 66) sorted by relevance

123

/net/decnet/
Ddn_nsp_in.c205 unsigned short reason; member
225 static struct sock *dn_find_listener(struct sk_buff *skb, unsigned short *reason) in dn_find_listener() argument
327 *reason = ci_err_table[err].reason; in dn_find_listener()
403 unsigned short reason; in dn_nsp_disc_init() local
408 reason = le16_to_cpu(*(__le16 *)skb->data); in dn_nsp_disc_init()
411 scp->discdata_in.opt_status = cpu_to_le16(reason); in dn_nsp_disc_init()
470 unsigned short reason; in dn_nsp_disc_conf() local
475 reason = le16_to_cpu(*(__le16 *)skb->data); in dn_nsp_disc_conf()
484 if (reason == NSP_REASON_DC) in dn_nsp_disc_conf()
486 if (reason == NSP_REASON_NL) in dn_nsp_disc_conf()
[all …]
Ddn_nsp_out.c547 unsigned short reason, gfp_t gfp, in dn_nsp_do_disc() argument
570 *(__le16 *)msg = cpu_to_le16(reason); in dn_nsp_do_disc()
590 unsigned short reason, gfp_t gfp) in dn_nsp_send_disc() argument
598 if (reason == 0) in dn_nsp_send_disc()
599 reason = le16_to_cpu(scp->discdata_out.opt_status); in dn_nsp_send_disc()
601 dn_nsp_do_disc(sk, msgflg, reason, gfp, __sk_dst_get(sk), ddl, in dn_nsp_send_disc()
607 unsigned short reason) in dn_nsp_return_disc() argument
613 dn_nsp_do_disc(NULL, msgflg, reason, gfp, skb_dst(skb), ddl, in dn_nsp_return_disc()
/net/lapb/
Dlapb_iface.c382 void lapb_connect_confirmation(struct lapb_cb *lapb, int reason) in lapb_connect_confirmation() argument
385 lapb->callbacks->connect_confirmation(lapb->dev, reason); in lapb_connect_confirmation()
388 void lapb_connect_indication(struct lapb_cb *lapb, int reason) in lapb_connect_indication() argument
391 lapb->callbacks->connect_indication(lapb->dev, reason); in lapb_connect_indication()
394 void lapb_disconnect_confirmation(struct lapb_cb *lapb, int reason) in lapb_disconnect_confirmation() argument
397 lapb->callbacks->disconnect_confirmation(lapb->dev, reason); in lapb_disconnect_confirmation()
400 void lapb_disconnect_indication(struct lapb_cb *lapb, int reason) in lapb_disconnect_indication() argument
403 lapb->callbacks->disconnect_indication(lapb->dev, reason); in lapb_disconnect_indication()
/net/rxrpc/
Doutput.c42 u8 reason) in rxrpc_fill_out_ack() argument
62 pkt->ack.reason = reason; in rxrpc_fill_out_ack()
65 if (reason == RXRPC_ACK_PING) in rxrpc_fill_out_ack()
107 u8 reason; in rxrpc_send_ack_packet() local
137 reason = RXRPC_ACK_PING; in rxrpc_send_ack_packet()
139 reason = call->ackr_reason; in rxrpc_send_ack_packet()
147 n = rxrpc_fill_out_ack(call, pkt, &hard_ack, &top, reason); in rxrpc_send_ack_packet()
162 pkt->ack.reason, pkt->ack.nAcks); in rxrpc_send_ack_packet()
187 rxrpc_propose_ACK(call, pkt->ack.reason, in rxrpc_send_ack_packet()
/net/mac80211/
Dmesh_plink.c81 sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart()
214 u8 *da, u16 llid, u16 plid, u16 reason) in mesh_plink_frame_tx() argument
319 put_unaligned_le16(reason, pos); in mesh_plink_frame_tx()
387 sta->mesh->reason = WLAN_REASON_MESH_PEER_CANCELED; in mesh_plink_deactivate()
390 sta->mesh->plid, sta->mesh->reason); in mesh_plink_deactivate()
610 u16 reason = 0; in mesh_plink_timer() local
674 reason = WLAN_REASON_MESH_MAX_RETRIES; in mesh_plink_timer()
678 if (!reason) in mesh_plink_timer()
679 reason = WLAN_REASON_MESH_CONFIRM_TIMEOUT; in mesh_plink_timer()
695 sta->mesh->llid, sta->mesh->plid, reason); in mesh_plink_timer()
[all …]
Dutil.c276 enum queue_stop_reason reason, in __ieee80211_wake_queue() argument
281 trace_wake_queue(local, queue, reason); in __ieee80211_wake_queue()
286 if (!test_bit(reason, &local->queue_stop_reasons[queue])) in __ieee80211_wake_queue()
290 local->q_stop_reasons[queue][reason] = 0; in __ieee80211_wake_queue()
292 local->q_stop_reasons[queue][reason]--; in __ieee80211_wake_queue()
293 if (WARN_ON(local->q_stop_reasons[queue][reason] < 0)) in __ieee80211_wake_queue()
294 local->q_stop_reasons[queue][reason] = 0; in __ieee80211_wake_queue()
297 if (local->q_stop_reasons[queue][reason] == 0) in __ieee80211_wake_queue()
298 __clear_bit(reason, &local->queue_stop_reasons[queue]); in __ieee80211_wake_queue()
313 enum queue_stop_reason reason, in ieee80211_wake_queue_by_reason() argument
[all …]
Dtrace.h1365 enum ieee80211_frame_release_type reason,
1368 TP_ARGS(local, sta, tids, num_frames, reason, more_data),
1375 __field(int, reason)
1384 __entry->reason = reason;
1392 __entry->reason, __entry->more_data
1400 enum ieee80211_frame_release_type reason,
1403 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
1410 enum ieee80211_frame_release_type reason,
1413 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
2270 enum queue_stop_reason reason),
[all …]
Dsta_info.c1292 enum ieee80211_frame_release_type reason, in ieee80211_send_null_response() argument
1335 if (reason == IEEE80211_FRAME_RELEASE_UAPSD) { in ieee80211_send_null_response()
1360 reason, false); in ieee80211_send_null_response()
1395 enum ieee80211_frame_release_type reason, in ieee80211_sta_ps_more_data() argument
1405 if (reason == IEEE80211_FRAME_RELEASE_PSPOLL && in ieee80211_sta_ps_more_data()
1423 enum ieee80211_frame_release_type reason, in ieee80211_sta_ps_get_frames() argument
1480 enum ieee80211_frame_release_type reason) in ieee80211_sta_ps_deliver_response() argument
1493 ieee80211_sta_ps_get_frames(sta, n_frames, ignored_acs, reason, in ieee80211_sta_ps_deliver_response()
1496 more_data = ieee80211_sta_ps_more_data(sta, ignored_acs, reason, driver_release_tids); in ieee80211_sta_ps_deliver_response()
1498 if (driver_release_tids && reason == IEEE80211_FRAME_RELEASE_PSPOLL) in ieee80211_sta_ps_deliver_response()
[all …]
Dieee80211_i.h1756 u16 initiator, u16 reason, bool stop);
1758 u16 initiator, u16 reason, bool stop);
1768 enum ieee80211_agg_stop_reason reason);
1782 enum ieee80211_agg_stop_reason reason);
1784 enum ieee80211_agg_stop_reason reason);
1946 enum queue_stop_reason reason,
1950 enum queue_stop_reason reason);
1953 enum queue_stop_reason reason);
1956 enum queue_stop_reason reason,
1959 enum queue_stop_reason reason,
[all …]
Dagg-rx.c62 u16 initiator, u16 reason, bool tx) in ___ieee80211_stop_rx_ba_session() argument
90 (int)reason); in ___ieee80211_stop_rx_ba_session()
100 tid, WLAN_BACK_RECIPIENT, reason); in ___ieee80211_stop_rx_ba_session()
121 u16 initiator, u16 reason, bool tx) in __ieee80211_stop_rx_ba_session() argument
124 ___ieee80211_stop_rx_ba_session(sta, tid, initiator, reason, tx); in __ieee80211_stop_rx_ba_session()
Dagg-tx.c302 enum ieee80211_agg_stop_reason reason) in ___ieee80211_stop_tx_ba_session() argument
318 switch (reason) { in ___ieee80211_stop_tx_ba_session()
346 if (reason != AGG_STOP_DESTROY_STA) in ___ieee80211_stop_tx_ba_session()
395 tid_tx->stop_initiator = reason == AGG_STOP_PEER_REQUEST ? in ___ieee80211_stop_tx_ba_session()
398 tid_tx->tx_stop = reason == AGG_STOP_LOCAL_REQUEST; in ___ieee80211_stop_tx_ba_session()
811 enum ieee80211_agg_stop_reason reason) in __ieee80211_stop_tx_ba_session() argument
817 ret = ___ieee80211_stop_tx_ba_session(sta, tid, reason); in __ieee80211_stop_tx_ba_session()
Dht.c289 enum ieee80211_agg_stop_reason reason) in ieee80211_sta_tear_down_BA_sessions() argument
294 __ieee80211_stop_tx_ba_session(sta, i, reason); in ieee80211_sta_tear_down_BA_sessions()
297 reason != AGG_STOP_DESTROY_STA && in ieee80211_sta_tear_down_BA_sessions()
298 reason != AGG_STOP_PEER_REQUEST); in ieee80211_sta_tear_down_BA_sessions()
/net/batman-adv/
Dtp_meter.c223 static void batadv_tp_batctl_notify(enum batadv_tp_meter_reason reason, in batadv_tp_batctl_notify() argument
232 if (!batadv_tp_is_error(reason)) { in batadv_tp_batctl_notify()
237 result = reason; in batadv_tp_batctl_notify()
253 static void batadv_tp_batctl_error_notify(enum batadv_tp_meter_reason reason, in batadv_tp_batctl_error_notify() argument
258 batadv_tp_batctl_notify(reason, dst, bat_priv, 0, 0, cookie); in batadv_tp_batctl_error_notify()
414 tp_vars->other_end, tp_vars->reason); in batadv_tp_sender_end()
427 batadv_tp_batctl_notify(tp_vars->reason, in batadv_tp_sender_end()
441 enum batadv_tp_meter_reason reason) in batadv_tp_sender_shutdown() argument
446 tp_vars->reason = reason; in batadv_tp_sender_shutdown()
824 tp_vars->reason = err; in batadv_tp_send()
[all …]
/net/llc/
Dllc_c_ac.c94 u8 reason = 0; in llc_conn_ac_disc_ind() local
103 reason = LLC_DISC_REASON_RX_DM_RSP_PDU; in llc_conn_ac_disc_ind()
107 reason = LLC_DISC_REASON_RX_DISC_CMD_PDU; in llc_conn_ac_disc_ind()
109 reason = LLC_DISC_REASON_ACK_TMR_EXP; in llc_conn_ac_disc_ind()
113 ev->reason = reason; in llc_conn_ac_disc_ind()
123 ev->reason = ev->status; in llc_conn_ac_disc_confirm()
130 u8 reason = 0; in llc_conn_ac_rst_ind() local
141 reason = LLC_RESET_REASON_LOCAL; in llc_conn_ac_rst_ind()
146 reason = LLC_RESET_REASON_REMOTE; in llc_conn_ac_rst_ind()
155 reason = LLC_RESET_REASON_LOCAL; in llc_conn_ac_rst_ind()
[all …]
/net/wireless/
Dcore.h232 u16 reason; member
350 const u8 *ie, int ie_len, u16 reason,
354 const u8 *ie, int ie_len, u16 reason,
383 size_t ie_len, u16 reason, bool from_ap);
385 struct net_device *dev, u16 reason,
Dsme.c605 static int cfg80211_sme_disconnect(struct wireless_dev *wdev, u16 reason) in cfg80211_sme_disconnect() argument
625 NULL, 0, reason, false); in cfg80211_sme_disconnect()
973 size_t ie_len, u16 reason, bool from_ap) in __cfg80211_disconnected() argument
999 nl80211_send_disconnected(rdev, dev, reason, ie, ie_len, from_ap); in __cfg80211_disconnected()
1027 void cfg80211_disconnected(struct net_device *dev, u16 reason, in cfg80211_disconnected() argument
1044 ev->dc.reason = reason; in cfg80211_disconnected()
1160 struct net_device *dev, u16 reason, bool wextev) in cfg80211_disconnect() argument
1173 err = cfg80211_sme_disconnect(wdev, reason); in cfg80211_disconnect()
1177 err = rdev_disconnect(rdev, dev, reason); in cfg80211_disconnect()
/net/nfc/
Dllcp_core.c894 u8 dsap, ssap, reason; in nfc_llcp_recv_connect() local
904 reason = LLCP_DM_NOBOUND; in nfc_llcp_recv_connect()
913 reason = LLCP_DM_NOBOUND; in nfc_llcp_recv_connect()
921 reason = LLCP_DM_NOBOUND; in nfc_llcp_recv_connect()
931 reason = LLCP_DM_REJ; in nfc_llcp_recv_connect()
943 reason = LLCP_DM_REJ; in nfc_llcp_recv_connect()
954 reason = LLCP_DM_REJ; in nfc_llcp_recv_connect()
1008 nfc_llcp_send_dm(local, dsap, ssap, reason); in nfc_llcp_recv_connect()
1207 u8 dsap, ssap, reason; in nfc_llcp_recv_dm() local
1211 reason = skb->data[2]; in nfc_llcp_recv_dm()
[all …]
/net/ax25/
Dax25_subr.c263 void ax25_disconnect(ax25_cb *ax25, int reason) in ax25_disconnect() argument
276 ax25_link_failed(ax25, reason); in ax25_disconnect()
282 ax25->sk->sk_err = reason; in ax25_disconnect()
Dax25_iface.c193 void ax25_link_failed(ax25_cb *ax25, int reason) in ax25_link_failed() argument
199 lf->func(ax25, reason); in ax25_link_failed()
/net/sctp/
Doutqueue.c452 __u8 reason) in sctp_retransmit_mark() argument
486 if ((reason == SCTP_RTXR_FAST_RTX && in sctp_retransmit_mark()
488 (reason != SCTP_RTXR_FAST_RTX && !chunk->tsn_gap_acked)) { in sctp_retransmit_mark()
529 "flight_size:%d, pba:%d\n", __func__, transport, reason, in sctp_retransmit_mark()
538 enum sctp_retransmit_reason reason) in sctp_retransmit() argument
542 switch (reason) { in sctp_retransmit()
570 sctp_retransmit_mark(q, transport, reason); in sctp_retransmit()
576 if (reason == SCTP_RTXR_T3_RTX) in sctp_retransmit()
583 if (reason != SCTP_RTXR_FAST_RTX) in sctp_retransmit()
Dtransport.c511 enum sctp_lower_cwnd reason) in sctp_transport_lower_cwnd() argument
515 switch (reason) { in sctp_transport_lower_cwnd()
598 __func__, transport, reason, transport->cwnd, in sctp_transport_lower_cwnd()
/net/bluetooth/
Dhci_request.h97 int hci_abort_conn(struct hci_conn *conn, u8 reason);
99 u8 reason);
Dsmp.c808 static void smp_failure(struct l2cap_conn *conn, u8 reason) in smp_failure() argument
813 if (reason) in smp_failure()
814 smp_send_cmd(conn, SMP_CMD_PAIRING_FAIL, sizeof(reason), in smp_failure()
815 &reason); in smp_failure()
2874 __u8 code, reason; in smp_sig_channel() local
2881 reason = SMP_PAIRING_NOTSUPP; in smp_sig_channel()
2904 reason = smp_cmd_pairing_req(conn, skb); in smp_sig_channel()
2913 reason = smp_cmd_pairing_rsp(conn, skb); in smp_sig_channel()
2917 reason = smp_cmd_security_req(conn, skb); in smp_sig_channel()
2921 reason = smp_cmd_pairing_confirm(conn, skb); in smp_sig_channel()
[all …]
Dhci_request.c1710 u8 reason) in __hci_abort_conn() argument
1719 cp.reason = reason; in __hci_abort_conn()
1726 dc.reason = reason; in __hci_abort_conn()
1751 rej.reason = reason; in __hci_abort_conn()
1766 rej.reason = HCI_ERROR_REJ_LIMITED_RESOURCES; in __hci_abort_conn()
1784 int hci_abort_conn(struct hci_conn *conn, u8 reason) in hci_abort_conn() argument
1791 __hci_abort_conn(&req, conn, reason); in hci_abort_conn()
/net/netrom/
Dnr_subr.c262 void nr_disconnect(struct sock *sk, int reason) in nr_disconnect() argument
274 sk->sk_err = reason; in nr_disconnect()

123