Searched refs:batch_lock (Results 1 – 3 of 3) 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()967 mutex_lock(&priv->batch_lock); in gntdev_ioctl_grant_copy()974 mutex_unlock(&priv->batch_lock); in gntdev_ioctl_grant_copy()1002 mutex_lock(&priv->batch_lock); in gntdev_ioctl_grant_copy()1005 mutex_unlock(&priv->batch_lock); in gntdev_ioctl_grant_copy()
31 struct mutex batch_lock; 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() 970 * batch_lock, otherwise clear_batch_ready of batch head 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() 4837 spin_lock(&sh->batch_lock); in break_stripe_batch_list() 4840 spin_unlock(&sh->batch_lock); in break_stripe_batch_list()