Home
last modified time | relevance | path

Searched refs:opencnt (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/fs/hfsplus/
H A Dinode.c226 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()
H A Ddir.c373 atomic_read(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_unlink()
396 if (!atomic_read(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_unlink()
H A Dhfsplus_fs.h211 atomic_t opencnt; member
H A Dsuper.c76 atomic_set(&HFSPLUS_I(inode)->opencnt, 0); in hfsplus_iget()
/openbmc/linux/fs/hfs/
H A Dhfs_fs.h62 atomic_t opencnt; member
H A Dinode.c575 atomic_inc(&HFS_I(inode)->opencnt); in hfs_file_open()
585 if (atomic_dec_and_test(&HFS_I(inode)->opencnt)) { in hfs_file_release()
/openbmc/linux/sound/pci/korg1212/
H A Dkorg1212.c378 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()
2094 korg1212->opencnt = 0; in snd_korg1212_create()