/linux-4.1.27/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.1.27/include/uapi/asm-generic/ |
D | poll.h | 9 #define POLLHUP 0x0010 macro
|
/linux-4.1.27/samples/uhid/ |
D | uhid-example.c | 440 if (pfds[0].revents & POLLHUP) { in main() 444 if (pfds[1].revents & POLLHUP) { in main()
|
/linux-4.1.27/drivers/vfio/ |
D | virqfd.c | 59 if (flags & POLLHUP) { in virqfd_wakeup()
|
/linux-4.1.27/sound/usb/usx2y/ |
D | usX2Yhwdep.c | 96 return POLLHUP; in snd_us428ctls_poll()
|
/linux-4.1.27/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 | eventfd.c | 112 wake_up_poll(&ctx->wqh, POLLHUP); in eventfd_release()
|
D | signalfd.c | 47 wake_up_poll(wqh, POLLHUP | POLLFREE); in signalfd_cleanup()
|
D | pipe.c | 515 mask |= POLLHUP; in pipe_poll() 558 …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 */
|
/linux-4.1.27/net/core/ |
D | datagram.c | 769 mask |= POLLHUP; in datagram_poll() 778 mask |= POLLHUP; in datagram_poll()
|
/linux-4.1.27/drivers/media/ |
D | media-devnode.c | 113 return POLLERR | POLLHUP; in media_poll()
|
/linux-4.1.27/net/bluetooth/ |
D | af_bluetooth.c | 428 mask |= POLLHUP; in bt_sock_poll() 434 mask |= POLLHUP; in bt_sock_poll()
|
/linux-4.1.27/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 | 2474 mask |= POLLHUP; in n_tty_poll() 2476 mask |= POLLHUP; in n_tty_poll() 2477 if (!(mask & (POLLHUP | POLLIN | POLLRDNORM))) { in n_tty_poll()
|
D | n_gsm.c | 2487 mask |= POLLHUP; in gsmld_poll() 2491 mask |= POLLHUP; in gsmld_poll()
|
D | tty_io.c | 441 return POLLIN | POLLOUT | POLLERR | POLLHUP | POLLRDNORM | POLLWRNORM; in hung_up_tty_poll()
|
/linux-4.1.27/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.1.27/drivers/usb/misc/ |
D | iowarrior.c | 696 return POLLERR | POLLHUP; in iowarrior_poll() 702 return POLLERR | POLLHUP; in iowarrior_poll()
|
D | legousbtower.c | 518 return POLLERR | POLLHUP; in tower_poll()
|
D | ldusb.c | 435 return POLLERR | POLLHUP; in ld_usb_poll()
|
/linux-4.1.27/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.1.27/drivers/input/serio/ |
D | serio_raw.c | 250 mask = serio_raw->dead ? POLLHUP | POLLERR : POLLOUT | POLLWRNORM; in serio_raw_poll()
|
/linux-4.1.27/net/nfc/ |
D | llcp_sock.c | 564 mask |= POLLHUP; in llcp_sock_poll() 570 mask |= POLLHUP; in llcp_sock_poll()
|
/linux-4.1.27/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 435 mask |= POLLHUP; in goldfish_pipe_poll()
|
/linux-4.1.27/net/caif/ |
D | caif_socket.c | 926 wake_up_interruptible_poll(sk_sleep(sk), POLLERR|POLLHUP); in caif_release() 950 mask |= POLLHUP; in caif_poll()
|
/linux-4.1.27/net/unix/ |
D | af_unix.c | 2346 mask |= POLLHUP; in unix_poll() 2357 mask |= POLLHUP; in unix_poll() 2386 mask |= POLLHUP; in unix_dgram_poll() 2395 mask |= POLLHUP; in unix_dgram_poll()
|
/linux-4.1.27/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.1.27/drivers/staging/comedi/drivers/ |
D | serial2002.c | 134 POLLHUP | POLLERR)) { in serial2002_tty_read_poll_wait()
|
/linux-4.1.27/virt/kvm/ |
D | eventfd.c | 249 if (flags & POLLHUP) { in irqfd_wakeup()
|
/linux-4.1.27/tools/perf/ |
D | builtin-record.c | 498 if (perf_evlist__filter_pollfd(rec->evlist, POLLERR | POLLHUP) == 0) in __cmd_record()
|
D | builtin-trace.c | 2288 if (perf_evlist__filter_pollfd(evlist, POLLERR | POLLHUP) == 0) in trace__run()
|
/linux-4.1.27/net/phonet/ |
D | socket.c | 356 return POLLHUP; in pn_socket_poll()
|
/linux-4.1.27/drivers/char/ |
D | virtio_console.c | 992 return POLLHUP; in port_fops_poll() 1000 ret |= POLLHUP; in port_fops_poll()
|
/linux-4.1.27/net/irda/ |
D | af_irda.c | 1754 mask |= POLLHUP; in irda_poll() 1768 mask |= POLLHUP; in irda_poll()
|
/linux-4.1.27/net/9p/ |
D | trans_fd.c | 622 if (n < 0 || n & (POLLERR | POLLHUP | POLLNVAL)) { in p9_poll_mux()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 334 unsigned int res = POLLERR | POLLHUP; in v4l2_poll()
|
/linux-4.1.27/drivers/hid/usbhid/ |
D | hiddev.c | 442 return POLLERR | POLLHUP; in hiddev_poll()
|
/linux-4.1.27/net/dccp/ |
D | proto.c | 329 mask |= POLLHUP; in dccp_poll()
|
/linux-4.1.27/drivers/input/ |
D | joydev.c | 434 (joydev->exist ? 0 : (POLLHUP | POLLERR)); in joydev_poll()
|
D | mousedev.c | 762 mask = mousedev->exist ? POLLOUT | POLLWRNORM : POLLHUP | POLLERR; in mousedev_poll()
|
D | evdev.c | 592 mask = POLLHUP | POLLERR; in evdev_poll()
|
/linux-4.1.27/net/atm/ |
D | common.c | 664 mask |= POLLHUP; in vcc_poll()
|
/linux-4.1.27/drivers/usb/class/ |
D | cdc-wdm.c | 598 mask = POLLHUP | POLLERR; in wdm_poll()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-fileops.c | 804 return res | POLLHUP; in ivtv_v4l2_enc_poll()
|
/linux-4.1.27/net/iucv/ |
D | af_iucv.c | 1475 mask |= POLLHUP; in iucv_sock_poll() 1482 mask |= POLLHUP; in iucv_sock_poll()
|
/linux-4.1.27/drivers/media/radio/ |
D | radio-si476x.c | 1164 err = POLLHUP; in si476x_radio_fops_poll()
|
/linux-4.1.27/tools/perf/util/ |
D | evlist.c | 433 int pos = fdarray__add(&evlist->pollfd, fd, POLLIN | POLLERR | POLLHUP); in __perf_evlist__add_pollfd()
|
/linux-4.1.27/net/sunrpc/ |
D | rpc_pipe.c | 354 mask |= POLLERR | POLLHUP; in rpc_pipe_poll()
|
/linux-4.1.27/net/vmw_vsock/ |
D | af_vsock.c | 862 mask |= POLLHUP; in vsock_poll()
|
/linux-4.1.27/fs/proc/ |
D | proc_sysctl.c | 591 return POLLERR | POLLHUP; in proc_sys_poll()
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
D | inode.c | 1215 mask = POLLHUP; in ep0_poll()
|
/linux-4.1.27/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.1.27/drivers/media/usb/gspca/ |
D | gspca.c | 1890 ret |= POLLHUP; in dev_poll()
|
/linux-4.1.27/drivers/usb/core/ |
D | devio.c | 2358 mask |= POLLERR | POLLHUP; in usbdev_poll()
|
/linux-4.1.27/net/ipv4/ |
D | tcp.c | 496 mask |= POLLHUP; in tcp_poll()
|
/linux-4.1.27/drivers/net/ppp/ |
D | ppp_generic.c | 527 mask |= POLLHUP; in ppp_poll()
|
/linux-4.1.27/net/tipc/ |
D | socket.c | 644 mask = (POLLIN | POLLRDNORM | POLLHUP); in tipc_poll()
|
/linux-4.1.27/drivers/scsi/ |
D | sg.c | 1165 res |= POLLHUP; in sg_poll()
|
/linux-4.1.27/mm/ |
D | memcontrol.c | 4049 if (flags & POLLHUP) { in memcg_event_wake()
|
/linux-4.1.27/net/sctp/ |
D | socket.c | 6463 mask |= POLLHUP; in sctp_poll()
|
/linux-4.1.27/kernel/events/ |
D | core.c | 3918 unsigned int events = POLLHUP; in perf_poll()
|