Searched refs:TAILQ_FIRST (Results 1 – 18 of 18) sorted by relevance
19 struct ts_session *s = TAILQ_FIRST(&tsd->sess_stack); in update_current_ctx()49 struct ts_session *s = TAILQ_FIRST(&tsd->sess_stack); in ts_pop_current_session()65 return TAILQ_FIRST(&thread_get_tsd()->sess_stack); in ts_get_current_session_may_fail()
37 struct callout *co = TAILQ_FIRST(&callout_head); in schedule_next_timeout()101 if (desc && co == TAILQ_FIRST(&callout_head)) in callout_add()131 co = TAILQ_FIRST(&tmp_head); in callout_service_init()177 co = TAILQ_FIRST(&callout_head); in callout_service_cb()
170 s = TAILQ_FIRST(&thread_get_tsd()->sess_stack); in ftrace_syscall_enter()177 struct ts_session *s = TAILQ_FIRST(&thread_get_tsd()->sess_stack); in ftrace_syscall_leave()
385 tee_ta_close_session(TAILQ_FIRST(&utc->open_sessions), in release_utc_state()
152 qe = TAILQ_FIRST(&queue); in lockdep_graph_get_shortest_cycle()
25 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in ftrace_init() 92 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in ftrace_copy_buf()
34 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in dump_ta_state()
658 seg = TAILQ_FIRST(&elf->segs); in adjust_segments()1005 if (TAILQ_FIRST(&elf->segs)->offset < SMALL_PAGE_SIZE) { in map_segments()1160 struct segment *seg = TAILQ_FIRST(&elf->segs); in clean_elf_load_main()1295 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in ta_elf_finalize_load_main()1456 *seg = TAILQ_FIRST(&e->segs); in get_next_in_order()1613 struct ta_elf *ta = TAILQ_FIRST(&main_elf_queue); in ta_elf_add_library()
51 tee_obj_close(utc, TAILQ_FIRST(objects)); in tee_obj_close_all()
930 tee_svc_close_enum(utc, TAILQ_FIRST(eh)); in tee_svc_storage_close_all_enum()
2952 cryp_state_free(utc, TAILQ_FIRST(states)); in tee_svc_cryp_free_states()
51 s = TAILQ_FIRST(&tsd->sess_stack); in get_fbuf()
292 struct ts_session *s = TAILQ_FIRST(&thread_get_tsd()->sess_stack); in ftrace_suspend()300 struct ts_session *s = TAILQ_FIRST(&thread_get_tsd()->sess_stack); in ftrace_resume()
507 for (r = TAILQ_FIRST(&uctx->vm_info.regions);; r = r_next) { in merge_vm_range()599 r_first = TAILQ_FIRST(®s); in vm_remap()601 r = TAILQ_FIRST(®s); in vm_remap()666 r = TAILQ_FIRST(®s); in vm_remap()1094 TAILQ_FIRST(&uctx->vm_info.regions)); in vm_info_final()
334 struct ts_session *s = TAILQ_FIRST(&thread_get_tsd()->sess_stack); in ftrace_suspend()342 struct ts_session *s = TAILQ_FIRST(&thread_get_tsd()->sess_stack); in ftrace_resume()538 TAILQ_FIRST(&threads[ct].tsd.sess_stack); in thread_state_suspend()
751 reg = TAILQ_FIRST(uctx->regions); in pager_add_um_region()966 for (reg = TAILQ_FIRST(uctx->regions);; reg = r_next) { in tee_pager_merge_um_region()1068 reg = TAILQ_FIRST(uctx->regions); in tee_pager_rem_um_regions()1080 struct vm_paged_region *reg = TAILQ_FIRST(&pmem->fobj->regions); in same_context()1562 pmem = TAILQ_FIRST(&tee_pager_pmem_head); in pager_get_page()
559 #define TAILQ_FIRST(head) ((head)->tqh_first) macro
267 if (TAILQ_FIRST(&priv->list) == before) in dmalist_insert_before_entry()