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()378 atomic_set(&hip->opencnt, 0); in hfsplus_new_inode()
368 atomic_read(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_unlink()391 if (!atomic_read(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_unlink()
209 atomic_t opencnt; member
73 atomic_set(&HFSPLUS_I(inode)->opencnt, 0); in hfsplus_iget()
62 atomic_t opencnt; member
562 atomic_inc(&HFS_I(inode)->opencnt); in hfs_file_open()572 if (atomic_dec_and_test(&HFS_I(inode)->opencnt)) { in hfs_file_release()
392 int opencnt; // Open/Close count member661 stateName[korg1212->cardState], korg1212->opencnt); in snd_korg1212_OpenCard()663 if (korg1212->opencnt++ == 0) { in snd_korg1212_OpenCard()675 stateName[korg1212->cardState], korg1212->opencnt); in snd_korg1212_CloseCard()678 if (--(korg1212->opencnt)) { in snd_korg1212_CloseCard()2180 korg1212->opencnt = 0; in snd_korg1212_create()