Home
last modified time | relevance | path

Searched refs:list_front (Results 1 – 14 of 14) sorted by relevance

/system/bt/osi/src/
Dalarm.c175 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_cancel()
264 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in schedule_next_instance()
274 if (list_is_empty(alarms) || ((alarm_t *)list_front(alarms))->deadline >= alarm->deadline) in schedule_next_instance()
286 …if (force_reschedule || needs_reschedule || (!list_is_empty(alarms) && list_front(alarms) == alarm… in schedule_next_instance()
302 alarm_t *next = list_front(alarms); in reschedule_root_alarm()
368 if (list_is_empty(alarms) || (alarm = list_front(alarms))->deadline > now()) { in callback_dispatch()
Dfixed_queue.c123 void *ret = list_front(queue->list); in fixed_queue_dequeue()
154 void *ret = list_front(queue->list); in fixed_queue_try_dequeue()
168 void *ret = list_is_empty(queue->list) ? NULL : list_front(queue->list); in fixed_queue_try_peek()
Dlist.c68 void *list_front(const list_t *list) { in list_front() function
/system/bt/btif/src/
Dbtif_profile_queue.c92 list_remove(connect_queue, list_front(connect_queue)); in queue_int_advance()
152 connect_node_t *p_head = list_front(connect_queue); in btif_queue_connect_next()
Dbtif_sock_rfc.c745 BT_HDR *p_buf = list_front(slot->incoming_queue); in flush_incoming_que_on_wr_signal()
/system/bt/osi/include/
Dlist.h40 void *list_front(const list_t *list);
/system/bt/osi/test/
Dlist_test.cpp77 EXPECT_EQ(list_front(list), &x[0]); in TEST_F()
/system/bt/stack/l2cap/
Dl2c_link.c438 p_buf = list_front(p_lcb->link_xmit_data_q); in l2c_link_hci_disc_comp()
1182 p_buf = (BT_HDR *)list_front(p_lcb->link_xmit_data_q); in l2c_link_check_send_pkts()
1235 p_buf = (BT_HDR *)list_front(p_lcb->link_xmit_data_q); in l2c_link_check_send_pkts()
Dl2cap_client.c406 BT_HDR *packet = (BT_HDR *)list_front(client->outbound_fragments); in dispatch_fragments()
Dl2c_utils.c208 BT_HDR *p_buf = list_front(p_lcb->link_xmit_data_q); in l2cu_release_lcb()
/system/bt/hci/src/
Dhci_layer.c511 waiting_command_t *wait_entry = list_front(commands_pending_response); in command_timed_out()
/system/bt/bta/av/
Dbta_av_main.c1235 BT_HDR *p_buf = list_front(p_scbi->a2d_list); in bta_av_dup_audio_buf()
Dbta_av_aact.c2075 p_buf = (BT_HDR *)list_front(p_scb->a2d_list); in bta_av_str_stopped()
2237 p_buf = (BT_HDR *)list_front(p_scb->a2d_list); in bta_av_data_path()
Dbta_av_act.c2004 p_buf = (BT_HDR*)list_front(p_scb->a2d_list); in bta_av_dereg_comp()