Lines Matching refs:sem

94 	mutex_lock(&dir_f->sem);  in jffs2_lookup()
107 mutex_unlock(&dir_f->sem); in jffs2_lookup()
132 mutex_lock(&f->sem); in jffs2_readdir()
153 mutex_unlock(&f->sem); in jffs2_readdir()
198 mutex_unlock(&f->sem); in jffs2_create()
267 mutex_lock(&f->sem); in jffs2_link()
269 mutex_unlock(&f->sem); in jffs2_link()
343 mutex_unlock(&f->sem); in jffs2_symlink()
353 mutex_unlock(&f->sem); in jffs2_symlink()
367 mutex_unlock(&f->sem); in jffs2_symlink()
393 mutex_lock(&dir_f->sem); in jffs2_symlink()
416 mutex_unlock(&dir_f->sem); in jffs2_symlink()
429 mutex_unlock(&dir_f->sem); in jffs2_symlink()
501 mutex_unlock(&f->sem); in jffs2_mkdir()
510 mutex_unlock(&f->sem); in jffs2_mkdir()
536 mutex_lock(&dir_f->sem); in jffs2_mkdir()
559 mutex_unlock(&dir_f->sem); in jffs2_mkdir()
573 mutex_unlock(&dir_f->sem); in jffs2_mkdir()
593 mutex_lock(&f->sem); in jffs2_rmdir()
596 mutex_unlock(&f->sem); in jffs2_rmdir()
600 mutex_unlock(&f->sem); in jffs2_rmdir()
674 mutex_unlock(&f->sem); in jffs2_mknod()
683 mutex_unlock(&f->sem); in jffs2_mknod()
709 mutex_lock(&dir_f->sem); in jffs2_mknod()
735 mutex_unlock(&dir_f->sem); in jffs2_mknod()
748 mutex_unlock(&dir_f->sem); in jffs2_mknod()
782 mutex_lock(&victim_f->sem); in jffs2_rename()
785 mutex_unlock(&victim_f->sem); in jffs2_rename()
789 mutex_unlock(&victim_f->sem); in jffs2_rename()
821 mutex_lock(&victim_f->sem); in jffs2_rename()
826 mutex_unlock(&victim_f->sem); in jffs2_rename()
844 mutex_lock(&f->sem); in jffs2_rename()
848 mutex_unlock(&f->sem); in jffs2_rename()