Lines Matching refs:frag
49 struct net_buf **frag, uint16_t *offset) in findcrlf() argument
67 *frag = buf; in findcrlf()
302 struct net_buf *frag = last; in cmd_handler_process_iface_data() local
303 size_t frag_room = net_buf_tailroom(frag); in cmd_handler_process_iface_data()
306 frag = net_buf_alloc(data->buf_pool, in cmd_handler_process_iface_data()
308 if (!frag) { in cmd_handler_process_iface_data()
313 net_buf_frag_insert(last, frag); in cmd_handler_process_iface_data()
314 last = frag; in cmd_handler_process_iface_data()
316 frag_room = net_buf_tailroom(frag); in cmd_handler_process_iface_data()
319 ret = iface->read(iface, net_buf_tail(frag), frag_room, in cmd_handler_process_iface_data()
326 net_buf_add(frag, bytes_read); in cmd_handler_process_iface_data()
333 struct net_buf *frag = NULL; in cmd_handler_process_rx_buf() local
360 frag = NULL; in cmd_handler_process_rx_buf()
362 len = findcrlf(data, &frag, &offset); in cmd_handler_process_rx_buf()
363 if (!frag) { in cmd_handler_process_rx_buf()
412 frag = NULL; in cmd_handler_process_rx_buf()
421 (void)findcrlf(data, &frag, &offset); in cmd_handler_process_rx_buf()
426 if (frag && data->rx_buf) { in cmd_handler_process_rx_buf()
428 while (frag && data->rx_buf != frag) { in cmd_handler_process_rx_buf()