Lines Matching refs:lock
23 struct k_mutex *lock; \
27 obj = get_sock_vtable(sock, &vtable, &lock); \
38 (void)k_mutex_lock(lock, K_FOREVER); \
42 k_mutex_unlock(lock); \
49 struct k_mutex **lock) in get_sock_vtable() argument
55 lock); in get_sock_vtable()
161 struct k_mutex *lock; in z_vrfy_zsock_close() local
164 ctx = get_sock_vtable(sock, &vtable, &lock); in z_vrfy_zsock_close()
178 struct k_mutex *lock; in z_impl_zsock_shutdown() local
184 ctx = get_sock_vtable(sock, &vtable, &lock); in z_impl_zsock_shutdown()
197 (void)k_mutex_lock(lock, K_FOREVER); in z_impl_zsock_shutdown()
203 k_mutex_unlock(lock); in z_impl_zsock_shutdown()
719 struct k_mutex *lock; in z_impl_zsock_fcntl_impl() local
725 obj = get_sock_vtable(sock, &vtable, &lock); in z_impl_zsock_fcntl_impl()
732 (void)k_mutex_lock(lock, K_FOREVER); in z_impl_zsock_fcntl_impl()
737 k_mutex_unlock(lock); in z_impl_zsock_fcntl_impl()
755 struct k_mutex *lock; in z_impl_zsock_ioctl_impl() local
761 ctx = get_sock_vtable(sock, &vtable, &lock); in z_impl_zsock_ioctl_impl()
768 (void)k_mutex_lock(lock, K_FOREVER); in z_impl_zsock_ioctl_impl()
774 k_mutex_unlock(lock); in z_impl_zsock_ioctl_impl()