Lines Matching refs:tim_lcore
349 timer_get_prev_entries(uint64_t time_val, unsigned tim_lcore, in timer_get_prev_entries() argument
352 unsigned lvl = priv_timer[tim_lcore].curr_skiplist_depth; in timer_get_prev_entries()
353 prev[lvl] = &priv_timer[tim_lcore].pending_head; in timer_get_prev_entries()
368 timer_get_prev_entries_for_node(struct rte_timer *tim, unsigned tim_lcore, in timer_get_prev_entries_for_node() argument
377 timer_get_prev_entries(tim->expire - 1, tim_lcore, prev, priv_timer); in timer_get_prev_entries_for_node()
378 for (i = priv_timer[tim_lcore].curr_skiplist_depth - 1; i >= 0; i--) { in timer_get_prev_entries_for_node()
392 timer_add(struct rte_timer *tim, unsigned int tim_lcore, in timer_add() argument
400 timer_get_prev_entries(tim->expire, tim_lcore, prev, priv_timer); in timer_add()
404 priv_timer[tim_lcore].curr_skiplist_depth); in timer_add()
405 if (tim_level == priv_timer[tim_lcore].curr_skiplist_depth) in timer_add()
406 priv_timer[tim_lcore].curr_skiplist_depth++; in timer_add()
419 priv_timer[tim_lcore].pending_head.expire = priv_timer[tim_lcore].\ in timer_add()
470 uint64_t period, unsigned tim_lcore, in __rte_timer_reset() argument
481 if (tim_lcore == (unsigned)LCORE_ID_ANY) { in __rte_timer_reset()
484 tim_lcore = rte_get_next_lcore( in __rte_timer_reset()
487 priv_timer[lcore_id].prev_lcore = tim_lcore; in __rte_timer_reset()
491 tim_lcore = rte_get_next_lcore(LCORE_ID_ANY, 0, 1); in __rte_timer_reset()
521 if (tim_lcore != lcore_id || !local_is_locked) in __rte_timer_reset()
522 rte_spinlock_lock(&priv_timer[tim_lcore].list_lock); in __rte_timer_reset()
525 timer_add(tim, tim_lcore, priv_timer); in __rte_timer_reset()
530 status.owner = (int16_t)tim_lcore; in __rte_timer_reset()
536 if (tim_lcore != lcore_id || !local_is_locked) in __rte_timer_reset()
537 rte_spinlock_unlock(&priv_timer[tim_lcore].list_lock); in __rte_timer_reset()
545 enum rte_timer_type type, unsigned int tim_lcore, in rte_timer_reset() argument
549 tim_lcore, fct, arg); in rte_timer_reset()
555 unsigned int tim_lcore, rte_timer_cb_t fct, void *arg) in rte_timer_alt_reset() argument
568 return __rte_timer_reset(tim, cur_time + ticks, period, tim_lcore, in rte_timer_alt_reset()
575 enum rte_timer_type type, unsigned tim_lcore, in rte_timer_reset_sync() argument
578 while (rte_timer_reset(tim, ticks, type, tim_lcore, in rte_timer_reset_sync()