Lines Matching refs:mutex

125 	if (mutex_lock_interruptible(&dmxdev->mutex))  in dvb_dvr_open()
129 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
153 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
163 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
168 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
182 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
189 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
196 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
205 mutex_lock(&dmxdev->mutex); in dvb_dvr_release()
234 mutex_unlock(&dmxdev->mutex); in dvb_dvr_release()
237 mutex_unlock(&dmxdev->mutex); in dvb_dvr_release()
253 if (mutex_lock_interruptible(&dmxdev->mutex)) in dvb_dvr_write()
257 mutex_unlock(&dmxdev->mutex); in dvb_dvr_write()
261 mutex_unlock(&dmxdev->mutex); in dvb_dvr_write()
790 if (mutex_lock_interruptible(&dmxdev->mutex)) in dvb_demux_open()
794 mutex_unlock(&dmxdev->mutex); in dvb_demux_open()
803 mutex_unlock(&dmxdev->mutex); in dvb_demux_open()
808 mutex_init(&dmxdevfilter->mutex); in dvb_demux_open()
826 mutex_unlock(&dmxdev->mutex); in dvb_demux_open()
833 mutex_lock(&dmxdev->mutex); in dvb_dmxdev_filter_free()
834 mutex_lock(&dmxdevfilter->mutex); in dvb_dmxdev_filter_free()
854 mutex_unlock(&dmxdevfilter->mutex); in dvb_dmxdev_filter_free()
855 mutex_unlock(&dmxdev->mutex); in dvb_dmxdev_filter_free()
1015 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) in dvb_demux_read()
1025 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_read()
1037 if (mutex_lock_interruptible(&dmxdev->mutex)) in dvb_demux_do_ioctl()
1042 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1043 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1050 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1054 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1055 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1059 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1063 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1064 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1068 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1072 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1073 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1077 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1081 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1082 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1086 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1109 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1114 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1118 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1123 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1128 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1129 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1133 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1137 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1138 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1142 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1146 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1147 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1151 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1155 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1156 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1162 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1166 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_do_ioctl()
1167 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1171 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_do_ioctl()
1178 mutex_unlock(&dmxdev->mutex); in dvb_demux_do_ioctl()
1224 if (mutex_lock_interruptible(&dmxdev->mutex)) in dvb_demux_mmap()
1227 if (mutex_lock_interruptible(&dmxdevfilter->mutex)) { in dvb_demux_mmap()
1228 mutex_unlock(&dmxdev->mutex); in dvb_demux_mmap()
1233 mutex_unlock(&dmxdevfilter->mutex); in dvb_demux_mmap()
1234 mutex_unlock(&dmxdev->mutex); in dvb_demux_mmap()
1248 mutex_lock(&dmxdev->mutex); in dvb_demux_release()
1251 mutex_unlock(&dmxdev->mutex); in dvb_demux_release()
1254 mutex_unlock(&dmxdev->mutex); in dvb_demux_release()
1291 if (mutex_lock_interruptible(&dmxdev->mutex)) in dvb_dvr_do_ioctl()
1326 mutex_unlock(&dmxdev->mutex); in dvb_dvr_do_ioctl()
1377 if (mutex_lock_interruptible(&dmxdev->mutex)) in dvb_dvr_mmap()
1381 mutex_unlock(&dmxdev->mutex); in dvb_dvr_mmap()
1421 mutex_init(&dmxdev->mutex); in dvb_dmxdev_init()
1456 mutex_lock(&dmxdev->mutex); in dvb_dmxdev_release()
1458 mutex_unlock(&dmxdev->mutex); in dvb_dmxdev_release()