• Home
  • Raw
  • Download

Lines Matching refs:alloc_sem

1372 -	   space and taking c-alloc_sem. If we keep it locked here,
1940 + space and taking c-alloc_sem. If we keep it locked here,
2532 - * While getting a page and reading data in, lock c->alloc_sem until
2536 - mutex_lock(&c->alloc_sem);
2562 - mutex_unlock(&c->alloc_sem);
3217 - mutex_lock(&c->alloc_sem);
3219 - mutex_unlock(&c->alloc_sem);
3586 - if (mutex_lock_interruptible(&c->alloc_sem))
3587 + if (mutex_lock(&c->alloc_sem))
3603 + /* checked_ino is protected by the alloc_sem */
3609 + mutex_unlock(&c->alloc_sem);
3649 - mutex_unlock(&c->alloc_sem);
3689 mutex_unlock(&c->alloc_sem);
3727 mutex_unlock(&c->alloc_sem);
3948 - * drop f->sem temporarily. Since we also hold c->alloc_sem, nothing's
4126 - struct mutex alloc_sem; /* Used to protect all the following
4127 + struct pthread_mutex alloc_sem; /* Used to protect all the following
6408 + (void)mutex_init(&c->alloc_sem);
6426 + (void)mutex_destroy(&c->alloc_sem);
6441 + (void)mutex_destroy(&c->alloc_sem);
6487 - mutex_lock(&c->alloc_sem);
6489 - mutex_unlock(&c->alloc_sem);
6612 - mutex_lock(&c->alloc_sem);
6665 - mutex_unlock(&c->alloc_sem);
6710 - mutex_init(&c->alloc_sem);
6783 - mutex_lock(&c->alloc_sem);
6785 - mutex_unlock(&c->alloc_sem);
6883 + (void)mutex_destroy(&c->alloc_sem);
7466 - alloc_sem. We're only changing one ->raw pointer too,
7542 - if (!mutex_is_locked(&c->alloc_sem)) {
7543 - pr_crit("jffs2_flush_wbuf() called with alloc_sem not locked!\n");
7664 - mutex_lock(&c->alloc_sem);
7667 - mutex_unlock(&c->alloc_sem);
7688 - mutex_unlock(&c->alloc_sem);
7695 - mutex_lock(&c->alloc_sem);
7705 - mutex_lock(&c->alloc_sem);
7710 - mutex_unlock(&c->alloc_sem);