FreeBSD/sys/cam/scsi/scsi_target.c
/* Notify the user that data is ready */
Notify the user that data is ready
Notify the user that data is ready
static void
notify_user(struct targ_softc *softc)
{
	selwakeuppri(&softc->read_select, PRIBIO);
	KNOTE_UNLOCKED(&softc->read_select.si_note, 0);
	wakeup(&softc->user_ccb_queue);
}
static void notify_user ( struct targ_softc * softc ) { selwakeuppri ( & softc -> read_select , PRIBIO ) ; KNOTE_UNLOCKED ( & softc -> read_select . si_note , 0 ) ; wakeup ( & softc -> user_ccb_queue ) ; }
Notify the user that data is ready
Notify the user that data is ready
/*
	 * Notify users sleeping via poll(), kqueue(), and
	 * blocking read().
	 */