Lines Matching refs:reason_code
658 int reason_code = 0; in smc_clc_wait_msg() local
678 reason_code = -EINTR; in smc_clc_wait_msg()
684 reason_code = -clc_sk->sk_err; in smc_clc_wait_msg()
694 reason_code = -ECONNRESET; in smc_clc_wait_msg()
700 reason_code = len; in smc_clc_wait_msg()
709 reason_code = -EPROTO; in smc_clc_wait_msg()
726 reason_code = -EPROTO; in smc_clc_wait_msg()
746 reason_code = SMC_CLC_DECL_PEERDECL; in smc_clc_wait_msg()
757 return reason_code; in smc_clc_wait_msg()
815 int reason_code = 0; in smc_clc_send_proposal() local
966 reason_code = -smc->sk.sk_err; in smc_clc_send_proposal()
968 reason_code = -ENETUNREACH; in smc_clc_send_proposal()
969 smc->sk.sk_err = -reason_code; in smc_clc_send_proposal()
973 return reason_code; in smc_clc_send_proposal()
1114 int reason_code = 0; in smc_clc_send_confirm() local
1124 reason_code = -ENETUNREACH; in smc_clc_send_confirm()
1125 smc->sk.sk_err = -reason_code; in smc_clc_send_confirm()
1128 reason_code = -smc->sk.sk_err; in smc_clc_send_confirm()
1131 return reason_code; in smc_clc_send_confirm()