Searched refs:alloc_sem (Results 1 – 4 of 4) sorted by relevance
117 if (down_interruptible(&c->alloc_sem)) in jffs2_garbage_collect_pass()131 up(&c->alloc_sem); in jffs2_garbage_collect_pass()138 up(&c->alloc_sem); in jffs2_garbage_collect_pass()152 up(&c->alloc_sem); in jffs2_garbage_collect_pass()161 up(&c->alloc_sem); in jffs2_garbage_collect_pass()190 up(&c->alloc_sem); in jffs2_garbage_collect_pass()200 up(&c->alloc_sem); in jffs2_garbage_collect_pass()207 up(&c->alloc_sem); in jffs2_garbage_collect_pass()271 up(&c->alloc_sem); in jffs2_garbage_collect_pass()
78 down(&c->alloc_sem); in jffs2_reserve_space()89 up(&c->alloc_sem); in jffs2_reserve_space()110 down(&c->alloc_sem); in jffs2_reserve_space()121 up(&c->alloc_sem); in jffs2_reserve_space()280 up(&c->alloc_sem); in jffs2_complete_reservation()
233 init_MUTEX(&c->alloc_sem); in jffs2_read_super()
35 struct semaphore alloc_sem; /* Used to protect all the following member