Home
last modified time | relevance | path

Searched refs:fragment_mutex (Results 1 – 6 of 6) sorted by relevance

/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs_sb.h63 struct semaphore fragment_mutex; member
/external/squashfs-tools/squashfs-tools/
Dprocess_fragments.c170 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in get_fragment()
171 pthread_mutex_lock(&fragment_mutex); in get_fragment()
Dmksquashfs.h152 extern pthread_mutex_t fragment_mutex, dup_mutex;
Dmksquashfs.c290 pthread_mutex_t fragment_mutex = PTHREAD_MUTEX_INITIALIZER; variable
1487 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 …]
Dunsquashfs.c49 pthread_mutex_t fragment_mutex; variable
2332 pthread_mutex_init(&fragment_mutex, NULL); in initialise_threads()
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c413 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()