Lines Matching refs:rec_buf
94 struct net_buf *rec_buf; member
1519 net_buf_add_be16(buf, net_buf_tailroom(session->rec_buf) / SDP_RECORD_HANDLE_SIZE); in sdp_client_ss_search()
1552 net_buf_add_be16(buf, net_buf_tailroom(session->rec_buf)); in sdp_client_sa_search()
1622 net_buf_add_be16(buf, net_buf_tailroom(session->rec_buf)); in sdp_client_ssa_search()
1823 buf = session->rec_buf; in get_record_len()
1867 while (session->rec_buf->len) { in sdp_client_notify_result()
1872 if (session->rec_buf->len > rec_len) { in sdp_client_notify_result()
1879 net_buf_simple_save(&session->rec_buf->b, &buf_state); in sdp_client_notify_result()
1881 result.resp_buf = session->rec_buf; in sdp_client_notify_result()
1892 net_buf_simple_restore(&session->rec_buf->b, &buf_state); in sdp_client_notify_result()
1897 net_buf_pull(session->rec_buf, rec_len); in sdp_client_notify_result()
1935 received_count = session->rec_buf->len / SDP_RECORD_HANDLE_SIZE; in sdp_client_receive_ss()
1973 if (record_len > net_buf_tailroom(session->rec_buf)) { in sdp_client_receive_ss()
1978 net_buf_add_mem(session->rec_buf, buf->data, record_len); in sdp_client_receive_ss()
2057 if (total > net_buf_tailroom(session->rec_buf)) { in sdp_client_receive_ssa_sa()
2062 net_buf_add_mem(session->rec_buf, buf->data, frame_len); in sdp_client_receive_ssa_sa()
2162 session->rec_buf = chan->ops->alloc_buf(chan); in sdp_client_connected()
2163 if (!session->rec_buf) { in sdp_client_connected()
2177 if (session->rec_buf) { in sdp_client_disconnected()
2178 net_buf_unref(session->rec_buf); in sdp_client_disconnected()