Searched refs:open_mutex (Results 1 - 25 of 45) sorted by relevance

12

/linux-master/block/
H A Dholder.c77 mutex_lock(&bdev->bd_disk->open_mutex);
79 mutex_unlock(&bdev->bd_disk->open_mutex);
83 mutex_unlock(&bdev->bd_disk->open_mutex);
H A Dbdev.c612 * bdev_lock. open_mutex is used to synchronize disk_holder unlinking.
877 mutex_lock(&disk->open_mutex);
909 mutex_unlock(&disk->open_mutex);
930 mutex_unlock(&disk->open_mutex);
1030 lockdep_assert_held(&bdev->bd_disk->open_mutex);
1059 mutex_lock(&disk->open_mutex);
1076 mutex_unlock(&disk->open_mutex);
1100 mutex_lock(&disk->open_mutex);
1109 mutex_unlock(&disk->open_mutex);
1219 mutex_lock(&bdev->bd_disk->open_mutex);
[all...]
H A Dgenhd.c568 * disk->open_mutex.
570 lockdep_assert_not_held(&disk->open_mutex);
657 mutex_lock(&disk->open_mutex);
660 mutex_unlock(&disk->open_mutex);
673 mutex_lock(&disk->open_mutex);
676 mutex_unlock(&disk->open_mutex);
1359 mutex_init(&disk->open_mutex);
/linux-master/drivers/s390/block/
H A Ddasd_genhd.c148 mutex_lock(&block->gdp->open_mutex);
150 mutex_unlock(&block->gdp->open_mutex);
183 mutex_lock(&file_bdev(bdev_file)->bd_disk->open_mutex);
185 mutex_unlock(&file_bdev(bdev_file)->bd_disk->open_mutex);
/linux-master/sound/drivers/opl3/
H A Dopl3_seq.c43 mutex_lock(&hwdep->open_mutex);
45 mutex_unlock(&hwdep->open_mutex);
49 mutex_unlock(&hwdep->open_mutex);
84 mutex_lock(&hwdep->open_mutex);
86 mutex_unlock(&hwdep->open_mutex);
/linux-master/include/sound/
H A Dhwdep.h58 struct mutex open_mutex; member in struct:snd_hwdep
H A Dump.h42 struct mutex open_mutex; member in struct:snd_ump_endpoint
H A Drawmidi.h135 struct mutex open_mutex; member in struct:snd_rawmidi
H A Dwss.h98 struct mutex open_mutex; member in struct:snd_wss
/linux-master/sound/core/
H A Dhwdep.c95 mutex_lock(&hw->open_mutex);
116 mutex_unlock(&hw->open_mutex);
118 mutex_lock(&hw->open_mutex);
139 mutex_unlock(&hw->open_mutex);
152 scoped_guard(mutex, &hw->open_mutex) {
383 mutex_init(&hwdep->open_mutex);
465 guard(mutex)(&hwdep->open_mutex);
H A Drawmidi.c422 guard(mutex)(&rmidi->open_mutex);
467 mutex_lock(&rmidi->open_mutex);
496 mutex_unlock(&rmidi->open_mutex);
498 mutex_lock(&rmidi->open_mutex);
520 mutex_unlock(&rmidi->open_mutex);
527 mutex_unlock(&rmidi->open_mutex);
574 guard(mutex)(&rmidi->open_mutex);
748 guard(mutex)(&substream->rmidi->open_mutex);
766 guard(mutex)(&substream->rmidi->open_mutex);
1712 guard(mutex)(&rmidi->open_mutex);
[all...]
H A Dpcm.c134 guard(mutex)(&pcm->open_mutex);
378 guard(mutex)(&substream->pcm->open_mutex);
413 guard(mutex)(&substream->pcm->open_mutex);
441 guard(mutex)(&substream->pcm->open_mutex);
721 mutex_init(&pcm->open_mutex);
1090 guard(mutex)(&pcm->open_mutex);
/linux-master/sound/pci/lola/
H A Dlola_pcm.c217 mutex_lock(&chip->open_mutex);
219 mutex_unlock(&chip->open_mutex);
242 mutex_unlock(&chip->open_mutex);
264 mutex_lock(&chip->open_mutex);
273 mutex_unlock(&chip->open_mutex);
294 mutex_lock(&chip->open_mutex);
297 mutex_unlock(&chip->open_mutex);
460 mutex_lock(&chip->open_mutex);
464 mutex_unlock(&chip->open_mutex);
471 mutex_unlock(&chip->open_mutex);
[all...]
/linux-master/block/partitions/
H A Dcore.c268 lockdep_assert_held(&part->bd_disk->open_mutex);
285 * Must be called either with open_mutex held, before a disk can be opened or
299 lockdep_assert_held(&disk->open_mutex);
425 mutex_lock(&disk->open_mutex);
445 mutex_unlock(&disk->open_mutex);
454 mutex_lock(&disk->open_mutex);
466 * @disk->open_mutex the device can't be claimed by anyone.
477 mutex_unlock(&disk->open_mutex);
487 mutex_lock(&disk->open_mutex);
504 mutex_unlock(&disk->open_mutex);
[all...]
/linux-master/sound/core/seq/oss/
H A Dseq_oss_midi.c40 struct mutex open_mutex; member in struct:seq_oss_midi
171 mutex_init(&mdev->open_mutex);
328 mutex_lock(&mdev->open_mutex);
382 mutex_unlock(&mdev->open_mutex);
399 mutex_lock(&mdev->open_mutex);
421 mutex_unlock(&mdev->open_mutex);
/linux-master/sound/pci/
H A Datiixp.c268 struct mutex open_mutex; /* playback open mutex */ member in struct:atiixp
1076 mutex_lock(&chip->open_mutex);
1078 mutex_unlock(&chip->open_mutex);
1093 mutex_lock(&chip->open_mutex);
1095 mutex_unlock(&chip->open_mutex);
1115 mutex_lock(&chip->open_mutex);
1120 mutex_unlock(&chip->open_mutex);
1128 mutex_lock(&chip->open_mutex);
1133 mutex_unlock(&chip->open_mutex);
1543 mutex_init(&chip->open_mutex);
[all...]
H A Datiixp_modem.c243 struct mutex open_mutex; /* playback open mutex */ member in struct:atiixp_modem
897 mutex_lock(&chip->open_mutex);
899 mutex_unlock(&chip->open_mutex);
909 mutex_lock(&chip->open_mutex);
911 mutex_unlock(&chip->open_mutex);
1173 mutex_init(&chip->open_mutex);
/linux-master/fs/hostfs/
H A Dhostfs_kern.c28 struct mutex open_mutex; member in struct:hostfs_inode_info
226 mutex_init(&hi->open_mutex);
325 mutex_lock(&HOSTFS_I(ino)->open_mutex);
328 mutex_unlock(&HOSTFS_I(ino)->open_mutex);
334 mutex_unlock(&HOSTFS_I(ino)->open_mutex);
344 mutex_unlock(&HOSTFS_I(ino)->open_mutex);
349 mutex_unlock(&HOSTFS_I(ino)->open_mutex);
/linux-master/sound/pci/hda/
H A Dhda_controller.h119 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member in struct:azx
H A Dhda_controller.c96 mutex_lock(&chip->open_mutex);
101 mutex_unlock(&chip->open_mutex);
594 mutex_lock(&chip->open_mutex);
667 mutex_unlock(&chip->open_mutex);
673 mutex_unlock(&chip->open_mutex);
/linux-master/drivers/bluetooth/
H A Dhci_vhci.c40 struct mutex open_mutex; member in struct:vhci_data
479 mutex_lock(&data->open_mutex);
481 mutex_unlock(&data->open_mutex);
651 mutex_init(&data->open_mutex);
/linux-master/drivers/media/rc/
H A Dati_remote.c261 struct mutex open_mutex; member in struct:ati_remote
326 mutex_lock(&ati_remote->open_mutex);
339 out: mutex_unlock(&ati_remote->open_mutex);
348 mutex_lock(&ati_remote->open_mutex);
351 mutex_unlock(&ati_remote->open_mutex);
889 mutex_init(&ati_remote->open_mutex);
/linux-master/sound/pci/ice1712/
H A Dice1724.c694 mutex_lock(&ice->open_mutex);
702 mutex_unlock(&ice->open_mutex);
717 mutex_unlock(&ice->open_mutex);
725 mutex_unlock(&ice->open_mutex);
735 mutex_lock(&ice->open_mutex);
740 mutex_unlock(&ice->open_mutex);
1016 mutex_lock(&ice->open_mutex);
1027 mutex_unlock(&ice->open_mutex);
1370 mutex_lock(&ice->open_mutex);
1373 mutex_unlock(&ice->open_mutex);
[all...]
/linux-master/sound/sparc/
H A Dcs4231.c112 struct mutex open_mutex; /* mutex for ALSA open/close */ member in struct:snd_cs4231
774 mutex_lock(&chip->open_mutex);
776 mutex_unlock(&chip->open_mutex);
781 mutex_unlock(&chip->open_mutex);
801 mutex_unlock(&chip->open_mutex);
809 mutex_lock(&chip->open_mutex);
812 mutex_unlock(&chip->open_mutex);
850 mutex_unlock(&chip->open_mutex);
1788 mutex_init(&chip->open_mutex);
1955 mutex_init(&chip->open_mutex);
[all...]
/linux-master/drivers/block/zram/
H A Dzram_drv.c2082 mutex_lock(&disk->open_mutex);
2085 mutex_unlock(&disk->open_mutex);
2091 mutex_unlock(&disk->open_mutex);
2097 mutex_lock(&disk->open_mutex);
2099 mutex_unlock(&disk->open_mutex);
2108 WARN_ON(!mutex_is_locked(&disk->open_mutex));
2265 mutex_lock(&zram->disk->open_mutex);
2267 mutex_unlock(&zram->disk->open_mutex);
2274 mutex_unlock(&zram->disk->open_mutex);

Completed in 257 milliseconds

12