Searched refs:opencnt (Results 1 – 7 of 7) sorted by relevance
226 atomic_inc(&HFSPLUS_I(inode)->opencnt); in hfsplus_file_open()236 if (atomic_dec_and_test(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_file_release()401 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()
211 atomic_t opencnt; member
76 atomic_set(&HFSPLUS_I(inode)->opencnt, 0); in hfsplus_iget()
378 int opencnt; // Open/Close count member646 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()2094 korg1212->opencnt = 0; in snd_korg1212_create()
62 atomic_t opencnt; member
575 atomic_inc(&HFS_I(inode)->opencnt); in hfs_file_open()585 if (atomic_dec_and_test(&HFS_I(inode)->opencnt)) { in hfs_file_release()