• Home
  • Raw
  • Download

Lines Matching refs:rc

95 	int rc = 0;  in llc_conn_ac_disc_ind()  local
111 rc = -EINVAL; in llc_conn_ac_disc_ind()
112 if (!rc) { in llc_conn_ac_disc_ind()
116 return rc; in llc_conn_ac_disc_ind()
131 int rc = 1; in llc_conn_ac_rst_ind() local
142 rc = 0; in llc_conn_ac_rst_ind()
147 rc = 0; in llc_conn_ac_rst_ind()
156 rc = 0; in llc_conn_ac_rst_ind()
160 if (!rc) { in llc_conn_ac_rst_ind()
164 return rc; in llc_conn_ac_rst_ind()
200 int rc = -ENOBUFS; in llc_conn_ac_send_disc_cmd_p_set_x() local
210 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_disc_cmd_p_set_x()
211 if (unlikely(rc)) in llc_conn_ac_send_disc_cmd_p_set_x()
217 return rc; in llc_conn_ac_send_disc_cmd_p_set_x()
225 int rc = -ENOBUFS; in llc_conn_ac_send_dm_rsp_f_set_p() local
237 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_dm_rsp_f_set_p()
238 if (unlikely(rc)) in llc_conn_ac_send_dm_rsp_f_set_p()
243 return rc; in llc_conn_ac_send_dm_rsp_f_set_p()
251 int rc = -ENOBUFS; in llc_conn_ac_send_dm_rsp_f_set_1() local
261 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_dm_rsp_f_set_1()
262 if (unlikely(rc)) in llc_conn_ac_send_dm_rsp_f_set_1()
267 return rc; in llc_conn_ac_send_dm_rsp_f_set_1()
276 int rc = -ENOBUFS; in llc_conn_ac_send_frmr_rsp_f_set_x() local
295 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_frmr_rsp_f_set_x()
296 if (unlikely(rc)) in llc_conn_ac_send_frmr_rsp_f_set_x()
301 return rc; in llc_conn_ac_send_frmr_rsp_f_set_x()
309 int rc = -ENOBUFS; in llc_conn_ac_resend_frmr_rsp_f_set_0() local
322 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_resend_frmr_rsp_f_set_0()
323 if (unlikely(rc)) in llc_conn_ac_resend_frmr_rsp_f_set_0()
328 return rc; in llc_conn_ac_resend_frmr_rsp_f_set_0()
337 int rc = -ENOBUFS; in llc_conn_ac_resend_frmr_rsp_f_set_p() local
352 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_resend_frmr_rsp_f_set_p()
353 if (unlikely(rc)) in llc_conn_ac_resend_frmr_rsp_f_set_p()
358 return rc; in llc_conn_ac_resend_frmr_rsp_f_set_p()
366 int rc; in llc_conn_ac_send_i_cmd_p_set_1() local
373 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_i_cmd_p_set_1()
374 if (likely(!rc)) { in llc_conn_ac_send_i_cmd_p_set_1()
379 return rc; in llc_conn_ac_send_i_cmd_p_set_1()
384 int rc; in llc_conn_ac_send_i_cmd_p_set_0() local
391 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_i_cmd_p_set_0()
392 if (likely(!rc)) { in llc_conn_ac_send_i_cmd_p_set_0()
397 return rc; in llc_conn_ac_send_i_cmd_p_set_0()
402 int rc; in llc_conn_ac_send_i_xxx_x_set_0() local
409 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_i_xxx_x_set_0()
410 if (likely(!rc)) { in llc_conn_ac_send_i_xxx_x_set_0()
432 int rc = -ENOBUFS; in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr() local
442 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
443 if (likely(!rc)) in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
448 if (rc) { in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
450 rc = 0; in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
453 return rc; in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
467 int rc = -ENOBUFS; in llc_conn_ac_send_rej_cmd_p_set_1() local
477 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rej_cmd_p_set_1()
478 if (unlikely(rc)) in llc_conn_ac_send_rej_cmd_p_set_1()
483 return rc; in llc_conn_ac_send_rej_cmd_p_set_1()
491 int rc = -ENOBUFS; in llc_conn_ac_send_rej_rsp_f_set_1() local
501 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rej_rsp_f_set_1()
502 if (unlikely(rc)) in llc_conn_ac_send_rej_rsp_f_set_1()
507 return rc; in llc_conn_ac_send_rej_rsp_f_set_1()
515 int rc = -ENOBUFS; in llc_conn_ac_send_rej_xxx_x_set_0() local
525 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rej_xxx_x_set_0()
526 if (unlikely(rc)) in llc_conn_ac_send_rej_xxx_x_set_0()
531 return rc; in llc_conn_ac_send_rej_xxx_x_set_0()
539 int rc = -ENOBUFS; in llc_conn_ac_send_rnr_cmd_p_set_1() local
549 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rnr_cmd_p_set_1()
550 if (unlikely(rc)) in llc_conn_ac_send_rnr_cmd_p_set_1()
555 return rc; in llc_conn_ac_send_rnr_cmd_p_set_1()
563 int rc = -ENOBUFS; in llc_conn_ac_send_rnr_rsp_f_set_1() local
573 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rnr_rsp_f_set_1()
574 if (unlikely(rc)) in llc_conn_ac_send_rnr_rsp_f_set_1()
579 return rc; in llc_conn_ac_send_rnr_rsp_f_set_1()
587 int rc = -ENOBUFS; in llc_conn_ac_send_rnr_xxx_x_set_0() local
597 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rnr_xxx_x_set_0()
598 if (unlikely(rc)) in llc_conn_ac_send_rnr_xxx_x_set_0()
603 return rc; in llc_conn_ac_send_rnr_xxx_x_set_0()
623 int rc = -ENOBUFS; in llc_conn_ac_opt_send_rnr_xxx_x_set_0() local
633 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_opt_send_rnr_xxx_x_set_0()
634 if (unlikely(rc)) in llc_conn_ac_opt_send_rnr_xxx_x_set_0()
639 return rc; in llc_conn_ac_opt_send_rnr_xxx_x_set_0()
647 int rc = -ENOBUFS; in llc_conn_ac_send_rr_cmd_p_set_1() local
657 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rr_cmd_p_set_1()
658 if (unlikely(rc)) in llc_conn_ac_send_rr_cmd_p_set_1()
663 return rc; in llc_conn_ac_send_rr_cmd_p_set_1()
671 int rc = -ENOBUFS; in llc_conn_ac_send_rr_rsp_f_set_1() local
682 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rr_rsp_f_set_1()
683 if (unlikely(rc)) in llc_conn_ac_send_rr_rsp_f_set_1()
688 return rc; in llc_conn_ac_send_rr_rsp_f_set_1()
696 int rc = -ENOBUFS; in llc_conn_ac_send_ack_rsp_f_set_1() local
706 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_ack_rsp_f_set_1()
707 if (unlikely(rc)) in llc_conn_ac_send_ack_rsp_f_set_1()
712 return rc; in llc_conn_ac_send_ack_rsp_f_set_1()
720 int rc = -ENOBUFS; in llc_conn_ac_send_rr_xxx_x_set_0() local
730 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rr_xxx_x_set_0()
731 if (unlikely(rc)) in llc_conn_ac_send_rr_xxx_x_set_0()
736 return rc; in llc_conn_ac_send_rr_xxx_x_set_0()
744 int rc = -ENOBUFS; in llc_conn_ac_send_ack_xxx_x_set_0() local
754 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_ack_xxx_x_set_0()
755 if (unlikely(rc)) in llc_conn_ac_send_ack_xxx_x_set_0()
760 return rc; in llc_conn_ac_send_ack_xxx_x_set_0()
778 int rc = -ENOBUFS; in llc_conn_ac_send_sabme_cmd_p_set_x() local
791 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, dmac); in llc_conn_ac_send_sabme_cmd_p_set_x()
792 if (unlikely(rc)) in llc_conn_ac_send_sabme_cmd_p_set_x()
798 return rc; in llc_conn_ac_send_sabme_cmd_p_set_x()
807 int rc = -ENOBUFS; in llc_conn_ac_send_ua_rsp_f_set_p() local
819 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_ua_rsp_f_set_p()
820 if (unlikely(rc)) in llc_conn_ac_send_ua_rsp_f_set_p()
825 return rc; in llc_conn_ac_send_ua_rsp_f_set_p()
913 int rc; in llc_conn_ac_send_i_rsp_f_set_ackpf() local
920 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_i_rsp_f_set_ackpf()
921 if (likely(!rc)) { in llc_conn_ac_send_i_rsp_f_set_ackpf()
926 return rc; in llc_conn_ac_send_i_rsp_f_set_ackpf()
968 int rc = -ENOBUFS; in llc_conn_ac_send_rr_rsp_f_set_ackpf() local
978 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rr_rsp_f_set_ackpf()
979 if (unlikely(rc)) in llc_conn_ac_send_rr_rsp_f_set_ackpf()
984 return rc; in llc_conn_ac_send_rr_rsp_f_set_ackpf()