Searched refs:opencnt (Results 1 – 7 of 7) sorted by relevance
221 atomic_inc(&HFSPLUS_I(inode)->opencnt); in hfsplus_file_open()231 if (atomic_dec_and_test(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_file_release()387 atomic_set(&hip->opencnt, 0); in hfsplus_new_inode()
373 atomic_read(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_unlink()396 if (!atomic_read(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_unlink()
209 atomic_t opencnt; member
76 atomic_set(&HFSPLUS_I(inode)->opencnt, 0); in hfsplus_iget()
62 atomic_t opencnt; member
565 atomic_inc(&HFS_I(inode)->opencnt); in hfs_file_open()575 if (atomic_dec_and_test(&HFS_I(inode)->opencnt)) { in hfs_file_release()
378 int opencnt; // Open/Close count member647 stateName[korg1212->cardState], korg1212->opencnt); in snd_korg1212_OpenCard()649 if (korg1212->opencnt++ == 0) { in snd_korg1212_OpenCard()661 stateName[korg1212->cardState], korg1212->opencnt); in snd_korg1212_CloseCard()664 if (--(korg1212->opencnt)) { in snd_korg1212_CloseCard()2183 korg1212->opencnt = 0; in snd_korg1212_create()