/linux-4.4.14/tools/perf/tests/ |
D | fdarray.c | 39 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/ |
D | poll.h | 9 #define POLLHUP 0x0010 macro
|
/linux-4.4.14/samples/uhid/ |
D | uhid-example.c | 440 if (pfds[0].revents & POLLHUP) { in main() 444 if (pfds[1].revents & POLLHUP) { in main()
|
/linux-4.4.14/drivers/vfio/ |
D | virqfd.c | 59 if (flags & POLLHUP) { in virqfd_wakeup()
|
/linux-4.4.14/drivers/misc/mic/cosm/ |
D | cosm_scif_server.c | 271 if (pollepd.revents & POLLHUP) { in cosm_scif_work()
|
/linux-4.4.14/sound/usb/usx2y/ |
D | usX2Yhwdep.c | 96 return POLLHUP; in snd_us428ctls_poll()
|
/linux-4.4.14/fs/ |
D | select.c | 384 #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()
|
D | signalfd.c | 47 wake_up_poll(wqh, POLLHUP | POLLFREE); in signalfd_cleanup()
|
D | eventfd.c | 112 wake_up_poll(&ctx->wqh, POLLHUP); in eventfd_release()
|
D | pipe.c | 520 mask |= POLLHUP; in pipe_poll() 563 …terruptible_sync_poll(&pipe->wait, POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM | POLLERR | POLLHUP); in pipe_release()
|
D | eventpoll.c | 1920 epds.events |= POLLERR | POLLHUP; in SYSCALL_DEFINE4() 1935 epds.events |= POLLERR | POLLHUP; in SYSCALL_DEFINE4()
|
D | fcntl.c | 429 POLLHUP | POLLERR /* POLL_HUP */
|
D | userfaultfd.c | 480 wake_up_poll(&ctx->fd_wqh, POLLHUP); in userfaultfd_release()
|
/linux-4.4.14/net/core/ |
D | datagram.c | 769 mask |= POLLHUP; in datagram_poll() 778 mask |= POLLHUP; in datagram_poll()
|
/linux-4.4.14/drivers/media/ |
D | media-devnode.c | 113 return POLLERR | POLLHUP; in media_poll()
|
/linux-4.4.14/net/bluetooth/ |
D | af_bluetooth.c | 428 mask |= POLLHUP; in bt_sock_poll() 434 mask |= POLLHUP; in bt_sock_poll()
|
/linux-4.4.14/drivers/tty/ |
D | n_hdlc.c | 832 mask |= POLLHUP; in n_hdlc_tty_poll() 834 mask |= POLLHUP; in n_hdlc_tty_poll()
|
D | n_tty.c | 2450 mask |= POLLHUP; in n_tty_poll() 2452 mask |= POLLHUP; in n_tty_poll() 2453 if (!(mask & (POLLHUP | POLLIN | POLLRDNORM))) { in n_tty_poll()
|
D | n_gsm.c | 2486 mask |= POLLHUP; in gsmld_poll() 2490 mask |= POLLHUP; in gsmld_poll()
|
D | tty_io.c | 452 return POLLIN | POLLOUT | POLLERR | POLLHUP | POLLRDNORM | POLLWRNORM; in hung_up_tty_poll()
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-fileops.c | 643 return res | POLLHUP; in cx18_v4l2_enc_poll() 657 return res | POLLHUP; in cx18_v4l2_enc_poll()
|
/linux-4.4.14/drivers/usb/misc/ |
D | iowarrior.c | 696 return POLLERR | POLLHUP; in iowarrior_poll() 702 return POLLERR | POLLHUP; in iowarrior_poll()
|
D | ldusb.c | 425 return POLLERR | POLLHUP; in ld_usb_poll()
|
D | legousbtower.c | 518 return POLLERR | POLLHUP; in tower_poll()
|
/linux-4.4.14/drivers/hid/ |
D | hid-roccat.c | 147 return POLLERR | POLLHUP; in roccat_poll()
|
D | hidraw.c | 265 return POLLERR | POLLHUP; in hidraw_poll()
|
D | hid-debug.c | 1188 return POLLERR | POLLHUP; in hid_debug_events_poll()
|
/linux-4.4.14/drivers/input/serio/ |
D | serio_raw.c | 250 mask = serio_raw->dead ? POLLHUP | POLLERR : POLLOUT | POLLWRNORM; in serio_raw_poll()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_api.c | 1362 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/ |
D | llcp_sock.c | 564 mask |= POLLHUP; in llcp_sock_poll() 570 mask |= POLLHUP; in llcp_sock_poll()
|
/linux-4.4.14/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 435 mask |= POLLHUP; in goldfish_pipe_poll()
|
/linux-4.4.14/net/caif/ |
D | caif_socket.c | 923 wake_up_interruptible_poll(sk_sleep(sk), POLLERR|POLLHUP); in caif_release() 947 mask |= POLLHUP; in caif_poll()
|
/linux-4.4.14/net/unix/ |
D | af_unix.c | 2644 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/ |
D | nosy.c | 342 ret |= POLLHUP; in nosy_poll()
|
D | core-cdev.c | 1796 mask |= POLLHUP | POLLERR; in fw_device_op_poll()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | serial2002.c | 134 POLLHUP | POLLERR)) { in serial2002_tty_read_poll_wait()
|
/linux-4.4.14/net/phonet/ |
D | socket.c | 356 return POLLHUP; in pn_socket_poll()
|
/linux-4.4.14/virt/kvm/ |
D | eventfd.c | 211 if (flags & POLLHUP) { in irqfd_wakeup()
|
/linux-4.4.14/net/irda/ |
D | af_irda.c | 1754 mask |= POLLHUP; in irda_poll() 1768 mask |= POLLHUP; in irda_poll()
|
/linux-4.4.14/drivers/char/ |
D | virtio_console.c | 992 return POLLHUP; in port_fops_poll() 1000 ret |= POLLHUP; in port_fops_poll()
|
/linux-4.4.14/tools/perf/ |
D | builtin-record.c | 702 if (perf_evlist__filter_pollfd(rec->evlist, POLLERR | POLLHUP) == 0) in __cmd_record()
|
D | builtin-trace.c | 2664 if (perf_evlist__filter_pollfd(evlist, POLLERR | POLLHUP) == 0) in trace__run()
|
/linux-4.4.14/drivers/hid/usbhid/ |
D | hiddev.c | 442 return POLLERR | POLLHUP; in hiddev_poll()
|
/linux-4.4.14/net/9p/ |
D | trans_fd.c | 622 if (n < 0 || n & (POLLERR | POLLHUP | POLLNVAL)) { in p9_poll_mux()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 334 unsigned int res = POLLERR | POLLHUP; in v4l2_poll()
|
/linux-4.4.14/net/dccp/ |
D | proto.c | 329 mask |= POLLHUP; in dccp_poll()
|
/linux-4.4.14/drivers/input/ |
D | mousedev.c | 762 mask = mousedev->exist ? POLLOUT | POLLWRNORM : POLLHUP | POLLERR; in mousedev_poll()
|
D | joydev.c | 434 (joydev->exist ? 0 : (POLLHUP | POLLERR)); in joydev_poll()
|
D | evdev.c | 649 mask = POLLHUP | POLLERR; in evdev_poll()
|
/linux-4.4.14/net/atm/ |
D | common.c | 664 mask |= POLLHUP; in vcc_poll()
|
/linux-4.4.14/drivers/usb/class/ |
D | cdc-wdm.c | 598 mask = POLLHUP | POLLERR; in wdm_poll()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-fileops.c | 804 return res | POLLHUP; in ivtv_v4l2_enc_poll()
|
/linux-4.4.14/net/iucv/ |
D | af_iucv.c | 1474 mask |= POLLHUP; in iucv_sock_poll() 1481 mask |= POLLHUP; in iucv_sock_poll()
|
/linux-4.4.14/drivers/media/radio/ |
D | radio-si476x.c | 1164 err = POLLHUP; in si476x_radio_fops_poll()
|
/linux-4.4.14/net/sunrpc/ |
D | rpc_pipe.c | 354 mask |= POLLERR | POLLHUP; in rpc_pipe_poll()
|
/linux-4.4.14/net/vmw_vsock/ |
D | af_vsock.c | 862 mask |= POLLHUP; in vsock_poll()
|
/linux-4.4.14/fs/proc/ |
D | proc_sysctl.c | 591 return POLLERR | POLLHUP; in proc_sys_poll()
|
/linux-4.4.14/tools/perf/util/ |
D | evlist.c | 496 int pos = fdarray__add(&evlist->pollfd, fd, POLLIN | POLLERR | POLLHUP); in __perf_evlist__add_pollfd()
|
/linux-4.4.14/drivers/usb/gadget/legacy/ |
D | inode.c | 1218 mask = POLLHUP; in ep0_poll()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | gspca.c | 1890 ret |= POLLHUP; in dev_poll()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_common.c | 1249 mask = POLLHUP; in isdn_poll()
|
D | isdn_ppp.c | 707 return POLLHUP; in isdn_ppp_poll()
|
/linux-4.4.14/net/tipc/ |
D | socket.c | 651 mask = (POLLIN | POLLRDNORM | POLLHUP); in tipc_poll()
|
/linux-4.4.14/net/ipv4/ |
D | tcp.c | 500 mask |= POLLHUP; in tcp_poll()
|
/linux-4.4.14/drivers/usb/core/ |
D | devio.c | 2363 mask |= POLLERR | POLLHUP; in usbdev_poll()
|
/linux-4.4.14/drivers/net/ppp/ |
D | ppp_generic.c | 531 mask |= POLLHUP; in ppp_poll()
|
/linux-4.4.14/drivers/scsi/ |
D | sg.c | 1171 res |= POLLHUP; in sg_poll()
|
/linux-4.4.14/mm/ |
D | memcontrol.c | 3843 if (flags & POLLHUP) { in memcg_event_wake()
|
/linux-4.4.14/net/sctp/ |
D | socket.c | 6450 mask |= POLLHUP; in sctp_poll()
|
/linux-4.4.14/kernel/events/ |
D | core.c | 4077 unsigned int events = POLLHUP; in perf_poll()
|