• Home
  • Raw
  • Download

Lines Matching refs:db_elem

37 struct db_elem  struct
74 struct db_elem *db_elem; in get_id_from_config() local
96 wl_list_for_each(db_elem, &ida->app_list, link) in get_id_from_config()
98 if (check_config_parameter(db_elem->cfg_app_id, temp_app_id) == 0) { in get_id_from_config()
99 if (check_config_parameter(db_elem->cfg_title, temp_title) == 0) { in get_id_from_config()
102 db_elem->surface_id); in get_id_from_config()
106 db_elem->layout_surface = layout_surface; in get_id_from_config()
192 struct db_elem *db_elem = NULL; in surface_event_remove() local
194 wl_list_for_each(db_elem, &ida->app_list, link) in surface_event_remove()
196 if(db_elem->layout_surface == layout_surface) { in surface_event_remove()
197 db_elem->layout_surface = NULL; in surface_event_remove()
214 check_config(struct db_elem *curr_db_elem, struct ivi_id_agent *ida) in check_config()
216 struct db_elem *db_elem; in check_config() local
226 wl_list_for_each(db_elem, &ida->app_list, link) in check_config()
228 if(curr_db_elem == db_elem) in check_config()
231 if (db_elem->surface_id == curr_db_elem->surface_id) { in check_config()
280 struct db_elem *db_elem = NULL; in read_config() local
285 db_elem = calloc(1, sizeof *db_elem); in read_config()
286 if (db_elem == NULL) { in read_config()
291 wl_list_insert(&ida->app_list, &db_elem->link); in read_config()
294 &db_elem->surface_id, INVALID_ID); in read_config()
296 if (db_elem->surface_id == INVALID_ID) { in read_config()
302 &db_elem->cfg_app_id, NULL); in read_config()
304 &db_elem->cfg_title, NULL); in read_config()
306 if (db_elem->cfg_app_id == NULL && db_elem->cfg_title == NULL) { in read_config()
312 if (check_config(db_elem, ida) == IVI_FAILED) { in read_config()
368 struct db_elem *db_elem; in deinit() local
369 wl_list_for_each(db_elem, &ida->app_list, link) { in deinit()
370 free(db_elem->cfg_app_id); in deinit()
371 free(db_elem->cfg_title); in deinit()
372 free(db_elem); in deinit()