Lines Matching refs:tim_lcore
355 timer_get_prev_entries(uint64_t time_val, unsigned tim_lcore, in timer_get_prev_entries() argument
358 unsigned lvl = priv_timer[tim_lcore].curr_skiplist_depth; in timer_get_prev_entries()
359 prev[lvl] = &priv_timer[tim_lcore].pending_head; in timer_get_prev_entries()
374 timer_get_prev_entries_for_node(struct rte_timer *tim, unsigned tim_lcore, in timer_get_prev_entries_for_node() argument
383 timer_get_prev_entries(tim->expire - 1, tim_lcore, prev, priv_timer); in timer_get_prev_entries_for_node()
384 for (i = priv_timer[tim_lcore].curr_skiplist_depth - 1; i >= 0; i--) { in timer_get_prev_entries_for_node()
398 timer_add(struct rte_timer *tim, unsigned int tim_lcore, in timer_add() argument
406 timer_get_prev_entries(tim->expire, tim_lcore, prev, priv_timer); in timer_add()
410 priv_timer[tim_lcore].curr_skiplist_depth); in timer_add()
411 if (tim_level == priv_timer[tim_lcore].curr_skiplist_depth) in timer_add()
412 priv_timer[tim_lcore].curr_skiplist_depth++; in timer_add()
425 priv_timer[tim_lcore].pending_head.expire = priv_timer[tim_lcore].\ in timer_add()
476 uint64_t period, unsigned tim_lcore, in __rte_timer_reset() argument
487 if (tim_lcore == (unsigned)LCORE_ID_ANY) { in __rte_timer_reset()
490 tim_lcore = rte_get_next_lcore( in __rte_timer_reset()
493 priv_timer[lcore_id].prev_lcore = tim_lcore; in __rte_timer_reset()
497 tim_lcore = rte_get_next_lcore(LCORE_ID_ANY, 0, 1); in __rte_timer_reset()
527 if (tim_lcore != lcore_id || !local_is_locked) in __rte_timer_reset()
528 rte_spinlock_lock(&priv_timer[tim_lcore].list_lock); in __rte_timer_reset()
531 timer_add(tim, tim_lcore, priv_timer); in __rte_timer_reset()
536 status.owner = (int16_t)tim_lcore; in __rte_timer_reset()
542 if (tim_lcore != lcore_id || !local_is_locked) in __rte_timer_reset()
543 rte_spinlock_unlock(&priv_timer[tim_lcore].list_lock); in __rte_timer_reset()
551 enum rte_timer_type type, unsigned int tim_lcore, in rte_timer_reset() argument
555 tim_lcore, fct, arg); in rte_timer_reset()
561 unsigned int tim_lcore, rte_timer_cb_t fct, void *arg) in rte_timer_alt_reset() argument
574 return __rte_timer_reset(tim, cur_time + ticks, period, tim_lcore, in rte_timer_alt_reset()
581 enum rte_timer_type type, unsigned tim_lcore, in rte_timer_reset_sync() argument
584 while (rte_timer_reset(tim, ticks, type, tim_lcore, in rte_timer_reset_sync()