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;
303 pthread_mutex_t fragment_mutex = PTHREAD_MUTEX_INITIALIZER; variable1528 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in get_fragment()1529 pthread_mutex_lock(&fragment_mutex); in get_fragment()1623 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in lock_fragments()1624 pthread_mutex_lock(&fragment_mutex); in lock_fragments()1635 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in unlock_fragments()1636 pthread_mutex_lock(&fragment_mutex); in unlock_fragments()1676 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in write_fragment()1677 pthread_mutex_lock(&fragment_mutex); in write_fragment()1689 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()