Searched refs:user_timeout_ms (Results 1 – 2 of 2) sorted by relevance
897 static long user_timeout_to_jiffies(uint32_t user_timeout_ms) in user_timeout_to_jiffies() argument899 if (user_timeout_ms == KFD_EVENT_TIMEOUT_IMMEDIATE) in user_timeout_to_jiffies()902 if (user_timeout_ms == KFD_EVENT_TIMEOUT_INFINITE) in user_timeout_to_jiffies()910 user_timeout_ms = min_t(uint32_t, user_timeout_ms, 0x7FFFFFFF); in user_timeout_to_jiffies()912 return msecs_to_jiffies(user_timeout_ms) + 1; in user_timeout_to_jiffies()936 bool all, uint32_t *user_timeout_ms, in kfd_wait_on_events() argument945 long timeout = user_timeout_to_jiffies(*user_timeout_ms); in kfd_wait_on_events()995 if (*user_timeout_ms != KFD_EVENT_TIMEOUT_IMMEDIATE && in kfd_wait_on_events()996 *user_timeout_ms != KFD_EVENT_TIMEOUT_INFINITE) in kfd_wait_on_events()997 *user_timeout_ms = jiffies_to_msecs( in kfd_wait_on_events()
1440 bool all, uint32_t *user_timeout_ms,