Lines Matching refs:fetch_lock
193 struct mutex fetch_lock; /* Protect b_read, b_out */ member
702 mutex_init(&rp->fetch_lock); in mon_bin_open()
750 mutex_lock(&rp->fetch_lock); in mon_bin_get_event()
753 mutex_unlock(&rp->fetch_lock); in mon_bin_get_event()
760 mutex_unlock(&rp->fetch_lock); in mon_bin_get_event()
768 mutex_unlock(&rp->fetch_lock); in mon_bin_get_event()
777 mutex_unlock(&rp->fetch_lock); in mon_bin_get_event()
816 mutex_lock(&rp->fetch_lock); in mon_bin_read()
819 mutex_unlock(&rp->fetch_lock); in mon_bin_read()
829 mutex_unlock(&rp->fetch_lock); in mon_bin_read()
848 mutex_unlock(&rp->fetch_lock); in mon_bin_read()
867 mutex_unlock(&rp->fetch_lock); in mon_bin_read()
881 mutex_lock(&rp->fetch_lock); in mon_bin_flush()
892 mutex_unlock(&rp->fetch_lock); in mon_bin_flush()
912 mutex_lock(&rp->fetch_lock); in mon_bin_fetch()
915 mutex_unlock(&rp->fetch_lock); in mon_bin_fetch()
932 mutex_unlock(&rp->fetch_lock); in mon_bin_fetch()
944 mutex_unlock(&rp->fetch_lock); in mon_bin_fetch()
961 mutex_lock(&rp->fetch_lock); in mon_bin_queued()
981 mutex_unlock(&rp->fetch_lock); in mon_bin_queued()
1010 mutex_lock(&rp->fetch_lock); in mon_bin_ioctl()
1012 mutex_unlock(&rp->fetch_lock); in mon_bin_ioctl()
1043 mutex_lock(&rp->fetch_lock); in mon_bin_ioctl()
1058 mutex_unlock(&rp->fetch_lock); in mon_bin_ioctl()