Searched refs:expire_ms (Results 1 – 2 of 2) sorted by relevance
13 #define cal_next_n_ms_jiffies(expire_ms) (timer_jiffies + 1000 * (expire_ms)) argument42 …it(struct timer_func_list_t *timer_func, void (*func)(void *data), void *data, uint64_t expire_ms);
75 …nit(struct timer_func_list_t *timer_func, void (*func)(void *data), void *data, uint64_t expire_ms) in timer_func_init() argument80 timer_func->expire_jiffies = cal_next_n_ms_jiffies(expire_ms); // 设置过期的时间片 in timer_func_init()