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()
378 return rc; in llc_conn_ac_send_i_cmd_p_set_1()
383 int rc; in llc_conn_ac_send_i_cmd_p_set_0() local
390 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_i_cmd_p_set_0()
391 if (likely(!rc)) { in llc_conn_ac_send_i_cmd_p_set_0()
395 return rc; in llc_conn_ac_send_i_cmd_p_set_0()
400 int rc; in llc_conn_ac_send_i_xxx_x_set_0() local
407 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_i_xxx_x_set_0()
408 if (likely(!rc)) { in llc_conn_ac_send_i_xxx_x_set_0()
429 int rc = -ENOBUFS; in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr() local
439 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()
440 if (likely(!rc)) in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
445 if (rc) { in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
447 rc = 0; in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
450 return rc; in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
464 int rc = -ENOBUFS; in llc_conn_ac_send_rej_cmd_p_set_1() local
474 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rej_cmd_p_set_1()
475 if (unlikely(rc)) in llc_conn_ac_send_rej_cmd_p_set_1()
480 return rc; in llc_conn_ac_send_rej_cmd_p_set_1()
488 int rc = -ENOBUFS; in llc_conn_ac_send_rej_rsp_f_set_1() local
498 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rej_rsp_f_set_1()
499 if (unlikely(rc)) in llc_conn_ac_send_rej_rsp_f_set_1()
504 return rc; in llc_conn_ac_send_rej_rsp_f_set_1()
512 int rc = -ENOBUFS; in llc_conn_ac_send_rej_xxx_x_set_0() local
522 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rej_xxx_x_set_0()
523 if (unlikely(rc)) in llc_conn_ac_send_rej_xxx_x_set_0()
528 return rc; in llc_conn_ac_send_rej_xxx_x_set_0()
536 int rc = -ENOBUFS; in llc_conn_ac_send_rnr_cmd_p_set_1() local
546 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rnr_cmd_p_set_1()
547 if (unlikely(rc)) in llc_conn_ac_send_rnr_cmd_p_set_1()
552 return rc; in llc_conn_ac_send_rnr_cmd_p_set_1()
560 int rc = -ENOBUFS; in llc_conn_ac_send_rnr_rsp_f_set_1() local
570 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rnr_rsp_f_set_1()
571 if (unlikely(rc)) in llc_conn_ac_send_rnr_rsp_f_set_1()
576 return rc; in llc_conn_ac_send_rnr_rsp_f_set_1()
584 int rc = -ENOBUFS; in llc_conn_ac_send_rnr_xxx_x_set_0() local
594 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rnr_xxx_x_set_0()
595 if (unlikely(rc)) in llc_conn_ac_send_rnr_xxx_x_set_0()
600 return rc; in llc_conn_ac_send_rnr_xxx_x_set_0()
620 int rc = -ENOBUFS; in llc_conn_ac_opt_send_rnr_xxx_x_set_0() local
630 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_opt_send_rnr_xxx_x_set_0()
631 if (unlikely(rc)) in llc_conn_ac_opt_send_rnr_xxx_x_set_0()
636 return rc; in llc_conn_ac_opt_send_rnr_xxx_x_set_0()
644 int rc = -ENOBUFS; in llc_conn_ac_send_rr_cmd_p_set_1() local
654 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rr_cmd_p_set_1()
655 if (unlikely(rc)) in llc_conn_ac_send_rr_cmd_p_set_1()
660 return rc; in llc_conn_ac_send_rr_cmd_p_set_1()
668 int rc = -ENOBUFS; in llc_conn_ac_send_rr_rsp_f_set_1() local
679 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rr_rsp_f_set_1()
680 if (unlikely(rc)) in llc_conn_ac_send_rr_rsp_f_set_1()
685 return rc; in llc_conn_ac_send_rr_rsp_f_set_1()
693 int rc = -ENOBUFS; in llc_conn_ac_send_ack_rsp_f_set_1() local
703 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_ack_rsp_f_set_1()
704 if (unlikely(rc)) in llc_conn_ac_send_ack_rsp_f_set_1()
709 return rc; in llc_conn_ac_send_ack_rsp_f_set_1()
717 int rc = -ENOBUFS; in llc_conn_ac_send_rr_xxx_x_set_0() local
727 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rr_xxx_x_set_0()
728 if (unlikely(rc)) in llc_conn_ac_send_rr_xxx_x_set_0()
733 return rc; in llc_conn_ac_send_rr_xxx_x_set_0()
741 int rc = -ENOBUFS; in llc_conn_ac_send_ack_xxx_x_set_0() local
751 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_ack_xxx_x_set_0()
752 if (unlikely(rc)) in llc_conn_ac_send_ack_xxx_x_set_0()
757 return rc; in llc_conn_ac_send_ack_xxx_x_set_0()
775 int rc = -ENOBUFS; in llc_conn_ac_send_sabme_cmd_p_set_x() local
788 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, dmac); in llc_conn_ac_send_sabme_cmd_p_set_x()
789 if (unlikely(rc)) in llc_conn_ac_send_sabme_cmd_p_set_x()
795 return rc; in llc_conn_ac_send_sabme_cmd_p_set_x()
804 int rc = -ENOBUFS; in llc_conn_ac_send_ua_rsp_f_set_p() local
816 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_ua_rsp_f_set_p()
817 if (unlikely(rc)) in llc_conn_ac_send_ua_rsp_f_set_p()
822 return rc; in llc_conn_ac_send_ua_rsp_f_set_p()
910 int rc; in llc_conn_ac_send_i_rsp_f_set_ackpf() local
917 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_i_rsp_f_set_ackpf()
918 if (likely(!rc)) { in llc_conn_ac_send_i_rsp_f_set_ackpf()
922 return rc; in llc_conn_ac_send_i_rsp_f_set_ackpf()
961 int rc = -ENOBUFS; in llc_conn_ac_send_rr_rsp_f_set_ackpf() local
971 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_rr_rsp_f_set_ackpf()
972 if (unlikely(rc)) in llc_conn_ac_send_rr_rsp_f_set_ackpf()
977 return rc; in llc_conn_ac_send_rr_rsp_f_set_ackpf()