Home
last modified time | relevance | path

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

123

/net/rxrpc/
Doutput.c74 u8 reason) in rxrpc_fill_out_ack() argument
85 if (!tmp && (reason == RXRPC_ACK_DELAY || in rxrpc_fill_out_ack()
86 reason == RXRPC_ACK_IDLE)) in rxrpc_fill_out_ack()
101 pkt->ack.reason = reason; in rxrpc_fill_out_ack()
104 if (reason == RXRPC_ACK_PING) in rxrpc_fill_out_ack()
190 u8 reason; in rxrpc_send_ack_packet() local
220 reason = RXRPC_ACK_PING; in rxrpc_send_ack_packet()
222 reason = call->ackr_reason; in rxrpc_send_ack_packet()
230 n = rxrpc_fill_out_ack(conn, call, pkt, &hard_ack, &top, reason); in rxrpc_send_ack_packet()
249 pkt->ack.reason, pkt->ack.nAcks); in rxrpc_send_ack_packet()
[all …]
Dconn_event.c48 if (pkt.ack.reason == RXRPC_ACK_PING_RESPONSE) in rxrpc_conn_retransmit_call()
104 pkt.ack.reason = skb ? RXRPC_ACK_DUPLICATE : RXRPC_ACK_IDLE; in rxrpc_conn_retransmit_call()
139 pkt.ack.reason, 0); in rxrpc_conn_retransmit_call()
/net/lapb/
Dlapb_iface.c409 void lapb_connect_confirmation(struct lapb_cb *lapb, int reason) in lapb_connect_confirmation() argument
412 lapb->callbacks->connect_confirmation(lapb->dev, reason); in lapb_connect_confirmation()
415 void lapb_connect_indication(struct lapb_cb *lapb, int reason) in lapb_connect_indication() argument
418 lapb->callbacks->connect_indication(lapb->dev, reason); in lapb_connect_indication()
421 void lapb_disconnect_confirmation(struct lapb_cb *lapb, int reason) in lapb_disconnect_confirmation() argument
424 lapb->callbacks->disconnect_confirmation(lapb->dev, reason); in lapb_disconnect_confirmation()
427 void lapb_disconnect_indication(struct lapb_cb *lapb, int reason) in lapb_disconnect_indication() argument
430 lapb->callbacks->disconnect_indication(lapb->dev, reason); in lapb_disconnect_indication()
/net/batman-adv/
Dtp_meter.c214 static void batadv_tp_batctl_notify(enum batadv_tp_meter_reason reason, in batadv_tp_batctl_notify() argument
223 if (!batadv_tp_is_error(reason)) { in batadv_tp_batctl_notify()
228 result = reason; in batadv_tp_batctl_notify()
244 static void batadv_tp_batctl_error_notify(enum batadv_tp_meter_reason reason, in batadv_tp_batctl_error_notify() argument
249 batadv_tp_batctl_notify(reason, dst, bat_priv, 0, 0, cookie); in batadv_tp_batctl_error_notify()
409 tp_vars->other_end, tp_vars->reason); in batadv_tp_sender_end()
422 batadv_tp_batctl_notify(tp_vars->reason, in batadv_tp_sender_end()
436 enum batadv_tp_meter_reason reason) in batadv_tp_sender_shutdown() argument
441 tp_vars->reason = reason; in batadv_tp_sender_shutdown()
816 tp_vars->reason = err; in batadv_tp_send()
[all …]
/net/mac80211/
Dmesh_plink.c79 sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart()
213 u8 *da, u16 llid, u16 plid, u16 reason) in mesh_plink_frame_tx() argument
324 put_unaligned_le16(reason, pos); in mesh_plink_frame_tx()
395 sta->mesh->reason = WLAN_REASON_MESH_PEER_CANCELED; in mesh_plink_deactivate()
398 sta->mesh->plid, sta->mesh->reason); in mesh_plink_deactivate()
638 u16 reason = 0; in mesh_plink_timer() local
702 reason = WLAN_REASON_MESH_MAX_RETRIES; in mesh_plink_timer()
706 if (!reason) in mesh_plink_timer()
707 reason = WLAN_REASON_MESH_CONFIRM_TIMEOUT; in mesh_plink_timer()
723 sta->mesh->llid, sta->mesh->plid, reason); in mesh_plink_timer()
[all …]
Dtrace.h1413 enum ieee80211_frame_release_type reason,
1416 TP_ARGS(local, sta, tids, num_frames, reason, more_data),
1423 __field(int, reason)
1432 __entry->reason = reason;
1440 __entry->reason, __entry->more_data
1448 enum ieee80211_frame_release_type reason,
1451 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
1458 enum ieee80211_frame_release_type reason,
1461 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
2400 enum queue_stop_reason reason),
[all …]
Dsta_info.c1398 enum ieee80211_frame_release_type reason, in ieee80211_send_null_response() argument
1441 if (reason == IEEE80211_FRAME_RELEASE_UAPSD) { in ieee80211_send_null_response()
1466 reason, false); in ieee80211_send_null_response()
1501 enum ieee80211_frame_release_type reason, in ieee80211_sta_ps_more_data() argument
1511 if (reason == IEEE80211_FRAME_RELEASE_PSPOLL && in ieee80211_sta_ps_more_data()
1529 enum ieee80211_frame_release_type reason, in ieee80211_sta_ps_get_frames() argument
1586 enum ieee80211_frame_release_type reason) in ieee80211_sta_ps_deliver_response() argument
1599 ieee80211_sta_ps_get_frames(sta, n_frames, ignored_acs, reason, in ieee80211_sta_ps_deliver_response()
1602 more_data = ieee80211_sta_ps_more_data(sta, ignored_acs, reason, driver_release_tids); in ieee80211_sta_ps_deliver_response()
1604 if (driver_release_tids && reason == IEEE80211_FRAME_RELEASE_PSPOLL) in ieee80211_sta_ps_deliver_response()
[all …]
Dutil.c434 enum queue_stop_reason reason, in __ieee80211_wake_queue() argument
440 trace_wake_queue(local, queue, reason); in __ieee80211_wake_queue()
445 if (!test_bit(reason, &local->queue_stop_reasons[queue])) in __ieee80211_wake_queue()
449 local->q_stop_reasons[queue][reason] = 0; in __ieee80211_wake_queue()
451 local->q_stop_reasons[queue][reason]--; in __ieee80211_wake_queue()
452 if (WARN_ON(local->q_stop_reasons[queue][reason] < 0)) in __ieee80211_wake_queue()
453 local->q_stop_reasons[queue][reason] = 0; in __ieee80211_wake_queue()
456 if (local->q_stop_reasons[queue][reason] == 0) in __ieee80211_wake_queue()
457 __clear_bit(reason, &local->queue_stop_reasons[queue]); in __ieee80211_wake_queue()
478 if (reason == IEEE80211_QUEUE_STOP_REASON_DRIVER) in __ieee80211_wake_queue()
[all …]
Dieee80211_i.h1859 u8 *bssid, u8 reason, bool tx);
2051 u16 initiator, u16 reason, bool stop);
2053 u16 initiator, u16 reason, bool stop);
2060 enum ieee80211_agg_stop_reason reason);
2074 enum ieee80211_agg_stop_reason reason);
2076 enum ieee80211_agg_stop_reason reason);
2278 enum queue_stop_reason reason,
2282 enum queue_stop_reason reason);
2285 enum queue_stop_reason reason);
2288 enum queue_stop_reason reason,
[all …]
Dht.c301 enum ieee80211_agg_stop_reason reason) in ieee80211_sta_tear_down_BA_sessions() argument
309 reason != AGG_STOP_DESTROY_STA && in ieee80211_sta_tear_down_BA_sessions()
310 reason != AGG_STOP_PEER_REQUEST); in ieee80211_sta_tear_down_BA_sessions()
313 ___ieee80211_stop_tx_ba_session(sta, i, reason); in ieee80211_sta_tear_down_BA_sessions()
321 if(reason == AGG_STOP_DESTROY_STA) { in ieee80211_sta_tear_down_BA_sessions()
Dagg-rx.c59 u16 initiator, u16 reason, bool tx) in ___ieee80211_stop_rx_ba_session() argument
87 (int)reason); in ___ieee80211_stop_rx_ba_session()
97 tid, WLAN_BACK_RECIPIENT, reason); in ___ieee80211_stop_rx_ba_session()
118 u16 initiator, u16 reason, bool tx) in __ieee80211_stop_rx_ba_session() argument
121 ___ieee80211_stop_rx_ba_session(sta, tid, initiator, reason, tx); in __ieee80211_stop_rx_ba_session()
Dagg-tx.c300 enum ieee80211_agg_stop_reason reason) in ___ieee80211_stop_tx_ba_session() argument
316 switch (reason) { in ___ieee80211_stop_tx_ba_session()
349 if (reason != AGG_STOP_DESTROY_STA) in ___ieee80211_stop_tx_ba_session()
399 tid_tx->stop_initiator = reason == AGG_STOP_PEER_REQUEST ? in ___ieee80211_stop_tx_ba_session()
402 tid_tx->tx_stop = reason == AGG_STOP_LOCAL_REQUEST; in ___ieee80211_stop_tx_ba_session()
845 enum ieee80211_agg_stop_reason reason) in __ieee80211_stop_tx_ba_session() argument
851 ret = ___ieee80211_stop_tx_ba_session(sta, tid, reason); in __ieee80211_stop_tx_ba_session()
/net/ax25/
Dax25_subr.c260 void ax25_disconnect(ax25_cb *ax25, int reason) in ax25_disconnect() argument
264 if (reason == ENETUNREACH) { in ax25_disconnect()
281 ax25_link_failed(ax25, reason); in ax25_disconnect()
287 ax25->sk->sk_err = reason; in ax25_disconnect()
Dax25_iface.c190 void ax25_link_failed(ax25_cb *ax25, int reason) in ax25_link_failed() argument
196 lf->func(ax25, reason); in ax25_link_failed()
/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/nfc/
Dllcp_core.c919 u8 dsap, ssap, reason; in nfc_llcp_recv_connect() local
929 reason = LLCP_DM_NOBOUND; in nfc_llcp_recv_connect()
938 reason = LLCP_DM_NOBOUND; in nfc_llcp_recv_connect()
946 reason = LLCP_DM_NOBOUND; in nfc_llcp_recv_connect()
956 reason = LLCP_DM_REJ; in nfc_llcp_recv_connect()
968 reason = LLCP_DM_REJ; in nfc_llcp_recv_connect()
979 reason = LLCP_DM_REJ; in nfc_llcp_recv_connect()
989 reason = LLCP_DM_REJ; in nfc_llcp_recv_connect()
1042 nfc_llcp_send_dm(local, dsap, ssap, reason); in nfc_llcp_recv_connect()
1243 u8 dsap, ssap, reason; in nfc_llcp_recv_dm() local
[all …]
/net/wireless/
Dcore.h265 u16 reason; member
374 const u8 *ie, int ie_len, u16 reason,
378 const u8 *ie, int ie_len, u16 reason,
408 size_t ie_len, u16 reason, bool from_ap);
410 struct net_device *dev, u16 reason,
Dsme.c646 static int cfg80211_sme_disconnect(struct wireless_dev *wdev, u16 reason) in cfg80211_sme_disconnect() argument
666 NULL, 0, reason, false); in cfg80211_sme_disconnect()
1319 size_t ie_len, u16 reason, bool from_ap) in __cfg80211_disconnected() argument
1341 nl80211_send_disconnected(rdev, dev, reason, ie, ie_len, from_ap); in __cfg80211_disconnected()
1379 void cfg80211_disconnected(struct net_device *dev, u16 reason, in cfg80211_disconnected() argument
1396 ev->dc.reason = reason; in cfg80211_disconnected()
1522 struct net_device *dev, u16 reason, bool wextev) in cfg80211_disconnect() argument
1535 err = cfg80211_sme_disconnect(wdev, reason); in cfg80211_disconnect()
1539 err = rdev_disconnect(rdev, dev, reason); in cfg80211_disconnect()
/net/bluetooth/
Dsmp.c795 static void smp_failure(struct l2cap_conn *conn, u8 reason) in smp_failure() argument
800 if (reason) in smp_failure()
801 smp_send_cmd(conn, SMP_CMD_PAIRING_FAIL, sizeof(reason), in smp_failure()
802 &reason); in smp_failure()
2954 __u8 code, reason; in smp_sig_channel() local
2961 reason = SMP_PAIRING_NOTSUPP; in smp_sig_channel()
2984 reason = smp_cmd_pairing_req(conn, skb); in smp_sig_channel()
2993 reason = smp_cmd_pairing_rsp(conn, skb); in smp_sig_channel()
2997 reason = smp_cmd_security_req(conn, skb); in smp_sig_channel()
3001 reason = smp_cmd_pairing_confirm(conn, skb); in smp_sig_channel()
[all …]
Dhci_request.h114 int hci_abort_conn(struct hci_conn *conn, u8 reason);
116 u8 reason);
/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()
/net/netrom/
Dnr_subr.c260 void nr_disconnect(struct sock *sk, int reason) in nr_disconnect() argument
272 sk->sk_err = reason; in nr_disconnect()
/net/rfkill/
Dcore.c530 bool blocked, unsigned long reason) in rfkill_set_hw_state_reason() argument
537 if (WARN(reason & in rfkill_set_hw_state_reason()
539 "hw_state reason not supported: 0x%lx", reason)) in rfkill_set_hw_state_reason()
543 prev = !!(rfkill->hard_block_reasons & reason); in rfkill_set_hw_state_reason()
546 rfkill->hard_block_reasons |= reason; in rfkill_set_hw_state_reason()
548 rfkill->hard_block_reasons &= ~reason; in rfkill_set_hw_state_reason()
/net/smc/
Dsmc_llc.c96 __be32 reason; member
529 u32 reason) in smc_llc_send_delete_link() argument
554 delllc->reason = htonl(reason); in smc_llc_send_delete_link()
1285 del_llc.reason = htonl(SMC_LLC_DEL_LOST_PATH); in smc_llc_srv_delete_link_local()
1317 del_llc->reason = htonl(SMC_LLC_DEL_NOLNK); in smc_llc_process_cli_delete_link()
1323 del_llc->reason = 0; in smc_llc_process_cli_delete_link()
1358 delllc.reason = htonl(rsn); in smc_llc_send_link_delete_all()
1384 qentry->msg.delete_link.reason)); in smc_llc_process_srv_delete_link()
/net/x25/
Dx25_subr.c338 void x25_disconnect(struct sock *sk, int reason, unsigned char cause, in x25_disconnect() argument
353 sk->sk_err = reason; in x25_disconnect()

123