Searched refs:opencnt (Results 1 – 7 of 7) sorted by relevance
265 atomic_inc(&HFSPLUS_I(inode)->opencnt); in hfsplus_file_open()275 if (atomic_dec_and_test(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_file_release()388 atomic_set(&hip->opencnt, 0); in hfsplus_new_inode()
325 atomic_read(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_unlink()348 if (!atomic_read(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_unlink()
171 atomic_t opencnt; member
72 atomic_set(&HFSPLUS_I(inode)->opencnt, 0); in hfsplus_iget()
45 atomic_t opencnt; member
546 atomic_inc(&HFS_I(inode)->opencnt); in hfs_file_open()556 if (atomic_dec_and_test(&HFS_I(inode)->opencnt)) { in hfs_file_release()
393 int opencnt; // Open/Close count member664 stateName[korg1212->cardState], korg1212->opencnt); in snd_korg1212_OpenCard()666 if (korg1212->opencnt++ == 0) { in snd_korg1212_OpenCard()678 stateName[korg1212->cardState], korg1212->opencnt); in snd_korg1212_CloseCard()681 if (--(korg1212->opencnt)) { in snd_korg1212_CloseCard()2196 korg1212->opencnt = 0; in snd_korg1212_create()