Lines Matching refs:mutex
696 if (mutex_lock_interruptible(&demux->mutex)) in dmx_ts_feed_set()
701 mutex_unlock(&demux->mutex); in dmx_ts_feed_set()
707 mutex_unlock(&demux->mutex); in dmx_ts_feed_set()
723 mutex_unlock(&demux->mutex); in dmx_ts_feed_set()
734 if (mutex_lock_interruptible(&demux->mutex)) in dmx_ts_feed_start_filtering()
738 mutex_unlock(&demux->mutex); in dmx_ts_feed_start_filtering()
743 mutex_unlock(&demux->mutex); in dmx_ts_feed_start_filtering()
748 mutex_unlock(&demux->mutex); in dmx_ts_feed_start_filtering()
756 mutex_unlock(&demux->mutex); in dmx_ts_feed_start_filtering()
767 mutex_lock(&demux->mutex); in dmx_ts_feed_stop_filtering()
770 mutex_unlock(&demux->mutex); in dmx_ts_feed_stop_filtering()
775 mutex_unlock(&demux->mutex); in dmx_ts_feed_stop_filtering()
785 mutex_unlock(&demux->mutex); in dmx_ts_feed_stop_filtering()
797 if (mutex_lock_interruptible(&demux->mutex)) in dvbdmx_allocate_ts_feed()
801 mutex_unlock(&demux->mutex); in dvbdmx_allocate_ts_feed()
822 mutex_unlock(&demux->mutex); in dvbdmx_allocate_ts_feed()
830 mutex_unlock(&demux->mutex); in dvbdmx_allocate_ts_feed()
841 mutex_lock(&demux->mutex); in dvbdmx_release_ts_feed()
844 mutex_unlock(&demux->mutex); in dvbdmx_release_ts_feed()
858 mutex_unlock(&demux->mutex); in dvbdmx_release_ts_feed()
873 if (mutex_lock_interruptible(&dvbdemux->mutex)) in dmx_section_feed_allocate_filter()
878 mutex_unlock(&dvbdemux->mutex); in dmx_section_feed_allocate_filter()
893 mutex_unlock(&dvbdemux->mutex); in dmx_section_feed_allocate_filter()
906 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dmx_section_feed_set()
915 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_set()
947 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dmx_section_feed_start_filtering()
951 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
956 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
967 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
974 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
983 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
993 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
996 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
1007 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
1018 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1021 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1028 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1030 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1046 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1057 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dvbdmx_allocate_section_feed()
1061 mutex_unlock(&dvbdmx->mutex); in dvbdmx_allocate_section_feed()
1086 mutex_unlock(&dvbdmx->mutex); in dvbdmx_allocate_section_feed()
1096 mutex_lock(&dvbdmx->mutex); in dvbdmx_release_section_feed()
1099 mutex_unlock(&dvbdmx->mutex); in dvbdmx_release_section_feed()
1108 mutex_unlock(&dvbdmx->mutex); in dvbdmx_release_section_feed()
1150 if (mutex_lock_interruptible(&dvbdemux->mutex)) { in dvbdmx_write()
1156 mutex_unlock(&dvbdemux->mutex); in dvbdmx_write()
1208 mutex_lock(&dvbdemux->mutex); in dvbdmx_connect_frontend()
1211 mutex_unlock(&dvbdemux->mutex); in dvbdmx_connect_frontend()
1219 mutex_lock(&dvbdemux->mutex); in dvbdmx_disconnect_frontend()
1222 mutex_unlock(&dvbdemux->mutex); in dvbdmx_disconnect_frontend()
1303 mutex_init(&dvbdemux->mutex); in dvb_dmx_init()