add: if (is_in_timer_list( tl )) { LOG(L_ERR,"BUG:add_into_timer_list: trying to insert an element that " "already is into a timer list\n"); lock_release(timer_list->mutex); return -1; }
context: int add_to_timer_list( struct timer_link* tl, struct timer* timer_list,														unsigned int timeout ){	/* lock the list */	lock_get(timer_list->mutex);	/* add the element into the list */	tl->timeout = timeout;	tl->prev_tl = timer_list->last_tl.prev_tl;	tl->next_tl = & timer_list->last_tl;	timer_list->last_tl.prev_tl = tl;	tl->prev_tl->next_tl = tl;	tl->timer_list = timer_list;	/* unlock the list */	lock_release(timer_list->mutex);	DBG("DEBUG: add_to_timer_list[%p]: %p\n",timer_list,tl);	return 1;}