Lines Matching refs:lock
162 struct k_mutex *lock; member
816 static void ctx_set_lock(struct tls_context *ctx, struct k_mutex *lock) in ctx_set_lock() argument
818 ctx->lock = lock; in ctx_set_lock()
2222 k_mutex_unlock(parent->lock); in ztls_accept_ctx()
2224 k_mutex_lock(parent->lock, K_FOREVER); in ztls_accept_ctx()
2641 k_mutex_unlock(ctx->lock); in recv_tls()
2643 k_mutex_lock(ctx->lock, K_FOREVER); in recv_tls()
2724 k_mutex_unlock(ctx->lock); in recvfrom_dtls_common()
2726 k_mutex_lock(ctx->lock, K_FOREVER); in recvfrom_dtls_common()
3000 struct k_mutex *lock; in ztls_poll_prepare_ctx() local
3024 ctx->sock, (const struct fd_op_vtable **)&vtable, &lock); in ztls_poll_prepare_ctx()
3030 (void)k_mutex_lock(lock, K_FOREVER); in ztls_poll_prepare_ctx()
3046 k_mutex_unlock(lock); in ztls_poll_prepare_ctx()
3213 struct k_mutex *lock; in ztls_poll_update_ctx() local
3219 ctx->sock, (const struct fd_op_vtable **)&vtable, &lock); in ztls_poll_update_ctx()
3224 (void)k_mutex_lock(lock, K_FOREVER); in ztls_poll_update_ctx()
3275 k_mutex_unlock(lock); in ztls_poll_update_ctx()
3698 struct k_mutex *lock; in tls_sock_ioctl_vmeth() local
3703 (const struct fd_op_vtable **)&vtable, &lock); in tls_sock_ioctl_vmeth()
3709 (void)k_mutex_lock(lock, K_FOREVER); in tls_sock_ioctl_vmeth()
3714 k_mutex_unlock(lock); in tls_sock_ioctl_vmeth()
3720 struct k_mutex *lock; in tls_sock_ioctl_vmeth() local
3722 lock = va_arg(args, struct k_mutex *); in tls_sock_ioctl_vmeth()
3724 ctx_set_lock(obj, lock); in tls_sock_ioctl_vmeth()