Lines Matching refs:record
473 struct bt_sdp_record *record; in find_services() local
541 record = matching_recs[rec_idx]; in find_services()
543 if (!record) { in find_services()
550 for (att_idx = 0U; att_idx < record->attr_count; in find_services()
552 search_uuid(&record->attrs[att_idx].val, in find_services()
586 struct bt_sdp_record *record; in sdp_svc_search_req() local
645 record = matching_recs[cont_state]; in sdp_svc_search_req()
647 if (!record) { in sdp_svc_search_req()
685 net_buf_add_be32(resp_buf, record->handle); in sdp_svc_search_req()
788 static uint8_t bt_sdp_foreach_attr(struct bt_sdp_record *record, uint8_t idx, in bt_sdp_foreach_attr() argument
791 for (; idx < record->attr_count; idx++) { in bt_sdp_foreach_attr()
792 if (func(&record->attrs[idx], idx, user_data) == in bt_sdp_foreach_attr()
944 static uint16_t create_attr_list(struct bt_sdp *sdp, struct bt_sdp_record *record, in create_attr_list() argument
954 sad.rec = record; in create_attr_list()
1082 struct bt_sdp_record *record; in sdp_svc_att_req() local
1134 record = bt_sdp_foreach_svc(find_handle, &svc_rec_hdl); in sdp_svc_att_req()
1136 if (!record) { in sdp_svc_att_req()
1143 state.current_svc = record->index; in sdp_svc_att_req()
1150 att_list_len = create_attr_list(sdp, record, filter, num_filters, in sdp_svc_att_req()
1200 struct bt_sdp_record *record; in sdp_svc_search_att_req() local
1275 record = matching_recs[next_svc]; in sdp_svc_search_att_req()
1277 if (!record) { in sdp_svc_search_att_req()
1281 att_list_len += create_attr_list(sdp, record, filter, in sdp_svc_search_att_req()