Searched refs:fragment_mutex (Results 1 – 6 of 6) sorted by relevance
63 struct semaphore fragment_mutex; member
170 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in get_fragment()171 pthread_mutex_lock(&fragment_mutex); in get_fragment()
152 extern pthread_mutex_t fragment_mutex, dup_mutex;
290 pthread_mutex_t fragment_mutex = PTHREAD_MUTEX_INITIALIZER; variable1487 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in get_fragment()1488 pthread_mutex_lock(&fragment_mutex); in get_fragment()1582 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in lock_fragments()1583 pthread_mutex_lock(&fragment_mutex); in lock_fragments()1594 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in unlock_fragments()1595 pthread_mutex_lock(&fragment_mutex); in unlock_fragments()1635 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in write_fragment()1636 pthread_mutex_lock(&fragment_mutex); in write_fragment()1648 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in allocate_fragment()[all …]
49 pthread_mutex_t fragment_mutex; variable2332 pthread_mutex_init(&fragment_mutex, NULL); in initialise_threads()
413 down(&msblk->fragment_mutex); in release_cached_fragment()416 up(&msblk->fragment_mutex); in release_cached_fragment()428 down(&msblk->fragment_mutex); in get_cached_fragment()446 up(&msblk->fragment_mutex); in get_cached_fragment()461 up(&msblk->fragment_mutex); in get_cached_fragment()467 up(&msblk->fragment_mutex); in get_cached_fragment()486 up(&msblk->fragment_mutex); in get_cached_fragment()954 init_MUTEX(&msblk->fragment_mutex); in squashfs_read_super()