Searched refs:batch_lock (Results 1 – 4 of 4) sorted by relevance
591 mutex_init(&priv->batch_lock); in gntdev_open()630 mutex_lock(&priv->batch_lock); in gntdev_release()636 mutex_unlock(&priv->batch_lock); in gntdev_release()971 mutex_lock(&priv->batch_lock); in gntdev_ioctl_grant_copy()978 mutex_unlock(&priv->batch_lock); in gntdev_ioctl_grant_copy()1006 mutex_lock(&priv->batch_lock); in gntdev_ioctl_grant_copy()1009 mutex_unlock(&priv->batch_lock); in gntdev_ioctl_grant_copy()
31 struct mutex batch_lock; member
227 spinlock_t batch_lock; /* only header's lock is useful */ member
962 spin_lock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()965 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()982 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()986 spin_lock(&head->batch_lock); in stripe_add_to_batch_list()988 spin_unlock(&head->batch_lock); in stripe_add_to_batch_list()2372 spin_lock_init(&sh->batch_lock); in alloc_stripe()4908 spin_lock(&sh->batch_lock); in clear_batch_ready()4911 spin_unlock(&sh->batch_lock); in clear_batch_ready()