Home | History | Annotate | Download | only in gatt

Lines Matching refs:p_new

497 BOOLEAN gatt_add_a_srv_to_list(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_new)
501 if (!p_new)
503 GATT_TRACE_DEBUG0("p_new==NULL");
511 p_list->p_last = p_new;
512 p_new->p_next =
513 p_new->p_prev = NULL;
522 p_list->p_last->p_next = p_new;
523 p_new
524 p_new->p_next = NULL;
525 p_list->p_last = p_new;
530 if (p_new->s_hdl < p_old->s_hdl)
534 p_old->p_prev->p_next = p_new;
536 p_list->p_first = p_new;
538 p_new->p_prev = p_old->p_prev;
539 p_new->p_next = p_old;
540 p_old->p_prev = p_new;
603 BOOLEAN gatt_add_an_item_to_list(tGATT_HDL_LIST_INFO *p_list, tGATT_HDL_LIST_ELEM *p_new)
606 if (!p_new)
608 GATT_TRACE_DEBUG0("p_new==NULL");
616 p_list->p_last = p_new;
617 p_new->p_next =
618 p_new->p_prev = NULL;
627 p_list->p_last->p_next = p_new;
628 p_new->p_prev = p_list->p_last;
629 p_new->p_next = NULL;
630 p_list->p_last = p_new;
637 if (p_new->asgn_range.s_handle > p_old->asgn_range.s_handle)
640 p_list->p_first = p_new;
642 p_new->p_prev = p_old->p_prev;
643 p_new->p_next = p_old;
646 p_old->p_prev = p_new;