Lines Matching refs:sem
97 mutex_lock(&dir_f->sem); in jffs2_lookup()
110 mutex_unlock(&dir_f->sem); in jffs2_lookup()
135 mutex_lock(&f->sem); in jffs2_readdir()
156 mutex_unlock(&f->sem); in jffs2_readdir()
201 mutex_unlock(&f->sem); in jffs2_create()
270 mutex_lock(&f->sem); in jffs2_link()
272 mutex_unlock(&f->sem); in jffs2_link()
347 mutex_unlock(&f->sem); in jffs2_symlink()
357 mutex_unlock(&f->sem); in jffs2_symlink()
371 mutex_unlock(&f->sem); in jffs2_symlink()
397 mutex_lock(&dir_f->sem); in jffs2_symlink()
420 mutex_unlock(&dir_f->sem); in jffs2_symlink()
433 mutex_unlock(&dir_f->sem); in jffs2_symlink()
506 mutex_unlock(&f->sem); in jffs2_mkdir()
515 mutex_unlock(&f->sem); in jffs2_mkdir()
541 mutex_lock(&dir_f->sem); in jffs2_mkdir()
564 mutex_unlock(&dir_f->sem); in jffs2_mkdir()
578 mutex_unlock(&dir_f->sem); in jffs2_mkdir()
598 mutex_lock(&f->sem); in jffs2_rmdir()
601 mutex_unlock(&f->sem); in jffs2_rmdir()
605 mutex_unlock(&f->sem); in jffs2_rmdir()
680 mutex_unlock(&f->sem); in jffs2_mknod()
689 mutex_unlock(&f->sem); in jffs2_mknod()
715 mutex_lock(&dir_f->sem); in jffs2_mknod()
741 mutex_unlock(&dir_f->sem); in jffs2_mknod()
754 mutex_unlock(&dir_f->sem); in jffs2_mknod()
789 mutex_lock(&victim_f->sem); in jffs2_rename()
792 mutex_unlock(&victim_f->sem); in jffs2_rename()
796 mutex_unlock(&victim_f->sem); in jffs2_rename()
828 mutex_lock(&victim_f->sem); in jffs2_rename()
833 mutex_unlock(&victim_f->sem); in jffs2_rename()
851 mutex_lock(&f->sem); in jffs2_rename()
855 mutex_unlock(&f->sem); in jffs2_rename()