Searched refs:kernel_mutex (Results 1 – 1 of 1) sorted by relevance
35 struct k_mutex *kernel_mutex = get_k_mutex(mutex); in z_impl_z_sys_mutex_kernel_lock() local37 if (kernel_mutex == NULL) { in z_impl_z_sys_mutex_kernel_lock()41 return k_mutex_lock(kernel_mutex, timeout); in z_impl_z_sys_mutex_kernel_lock()57 struct k_mutex *kernel_mutex = get_k_mutex(mutex); in z_impl_z_sys_mutex_kernel_unlock() local59 if ((kernel_mutex == NULL) || (kernel_mutex->lock_count == 0)) { in z_impl_z_sys_mutex_kernel_unlock()63 return k_mutex_unlock(kernel_mutex); in z_impl_z_sys_mutex_kernel_unlock()
Completed in 4 milliseconds