Lines Matching refs:p_db
285 tSDP_DB *p_db = &sdp_cb.server_db;
288 if (p_db->num_records < SDP_MAX_RECORDS)
290 memset (&p_db->record[p_db->num_records], 0,
295 if (p_db->num_records)
296 handle = p_db->record[p_db->num_records - 1].record_handle + 1;
300 p_db->record[p_db->num_records].record_handle = handle;
302 p_db->num_records++;
303 SDP_TRACE_DEBUG("SDP_CreateRecord ok, num_records:%d", p_db->num_records);
309 return (p_db->record[p_db->num_records - 1].record_handle);