Searched refs:opencnt (Results 1 – 5 of 5) sorted by relevance
1176 card->opencnt[0] = 0; card->opencnt[1] = 0; in nm256_install()1317 if (card->opencnt[w] > 0) in nm256_audio_open()1358 card->opencnt[w]++; in nm256_audio_open()1385 card->opencnt[w]--; in nm256_audio_close()1386 if (card->opencnt[w] <= 0) { in nm256_audio_close()1387 card->opencnt[w] = 0; in nm256_audio_close()
28 int opencnt[2]; member
326 atomic_read(&HFSPLUS_I(inode).opencnt)) { in hfsplus_unlink()343 if (!atomic_read(&HFSPLUS_I(inode).opencnt)) { in hfsplus_unlink()
227 atomic_inc(&HFSPLUS_I(inode).opencnt); in hfsplus_file_open()239 if (atomic_dec_and_test(&HFSPLUS_I(inode).opencnt)) { in hfsplus_file_release()
175 atomic_t opencnt; member