Home
last modified time | relevance | path

Searched refs:poll (Results 51 - 75 of 1773) sorted by relevance

12345678910>>...71

/kernel/linux/linux-6.6/include/media/
H A Dmedia-devnode.h19 #include <linux/poll.h>
39 * @poll: pointer to the function that implements poll() syscall
51 __poll_t (*poll) (struct file *, struct poll_table_struct *); member
/kernel/linux/linux-6.6/tools/leds/
H A Dled_hw_brightness_mon.c17 #include <poll.h>
50 * but it is required to avoid spurious poll notifications in in main()
59 ret = poll(&pollfd, 1, -1); in main()
61 printf("Failed to poll %s file (%d)\n", in main()
/kernel/linux/linux-5.10/drivers/vhost/
H A Dnet.c134 struct vhost_poll poll[VHOST_NET_VQ_MAX]; member
405 vhost_poll_queue(&vq->poll); in vhost_zerocopy_callback()
426 struct vhost_poll *poll = n->poll + (nvq - n->vqs); in vhost_net_disable_vq() local
429 vhost_poll_stop(poll); in vhost_net_disable_vq()
437 struct vhost_poll *poll = n->poll + (nvq - n->vqs); in vhost_net_enable_vq() local
444 return vhost_poll_start(poll, sock->file); in vhost_net_enable_vq()
511 vhost_poll_queue(&vq->poll); in vhost_net_busy_poll_try_queue()
514 vhost_poll_queue(&vq->poll); in vhost_net_busy_poll_try_queue()
[all...]
/kernel/linux/linux-5.10/drivers/staging/octeon/
H A Dethernet-mdio.c95 if (priv->poll) in cvm_oct_adjust_link()
96 priv->poll(dev); in cvm_oct_adjust_link()
117 priv->poll = NULL; in cvm_oct_common_stop()
/kernel/linux/linux-6.6/drivers/staging/octeon/
H A Dethernet-mdio.c95 if (priv->poll) in cvm_oct_adjust_link()
96 priv->poll(dev); in cvm_oct_adjust_link()
117 priv->poll = NULL; in cvm_oct_common_stop()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dpcl816.c107 unsigned int ai_poll_ptr; /* how many sampes transfer poll */
456 unsigned int poll; in pcl816_ai_poll() local
461 poll = comedi_isadma_poll(dma); in pcl816_ai_poll()
462 poll = comedi_bytes_to_samples(s, poll); in pcl816_ai_poll()
463 if (poll > devpriv->ai_poll_ptr) { in pcl816_ai_poll()
467 poll - devpriv->ai_poll_ptr); in pcl816_ai_poll()
469 devpriv->ai_poll_ptr = poll; in pcl816_ai_poll()
642 s->poll = pcl816_ai_poll; in pcl816_attach()
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Dpcl816.c105 unsigned int ai_poll_ptr; /* how many sampes transfer poll */
454 unsigned int poll; in pcl816_ai_poll() local
459 poll = comedi_isadma_poll(dma); in pcl816_ai_poll()
460 poll = comedi_bytes_to_samples(s, poll); in pcl816_ai_poll()
461 if (poll > devpriv->ai_poll_ptr) { in pcl816_ai_poll()
465 poll - devpriv->ai_poll_ptr); in pcl816_ai_poll()
467 devpriv->ai_poll_ptr = poll; in pcl816_ai_poll()
640 s->poll = pcl816_ai_poll; in pcl816_attach()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_minidump.c447 "Timed out, aborting poll CRB\n"); in qlcnic_dump_ctrl()
910 struct __pollrdmwr *poll = &entry->region.pollrdmwr; in qlcnic_read_pollrdmwr() local
913 poll_wait = poll->poll_wait; in qlcnic_read_pollrdmwr()
915 qlcnic_ind_wr(adapter, poll->addr1, poll->val1); in qlcnic_read_pollrdmwr()
919 data = qlcnic_ind_rd(adapter, poll->addr1); in qlcnic_read_pollrdmwr()
920 if ((data & poll->poll_mask) != 0) in qlcnic_read_pollrdmwr()
932 data = qlcnic_ind_rd(adapter, poll->addr2) & poll->mod_mask; in qlcnic_read_pollrdmwr()
933 qlcnic_ind_wr(adapter, poll in qlcnic_read_pollrdmwr()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_minidump.c447 "Timed out, aborting poll CRB\n"); in qlcnic_dump_ctrl()
910 struct __pollrdmwr *poll = &entry->region.pollrdmwr; in qlcnic_read_pollrdmwr() local
913 poll_wait = poll->poll_wait; in qlcnic_read_pollrdmwr()
915 qlcnic_ind_wr(adapter, poll->addr1, poll->val1); in qlcnic_read_pollrdmwr()
919 data = qlcnic_ind_rd(adapter, poll->addr1); in qlcnic_read_pollrdmwr()
920 if ((data & poll->poll_mask) != 0) in qlcnic_read_pollrdmwr()
932 data = qlcnic_ind_rd(adapter, poll->addr2) & poll->mod_mask; in qlcnic_read_pollrdmwr()
933 qlcnic_ind_wr(adapter, poll in qlcnic_read_pollrdmwr()
[all...]
/kernel/linux/linux-6.6/drivers/vhost/
H A Dnet.c135 struct vhost_poll poll[VHOST_NET_VQ_MAX]; member
408 vhost_poll_queue(&vq->poll); in vhost_zerocopy_callback()
429 struct vhost_poll *poll = n->poll + (nvq - n->vqs); in vhost_net_disable_vq() local
432 vhost_poll_stop(poll); in vhost_net_disable_vq()
440 struct vhost_poll *poll = n->poll + (nvq - n->vqs); in vhost_net_enable_vq() local
447 return vhost_poll_start(poll, sock->file); in vhost_net_enable_vq()
514 vhost_poll_queue(&vq->poll); in vhost_net_busy_poll_try_queue()
517 vhost_poll_queue(&vq->poll); in vhost_net_busy_poll_try_queue()
[all...]
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/
H A Dtrace-agent-ctl.c12 #include <poll.h>
57 ret = poll(&poll_fd, 1, EVENT_WAIT_MSEC); in wait_order()
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
H A Dpidfd_poll_test.c6 #include <poll.h>
44 ksft_print_msg("running pidfd poll test for %d iterations\n", in main()
86 nevents = poll(&fds, 1, -1); in main()
90 ksft_exit_fail_msg("%s - poll failed\n", in main()
94 ksft_exit_fail_msg("unexpected poll result: %d\n", in main()
114 ksft_test_result_pass("pidfd poll test: pass\n"); in main()
/kernel/linux/linux-5.10/tools/gpio/
H A Dgpio-watch.c15 #include <poll.h>
59 ret = poll(&pfd, 1, 5000); in main()
/kernel/linux/linux-5.10/include/sound/
H A Dhwdep.h11 #include <linux/poll.h>
25 __poll_t (*poll)(struct snd_hwdep *hw, struct file *file, member
/kernel/linux/linux-5.10/include/xen/interface/io/
H A Dpvcalls.h8 /* "1" means socket, connect, release, bind, listen, accept and poll */
76 } poll; member
111 } poll; member
/kernel/linux/linux-6.6/drivers/rpmsg/
H A Drpmsg_internal.h16 #include <linux/poll.h>
57 * @poll: see @rpmsg_poll(), optional
77 __poll_t (*poll)(struct rpmsg_endpoint *ept, struct file *filp, member
/kernel/linux/linux-6.6/include/xen/interface/io/
H A Dpvcalls.h10 /* "1" means socket, connect, release, bind, listen, accept and poll */
78 } poll; member
113 } poll; member
/kernel/linux/linux-6.6/include/sound/
H A Dhwdep.h11 #include <linux/poll.h>
25 __poll_t (*poll)(struct snd_hwdep *hw, struct file *file, member
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dwait_inotify.c13 #include <poll.h>
62 * poll waiting loop in main()
65 int ret = poll(&fds, 1, 10000); in main()
70 perror("poll"); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/
H A Dpidfd_poll_test.c6 #include <poll.h>
44 ksft_print_msg("running pidfd poll test for %d iterations\n", in main()
86 nevents = poll(&fds, 1, -1); in main()
90 ksft_exit_fail_msg("%s - poll failed\n", in main()
94 ksft_exit_fail_msg("unexpected poll result: %d\n", in main()
114 ksft_test_result_pass("pidfd poll test: pass\n"); in main()
/kernel/linux/linux-6.6/tools/virtio/virtio-trace/
H A Dtrace-agent-ctl.c12 #include <poll.h>
57 ret = poll(&poll_fd, 1, EVENT_WAIT_MSEC); in wait_order()
/kernel/linux/linux-6.6/tools/gpio/
H A Dgpio-watch.c15 #include <poll.h>
59 ret = poll(&pfd, 1, 5000); in main()
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dbq24735-charger.c53 struct delayed_work poll; member
244 struct bq24735 *charger = container_of(work, struct bq24735, poll.work); in bq24735_poll()
248 schedule_delayed_work(&charger->poll, in bq24735_poll()
470 ret = device_property_read_u32(&client->dev, "poll-interval", in bq24735_charger_probe()
477 INIT_DELAYED_WORK(&charger->poll, bq24735_poll); in bq24735_charger_probe()
478 schedule_delayed_work(&charger->poll, in bq24735_charger_probe()
490 cancel_delayed_work_sync(&charger->poll); in bq24735_charger_remove()
/kernel/linux/linux-5.10/fs/
H A Dselect.c3 * This file contains the procedures for the handling of select and poll
24 #include <linux/poll.h>
114 * work. poll_wait() is an inline-function defined in <linux/poll.h>,
115 * as all select/poll functions have to call it to add an entry to the
116 * poll table.
851 * pwait poll_table will be used by the fd-provided poll handler for waiting,
1048 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
1049 int nfds = restart_block->poll.nfds; in do_restart_poll()
1053 if (restart_block->poll.has_timeout) { in do_restart_poll()
1054 end_time.tv_sec = restart_block->poll in do_restart_poll()
[all...]
/kernel/linux/linux-6.6/fs/
H A Dselect.c3 * This file contains the procedures for the handling of select and poll
25 #include <linux/poll.h>
115 * work. poll_wait() is an inline-function defined in <linux/poll.h>,
116 * as all select/poll functions have to call it to add an entry to the
117 * poll table.
852 * pwait poll_table will be used by the fd-provided poll handler for waiting,
1049 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
1050 int nfds = restart_block->poll.nfds; in do_restart_poll()
1054 if (restart_block->poll.has_timeout) { in do_restart_poll()
1055 end_time.tv_sec = restart_block->poll in do_restart_poll()
[all...]

Completed in 22 milliseconds

12345678910>>...71