Lines Matching refs:frag
1414 struct net_buf *frag; in send_data() local
1428 frag = pkt->frags; in send_data()
1429 send_len = net_buf_frags_len(frag); in send_data()
1461 while (frag) { in send_data()
1462 actual_send_len += frag->len; in send_data()
1463 mdm_receiver_send(&iface_ctx.mdm_ctx, frag->data, frag->len); in send_data()
1464 frag = frag->frags; in send_data()
1515 static uint16_t net_buf_findcrlf(struct net_buf *buf, struct net_buf **frag) in net_buf_findcrlf() argument
1531 *frag = buf; in net_buf_findcrlf()
1679 struct net_buf *frag = NULL; in on_cmd_atcmdinfo_manufacturer() local
1689 frag = NULL; in on_cmd_atcmdinfo_manufacturer()
1690 len = net_buf_findcrlf(*buf, &frag); in on_cmd_atcmdinfo_manufacturer()
1691 if (!frag) { in on_cmd_atcmdinfo_manufacturer()
1714 struct net_buf *frag = NULL; in on_cmd_atcmdinfo_model() local
1724 frag = NULL; in on_cmd_atcmdinfo_model()
1725 len = net_buf_findcrlf(*buf, &frag); in on_cmd_atcmdinfo_model()
1726 if (!frag) { in on_cmd_atcmdinfo_model()
1748 struct net_buf *frag = NULL; in on_cmd_atcmdinfo_revision() local
1757 frag = NULL; in on_cmd_atcmdinfo_revision()
1758 len = net_buf_findcrlf(*buf, &frag); in on_cmd_atcmdinfo_revision()
1759 if (!frag) { in on_cmd_atcmdinfo_revision()
1782 struct net_buf *frag = NULL; in on_cmd_atcmdinfo_imei() local
1791 frag = NULL; in on_cmd_atcmdinfo_imei()
1792 len = net_buf_findcrlf(*buf, &frag); in on_cmd_atcmdinfo_imei()
1793 if (!frag) { in on_cmd_atcmdinfo_imei()
1855 struct net_buf *frag = NULL; in on_cmd_atcmdinfo_imsi() local
1864 frag = NULL; in on_cmd_atcmdinfo_imsi()
1865 len = net_buf_findcrlf(*buf, &frag); in on_cmd_atcmdinfo_imsi()
1866 if (!frag) { in on_cmd_atcmdinfo_imsi()
2270 struct net_buf *frag = NULL; in on_cmd_atcmdinfo_serial_number() local
2282 frag = NULL; in on_cmd_atcmdinfo_serial_number()
2283 len = net_buf_findcrlf(*buf, &frag); in on_cmd_atcmdinfo_serial_number()
2284 if (!frag) { in on_cmd_atcmdinfo_serial_number()
2633 struct net_buf *frag = NULL; in profile_handler() local
2647 line_length = net_buf_findcrlf(*buf, &frag); in profile_handler()
2672 len = net_buf_findcrlf(*buf, &frag); in profile_handler()
2698 struct net_buf *frag = NULL; in on_cmd_atcmdinfo_pdp_authentication_cfg() local
2708 line_length = net_buf_findcrlf(*buf, &frag); in on_cmd_atcmdinfo_pdp_authentication_cfg()
2764 struct net_buf *frag = NULL; in on_cmd_atcmdinfo_pdp_context() local
2774 line_length = net_buf_findcrlf(*buf, &frag); in on_cmd_atcmdinfo_pdp_context()
2969 struct net_buf *frag = NULL; in gps_handler() local
2974 frag = NULL; in gps_handler()
2975 len = net_buf_findcrlf(*buf, &frag); in gps_handler()
2976 if (!frag) { in gps_handler()
3055 struct net_buf *frag = NULL; in on_cmd_polte_registration() local
3066 frag = NULL; in on_cmd_polte_registration()
3067 len = net_buf_findcrlf(*buf, &frag); in on_cmd_polte_registration()
3069 if (!frag) { in on_cmd_polte_registration()
3145 struct net_buf *frag = NULL; in on_cmd_polte_locate_cmd_rsp() local
3153 frag = NULL; in on_cmd_polte_locate_cmd_rsp()
3154 len = net_buf_findcrlf(*buf, &frag); in on_cmd_polte_locate_cmd_rsp()
3156 if (!frag) { in on_cmd_polte_locate_cmd_rsp()
3185 struct net_buf *frag = NULL; in on_cmd_polte_location() local
3198 frag = NULL; in on_cmd_polte_location()
3199 len = net_buf_findcrlf(*buf, &frag); in on_cmd_polte_location()
3201 if (!frag) { in on_cmd_polte_location()
3451 struct net_buf *frag = NULL; in on_cmd_operator_index_query() local
3458 frag = NULL; in on_cmd_operator_index_query()
3459 len = net_buf_findcrlf(*buf, &frag); in on_cmd_operator_index_query()
3460 if (!frag) { in on_cmd_operator_index_query()
3477 struct net_buf *frag; in on_cmd_modem_functionality() local
3484 frag = NULL; in on_cmd_modem_functionality()
3485 len = net_buf_findcrlf(*buf, &frag); in on_cmd_modem_functionality()
3486 if (!frag) { in on_cmd_modem_functionality()
3507 struct net_buf *frag = NULL; in on_cmd_survey_status() local
3517 frag = NULL; in on_cmd_survey_status()
3518 len = net_buf_findcrlf(*buf, &frag); in on_cmd_survey_status()
3519 if (!frag) { in on_cmd_survey_status()
3572 struct net_buf *frag = NULL; in on_cmd_rtc_query() local
3582 frag = NULL; in on_cmd_rtc_query()
3583 len = net_buf_findcrlf(*buf, &frag); in on_cmd_rtc_query()
3584 if (!frag) { in on_cmd_rtc_query()
4068 struct net_buf *frag; in sock_read() local
4170 frag = NULL; in sock_read()
4171 (void)net_buf_findcrlf(*buf, &frag); in sock_read()
4172 if (!frag) { in sock_read()
4582 struct net_buf *frag = NULL; in hl7800_rx() local
4706 frag = NULL; in hl7800_rx()
4707 len = net_buf_findcrlf(rx_buf, &frag); in hl7800_rx()
4708 if (!frag) { in hl7800_rx()
4739 frag = NULL; in hl7800_rx()
4740 len = net_buf_findcrlf(rx_buf, &frag); in hl7800_rx()
4741 if (!frag) { in hl7800_rx()
4755 frag = NULL; in hl7800_rx()
4768 len = net_buf_findcrlf(rx_buf, &frag); in hl7800_rx()
4775 !cmd_handled && frag && len > 1) { in hl7800_rx()
4782 if (remove_line_from_buf && frag && rx_buf) { in hl7800_rx()