Home
last modified time | relevance | path

Searched refs:POLLHUP (Results 1 – 70 of 70) sorted by relevance

/linux-4.4.14/tools/perf/tests/
Dfdarray.c39 nr_fds = fdarray__filter(fda, POLLHUP, NULL); in test__fdarray__filter()
46 fdarray__init_revents(fda, POLLHUP); in test__fdarray__filter()
47 nr_fds = fdarray__filter(fda, POLLHUP, NULL); in test__fdarray__filter()
54 fdarray__init_revents(fda, POLLHUP); in test__fdarray__filter()
60 nr_fds = fdarray__filter(fda, POLLHUP, NULL); in test__fdarray__filter()
73 fdarray__init_revents(fda, POLLHUP); in test__fdarray__filter()
81 nr_fds = fdarray__filter(fda, POLLHUP, NULL); in test__fdarray__filter()
146 FDA_ADD(2, 35, POLLHUP, 3); in test__fdarray__add()
161 FDA_CHECK(2, 35, POLLHUP); in test__fdarray__add()
/linux-4.4.14/include/uapi/asm-generic/
Dpoll.h9 #define POLLHUP 0x0010 macro
/linux-4.4.14/samples/uhid/
Duhid-example.c440 if (pfds[0].revents & POLLHUP) { in main()
444 if (pfds[1].revents & POLLHUP) { in main()
/linux-4.4.14/drivers/vfio/
Dvirqfd.c59 if (flags & POLLHUP) { in virqfd_wakeup()
/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_scif_server.c271 if (pollepd.revents & POLLHUP) { in cosm_scif_work()
/linux-4.4.14/sound/usb/usx2y/
DusX2Yhwdep.c96 return POLLHUP; in snd_us428ctls_poll()
/linux-4.4.14/fs/
Dselect.c384 #define POLLIN_SET (POLLRDNORM | POLLRDBAND | POLLIN | POLLHUP | POLLERR)
765 pwait->_key = pollfd->events|POLLERR|POLLHUP; in do_pollfd()
772 mask &= pollfd->events | POLLERR | POLLHUP; in do_pollfd()
Dsignalfd.c47 wake_up_poll(wqh, POLLHUP | POLLFREE); in signalfd_cleanup()
Deventfd.c112 wake_up_poll(&ctx->wqh, POLLHUP); in eventfd_release()
Dpipe.c520 mask |= POLLHUP; in pipe_poll()
563 …terruptible_sync_poll(&pipe->wait, POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM | POLLERR | POLLHUP); in pipe_release()
Deventpoll.c1920 epds.events |= POLLERR | POLLHUP; in SYSCALL_DEFINE4()
1935 epds.events |= POLLERR | POLLHUP; in SYSCALL_DEFINE4()
Dfcntl.c429 POLLHUP | POLLERR /* POLL_HUP */
Duserfaultfd.c480 wake_up_poll(&ctx->fd_wqh, POLLHUP); in userfaultfd_release()
/linux-4.4.14/net/core/
Ddatagram.c769 mask |= POLLHUP; in datagram_poll()
778 mask |= POLLHUP; in datagram_poll()
/linux-4.4.14/drivers/media/
Dmedia-devnode.c113 return POLLERR | POLLHUP; in media_poll()
/linux-4.4.14/net/bluetooth/
Daf_bluetooth.c428 mask |= POLLHUP; in bt_sock_poll()
434 mask |= POLLHUP; in bt_sock_poll()
/linux-4.4.14/drivers/tty/
Dn_hdlc.c832 mask |= POLLHUP; in n_hdlc_tty_poll()
834 mask |= POLLHUP; in n_hdlc_tty_poll()
Dn_tty.c2450 mask |= POLLHUP; in n_tty_poll()
2452 mask |= POLLHUP; in n_tty_poll()
2453 if (!(mask & (POLLHUP | POLLIN | POLLRDNORM))) { in n_tty_poll()
Dn_gsm.c2486 mask |= POLLHUP; in gsmld_poll()
2490 mask |= POLLHUP; in gsmld_poll()
Dtty_io.c452 return POLLIN | POLLOUT | POLLERR | POLLHUP | POLLRDNORM | POLLWRNORM; in hung_up_tty_poll()
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-fileops.c643 return res | POLLHUP; in cx18_v4l2_enc_poll()
657 return res | POLLHUP; in cx18_v4l2_enc_poll()
/linux-4.4.14/drivers/usb/misc/
Diowarrior.c696 return POLLERR | POLLHUP; in iowarrior_poll()
702 return POLLERR | POLLHUP; in iowarrior_poll()
Dldusb.c425 return POLLERR | POLLHUP; in ld_usb_poll()
Dlegousbtower.c518 return POLLERR | POLLHUP; in tower_poll()
/linux-4.4.14/drivers/hid/
Dhid-roccat.c147 return POLLERR | POLLHUP; in roccat_poll()
Dhidraw.c265 return POLLERR | POLLHUP; in hidraw_poll()
Dhid-debug.c1188 return POLLERR | POLLHUP; in hid_debug_events_poll()
/linux-4.4.14/drivers/input/serio/
Dserio_raw.c250 mask = serio_raw->dead ? POLLHUP | POLLERR : POLLOUT | POLLWRNORM; in serio_raw_poll()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_api.c1362 mask |= POLLHUP; in __scif_pollfd()
1400 pt->_key = ufds[i].events | POLLERR | POLLHUP; in scif_poll()
1403 mask &= ufds[i].events | POLLERR | POLLHUP; in scif_poll()
/linux-4.4.14/net/nfc/
Dllcp_sock.c564 mask |= POLLHUP; in llcp_sock_poll()
570 mask |= POLLHUP; in llcp_sock_poll()
/linux-4.4.14/drivers/platform/goldfish/
Dgoldfish_pipe.c435 mask |= POLLHUP; in goldfish_pipe_poll()
/linux-4.4.14/net/caif/
Dcaif_socket.c923 wake_up_interruptible_poll(sk_sleep(sk), POLLERR|POLLHUP); in caif_release()
947 mask |= POLLHUP; in caif_poll()
/linux-4.4.14/net/unix/
Daf_unix.c2644 mask |= POLLHUP; in unix_poll()
2655 mask |= POLLHUP; in unix_poll()
2684 mask |= POLLHUP; in unix_dgram_poll()
2693 mask |= POLLHUP; in unix_dgram_poll()
/linux-4.4.14/drivers/firewire/
Dnosy.c342 ret |= POLLHUP; in nosy_poll()
Dcore-cdev.c1796 mask |= POLLHUP | POLLERR; in fw_device_op_poll()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dserial2002.c134 POLLHUP | POLLERR)) { in serial2002_tty_read_poll_wait()
/linux-4.4.14/net/phonet/
Dsocket.c356 return POLLHUP; in pn_socket_poll()
/linux-4.4.14/virt/kvm/
Deventfd.c211 if (flags & POLLHUP) { in irqfd_wakeup()
/linux-4.4.14/net/irda/
Daf_irda.c1754 mask |= POLLHUP; in irda_poll()
1768 mask |= POLLHUP; in irda_poll()
/linux-4.4.14/drivers/char/
Dvirtio_console.c992 return POLLHUP; in port_fops_poll()
1000 ret |= POLLHUP; in port_fops_poll()
/linux-4.4.14/tools/perf/
Dbuiltin-record.c702 if (perf_evlist__filter_pollfd(rec->evlist, POLLERR | POLLHUP) == 0) in __cmd_record()
Dbuiltin-trace.c2664 if (perf_evlist__filter_pollfd(evlist, POLLERR | POLLHUP) == 0) in trace__run()
/linux-4.4.14/drivers/hid/usbhid/
Dhiddev.c442 return POLLERR | POLLHUP; in hiddev_poll()
/linux-4.4.14/net/9p/
Dtrans_fd.c622 if (n < 0 || n & (POLLERR | POLLHUP | POLLNVAL)) { in p9_poll_mux()
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-dev.c334 unsigned int res = POLLERR | POLLHUP; in v4l2_poll()
/linux-4.4.14/net/dccp/
Dproto.c329 mask |= POLLHUP; in dccp_poll()
/linux-4.4.14/drivers/input/
Dmousedev.c762 mask = mousedev->exist ? POLLOUT | POLLWRNORM : POLLHUP | POLLERR; in mousedev_poll()
Djoydev.c434 (joydev->exist ? 0 : (POLLHUP | POLLERR)); in joydev_poll()
Devdev.c649 mask = POLLHUP | POLLERR; in evdev_poll()
/linux-4.4.14/net/atm/
Dcommon.c664 mask |= POLLHUP; in vcc_poll()
/linux-4.4.14/drivers/usb/class/
Dcdc-wdm.c598 mask = POLLHUP | POLLERR; in wdm_poll()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-fileops.c804 return res | POLLHUP; in ivtv_v4l2_enc_poll()
/linux-4.4.14/net/iucv/
Daf_iucv.c1474 mask |= POLLHUP; in iucv_sock_poll()
1481 mask |= POLLHUP; in iucv_sock_poll()
/linux-4.4.14/drivers/media/radio/
Dradio-si476x.c1164 err = POLLHUP; in si476x_radio_fops_poll()
/linux-4.4.14/net/sunrpc/
Drpc_pipe.c354 mask |= POLLERR | POLLHUP; in rpc_pipe_poll()
/linux-4.4.14/net/vmw_vsock/
Daf_vsock.c862 mask |= POLLHUP; in vsock_poll()
/linux-4.4.14/fs/proc/
Dproc_sysctl.c591 return POLLERR | POLLHUP; in proc_sys_poll()
/linux-4.4.14/tools/perf/util/
Devlist.c496 int pos = fdarray__add(&evlist->pollfd, fd, POLLIN | POLLERR | POLLHUP); in __perf_evlist__add_pollfd()
/linux-4.4.14/drivers/usb/gadget/legacy/
Dinode.c1218 mask = POLLHUP; in ep0_poll()
/linux-4.4.14/drivers/media/usb/gspca/
Dgspca.c1890 ret |= POLLHUP; in dev_poll()
/linux-4.4.14/drivers/isdn/i4l/
Disdn_common.c1249 mask = POLLHUP; in isdn_poll()
Disdn_ppp.c707 return POLLHUP; in isdn_ppp_poll()
/linux-4.4.14/net/tipc/
Dsocket.c651 mask = (POLLIN | POLLRDNORM | POLLHUP); in tipc_poll()
/linux-4.4.14/net/ipv4/
Dtcp.c500 mask |= POLLHUP; in tcp_poll()
/linux-4.4.14/drivers/usb/core/
Ddevio.c2363 mask |= POLLERR | POLLHUP; in usbdev_poll()
/linux-4.4.14/drivers/net/ppp/
Dppp_generic.c531 mask |= POLLHUP; in ppp_poll()
/linux-4.4.14/drivers/scsi/
Dsg.c1171 res |= POLLHUP; in sg_poll()
/linux-4.4.14/mm/
Dmemcontrol.c3843 if (flags & POLLHUP) { in memcg_event_wake()
/linux-4.4.14/net/sctp/
Dsocket.c6450 mask |= POLLHUP; in sctp_poll()
/linux-4.4.14/kernel/events/
Dcore.c4077 unsigned int events = POLLHUP; in perf_poll()