| /freebsd/sys/sys/ |
| H A D | selinfo.h | 44 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 D | tty.h | 106 struct selinfo t_inpoll; /* (t) Input poll queue. */ 107 struct selinfo t_outpoll; /* (t) Output poll queue. */
|
| H A D | eventvar.h | 47 struct selinfo kq_sel;
|
| H A D | jaildesc.h | 58 struct selinfo jd_selinfo; /* (d) event notification */
|
| H A D | sockbuf.h | 73 struct selinfo; 89 struct selinfo *sb_sel; /* process selecting read/write */
|
| H A D | procdesc.h | 72 struct selinfo pd_selinfo; /* (p) Event notification. */
|
| H A D | pipe.h | 106 struct selinfo pipe_sel; /* for compat with select */
|
| H A D | socketvar.h | 112 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 D | gpioc.c | 83 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 D | usb_dev.h | 109 struct selinfo selinfo; member
|
| H A D | usb_dev.c | 390 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 D | cuse.c | 147 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 D | cyapa.c | 158 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 D | bpfdesc.h | 93 struct selinfo bd_sel; /* bsd select info */
|
| /freebsd/sys/kern/ |
| H A D | sys_generic.c | 127 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 D | subr_log.c | 87 struct selinfo sc_selp; /* process waiting on select call */
|
| H A D | tty_pts.c | 94 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 D | buffer.h | 56 struct selinfo sel;
|
| /freebsd/sys/netgraph/ |
| H A D | ng_device.c | 122 struct selinfo rsel; 123 struct selinfo wsel;
|
| /freebsd/sys/dev/ipmi/ |
| H A D | ipmivars.h | 77 struct selinfo ipmi_select;
|
| /freebsd/sys/dev/evdev/ |
| H A D | evdev_private.h | 229 struct selinfo ec_selp; /* (q) */
|
| /freebsd/sys/dev/snp/ |
| H A D | snp.c | 111 struct selinfo snp_outpoll; /* (t) Output polling. */
|
| /freebsd/sys/dev/firewire/ |
| H A D | firewirereg.h | 199 struct selinfo rsel;
|
| /freebsd/sys/dev/random/ |
| H A D | randomdev.c | 101 static struct selinfo rsel;
|
| /freebsd/sys/arm/ti/ |
| H A D | ti_pruss.c | 111 struct selinfo sc_selinfo; 137 struct selinfo sc_selinfo;
|