Lines Matching refs:p_rec
53 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec,
726 tSDP_DISC_REC *p_rec; in save_attr_seq() local
744 p_rec = add_record (p_ccb->p_db, p_ccb->device_address); in save_attr_seq()
745 if (!p_rec) in save_attr_seq()
766 p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0); in save_attr_seq()
790 tSDP_DISC_REC *p_rec; in add_record() local
796 p_rec = (tSDP_DISC_REC *) p_db->p_free_mem; in add_record()
800 p_rec->p_first_attr = NULL; in add_record()
801 p_rec->p_next_rec = NULL; in add_record()
803 memcpy (p_rec->remote_bd_addr, p_bda, BD_ADDR_LEN); in add_record()
807 p_db->p_first_rec = p_rec; in add_record()
815 p_rec1->p_next_rec = p_rec; in add_record()
818 return (p_rec); in add_record()
832 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec, in add_attr() argument
895 … p = add_attr (p, p_db, p_rec, ATTR_ID_PROTOCOL_DESC_LIST, p_attr, (UINT8)(nest_level + 1)); in add_attr()
993 p = add_attr (p, p_db, p_rec, 0, p_attr, (UINT8)(nest_level + 1)); in add_attr()
1027 if (!p_rec->p_first_attr) in add_attr()
1028 p_rec->p_first_attr = p_attr; in add_attr()
1031 tSDP_DISC_ATTR *p_attr1 = p_rec->p_first_attr; in add_attr()