Searched refs:opencnt (Results 1 – 6 of 6) 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()396 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()
214 atomic_t opencnt; member
378 int opencnt; // Open/Close count member 646 stateName[korg1212->cardState], korg1212->opencnt); in snd_korg1212_OpenCard() 648 if (korg1212->opencnt++ == 0) { in snd_korg1212_OpenCard() 660 stateName[korg1212->cardState], korg1212->opencnt); in snd_korg1212_CloseCard() 663 if (--(korg1212->opencnt)) { in snd_korg1212_CloseCard() 2096 korg1212->opencnt = 0; in snd_korg1212_create()
62 atomic_t opencnt; member
573 atomic_inc(&HFS_I(inode)->opencnt); in hfs_file_open()583 if (atomic_dec_and_test(&HFS_I(inode)->opencnt)) { in hfs_file_release()