Home
last modified time | relevance | path

Searched refs:selinfo (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/sys/sys/
H A Dselinfo.h44 struct selinfo { struct
53 void seldrain(struct selinfo *sip); argument
54 void selrecord(struct thread *selector, struct selinfo *sip);
55 void selwakeup(struct selinfo *sip);
56 void selwakeuppri(struct selinfo *sip, int pri);
H A Dtty.h106 struct selinfo t_inpoll; /* (t) Input poll queue. */
107 struct selinfo t_outpoll; /* (t) Output poll queue. */
H A Deventvar.h47 struct selinfo kq_sel;
H A Djaildesc.h58 struct selinfo jd_selinfo; /* (d) event notification */
H A Dsockbuf.h73 struct selinfo;
89 struct selinfo *sb_sel; /* process selecting read/write */
H A Dprocdesc.h72 struct selinfo pd_selinfo; /* (p) Event notification. */
H A Dpipe.h106 struct selinfo pipe_sel; /* for compat with select */
H A Dsocketvar.h112 struct selinfo so_rdsel; /* (b/cr) for so_rcv/so_comp */
113 struct selinfo so_wrsel; /* (b/cs) for so_snd */
/freebsd/sys/dev/gpio/
H A Dgpioc.c83 struct selinfo selinfo; member
568 selwakeup(&priv->selinfo); in gpioc_interrupt_handler()
569 KNOTE_LOCKED(&priv->selinfo.si_note, 0); in gpioc_interrupt_handler()
674 knlist_clear(&priv->selinfo.si_note, 0); in gpioc_cdevpriv_dtor()
675 seldrain(&priv->selinfo); in gpioc_cdevpriv_dtor()
676 knlist_destroy(&priv->selinfo.si_note); in gpioc_cdevpriv_dtor()
694 knlist_init_mtx(&priv->selinfo.si_note, &priv->mtx); in gpioc_open()
1003 selrecord(td, &priv->selinfo); in gpioc_poll()
1032 knlist = &priv->selinfo.si_note; in gpioc_kqfilter()
1065 struct knlist *knlist = &priv->selinfo.si_note; in gpioc_kqdetach()
/freebsd/sys/dev/usb/
H A Dusb_dev.h109 struct selinfo selinfo; member
H A Dusb_dev.c390 knlist_init_mtx(&f->selinfo.si_note, mtx); in usb_fifo_alloc()
630 knlist_clear(&f->selinfo.si_note, 0); in usb_fifo_free()
631 seldrain(&f->selinfo); in usb_fifo_free()
632 knlist_destroy(&f->selinfo.si_note); in usb_fifo_free()
793 KNOTE_LOCKED(&f->selinfo.si_note, 0); in usb_fifo_close()
797 selwakeup(&f->selinfo); in usb_fifo_close()
1141 knlist_remove(&f->selinfo.si_note, kn, 0); in usb_filter_detach()
1286 knlist_add(&f->selinfo.si_note, kn, 1); in usb_kqfilter()
1346 selrecord(td, &f->selinfo); in usb_poll()
1384 selrecord(td, &f->selinfo); in usb_poll()
[all …]
/freebsd/sys/fs/cuse/
H A Dcuse.c147 struct selinfo selinfo; member
733 knlist_clear(&pcs->selinfo.si_note, 1); in cuse_server_unref()
734 knlist_destroy(&pcs->selinfo.si_note); in cuse_server_unref()
738 seldrain(&pcs->selinfo); in cuse_server_unref()
757 knlist_clear(&pcs->selinfo.si_note, 1); in cuse_server_do_close()
806 knlist_init_mtx(&pcs->selinfo.si_note, &pcs->mtx); in cuse_server_open()
1064 selwakeup(&pcs->selinfo); in cuse_server_wakeup_locked()
1065 KNOTE_LOCKED(&pcs->selinfo.si_note, 0); in cuse_server_wakeup_locked()
1904 selrecord(td, &pcs->selinfo); in cuse_client_poll()
1958 knlist_remove(&pcs->selinfo.si_note, kn, 1); in cuse_client_kqfilter_read_detach()
[all …]
/freebsd/sys/dev/cyapa/
H A Dcyapa.c158 struct selinfo selinfo; member
335 KNOTE_LOCKED(&sc->selinfo.si_note, 0); in cyapa_notify()
343 selwakeup(&sc->selinfo); in cyapa_notify()
535 knlist_init_mtx(&sc->selinfo.si_note, &sc->mutex); in cyapa_attach()
641 knlist_clear(&sc->selinfo.si_note, 0); in cyapa_detach()
642 seldrain(&sc->selinfo); in cyapa_detach()
643 knlist_destroy(&sc->selinfo.si_note); in cyapa_detach()
1144 knlist = &sc->selinfo.si_note; in cyapakqfilter()
1165 selrecord(td, &sc->selinfo); in cyapapoll()
1181 knlist = &sc->selinfo.si_note; in cyapafiltdetach()
/freebsd/sys/net/
H A Dbpfdesc.h93 struct selinfo bd_sel; /* bsd select info */
/freebsd/sys/kern/
H A Dsys_generic.c127 static void doselwakeup(struct selinfo *, int);
157 struct selinfo *sf_si; /* (f) selinfo when linked. */
1437 struct selinfo *si; in selrescan()
1704 struct selinfo *si; in pollrescan()
1914 seldrain(struct selinfo *sip) in seldrain()
1932 selrecord(struct thread *selector, struct selinfo *sip) in selrecord()
1980 selwakeup(struct selinfo *sip) in selwakeup()
1987 selwakeuppri(struct selinfo *sip, int pri) in selwakeuppri()
1996 doselwakeup(struct selinfo *sip, int pri) in doselwakeup()
H A Dsubr_log.c87 struct selinfo sc_selp; /* process waiting on select call */
H A Dtty_pts.c94 struct selinfo pts_inpoll; /* (t) Select queue for write(). */
96 struct selinfo pts_outpoll; /* (t) Select queue for read(). */
/freebsd/sys/dev/sound/pcm/
H A Dbuffer.h56 struct selinfo sel;
/freebsd/sys/netgraph/
H A Dng_device.c122 struct selinfo rsel;
123 struct selinfo wsel;
/freebsd/sys/dev/ipmi/
H A Dipmivars.h77 struct selinfo ipmi_select;
/freebsd/sys/dev/evdev/
H A Devdev_private.h229 struct selinfo ec_selp; /* (q) */
/freebsd/sys/dev/snp/
H A Dsnp.c111 struct selinfo snp_outpoll; /* (t) Output polling. */
/freebsd/sys/dev/firewire/
H A Dfirewirereg.h199 struct selinfo rsel;
/freebsd/sys/dev/random/
H A Drandomdev.c101 static struct selinfo rsel;
/freebsd/sys/arm/ti/
H A Dti_pruss.c111 struct selinfo sc_selinfo;
137 struct selinfo sc_selinfo;

123