Lines Matching refs:lo_mutex
77 struct mutex lo_mutex; member
120 err = mutex_lock_killable(&lo->lo_mutex); in loop_global_lock_killable()
134 mutex_unlock(&lo->lo_mutex); in loop_global_unlock()
1198 mutex_lock(&lo->lo_mutex); in __loop_clr_fd()
1200 mutex_unlock(&lo->lo_mutex); in __loop_clr_fd()
1252 err = mutex_lock_killable(&lo->lo_mutex); in loop_set_status()
1301 mutex_unlock(&lo->lo_mutex); in loop_set_status()
1315 ret = mutex_lock_killable(&lo->lo_mutex); in loop_get_status()
1319 mutex_unlock(&lo->lo_mutex); in loop_get_status()
1333 mutex_unlock(&lo->lo_mutex); in loop_get_status()
1486 err = mutex_lock_killable(&lo->lo_mutex); in lo_simple_ioctl()
1502 mutex_unlock(&lo->lo_mutex); in lo_simple_ioctl()
1708 err = mutex_lock_killable(&lo->lo_mutex); in lo_open()
1714 mutex_unlock(&lo->lo_mutex); in lo_open()
1731 mutex_lock(&lo->lo_mutex); in lo_release()
1736 mutex_unlock(&lo->lo_mutex); in lo_release()
1750 mutex_destroy(&lo->lo_mutex); in lo_free_disk()
2062 mutex_init(&lo->lo_mutex); in loop_add()
2153 ret = mutex_lock_killable(&lo->lo_mutex); in loop_control_remove()
2157 mutex_unlock(&lo->lo_mutex); in loop_control_remove()
2163 mutex_unlock(&lo->lo_mutex); in loop_control_remove()