Searched refs:ts_sem (Results 1 – 2 of 2) sorted by relevance
217 while (sem_wait(&sem->ts_sem) != 0) in tmpfs_lock_reentrant()274 sem_post(&sem->ts_sem); in tmpfs_unlock_reentrant()334 sem_destroy(&tfo->tfo_exclsem.ts_sem); in tmpfs_release_lockedfile()499 if (sem_init(&tfo->tfo_exclsem.ts_sem, 0, 0) != 0) in tmpfs_alloc_file()599 sem_destroy(&newtfo->tfo_exclsem.ts_sem); in tmpfs_create_file()643 if (sem_init(&tdo->tdo_exclsem.ts_sem, 0, 1) != 0) in tmpfs_alloc_directory()750 sem_destroy(&newtdo->tdo_exclsem.ts_sem); in tmpfs_create_directory()1029 (void)sem_destroy(&tfo->tfo_exclsem.ts_sem); in tmpfs_close()1693 sem_init(&fs->tfs_exclsem.ts_sem, 0, 1); in tmpfs_mount()1757 sem_destroy(&tdo->tdo_exclsem.ts_sem); in tmpfs_unmount()[all …]
75 sem_t ts_sem; /* The actual semaphore */ member