Defined in 1 files as a function:
Referenced in 15 files:
- drivers/hv/mshv_eventfd.c, line 517
- drivers/hv/mshv_vtl_main.c, line 504
- drivers/vfio/virqfd.c, line 173
- drivers/vhost/vhost.c, line 221
- drivers/virt/acrn/irqfd.c, line 163
- drivers/xen/privcmd.c, line 1037
- fs/aio.c
- fs/eventpoll.c, line 1344
- fs/select.c
- io_uring/net.c, line 1845
- io_uring/poll.c
- io_uring/rw.c, line 47
- mm/memcontrol-v1.c, line 1219
- net/9p/trans_fd.c
- virt/kvm/eventfd.c, line 481
Smatch caller information:
drivers/vhost/vhost.c vhost_poll_start() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pt | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &n->dev.mutex | ||
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
fs/aio.c aio_poll() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pt | 970853541726388224 |
| PARAM_VALUE | 1 | pt->_key | 0,16-u32max |
| PARAM_VALUE | 1 | pt->_qproc | 582418133348286464 |
| USER_DATA | 1 | pt->_key | 0,16-u32max[c] |
fs/aio.c aio_poll_complete_work() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pt | 735018427947245568 |
| PARAM_VALUE | 1 | pt->_qproc | 0 |
| HALF_LOCKED2 | &pool->lock |
net/9p/trans_fd.c p9_fd_poll() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pt->_key | u32max |
| PARAM_VALUE | 1 | pt->_qproc | 2909568929927892992 |
| DATA_SOURCE | 1 | pt | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/9p/trans_fd.c p9_fd_poll() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pt->_key | u32max |
| PARAM_VALUE | 1 | pt->_qproc | 2909568929927892992 |
| DATA_SOURCE | 1 | pt | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/virt/acrn/irqfd.c acrn_irqfd_assign() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
| PARAM_VALUE | 1 | pt | 4096-ptr_max |
| PARAM_VALUE | 1 | pt->_key | u32max |
| PARAM_VALUE | 1 | pt->_qproc | 6425179339158061056 |
| LOCK2 | &vm->irqfds_lock | ||
| TYPE_LOCK | (struct acrn_vm)->irqfds_lock |
arch/x86/kvm/../../../virt/kvm/eventfd.c kvm_irqfd_assign() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
| PARAM_VALUE | 1 | pt | 5947951813530587152 |
| PARAM_VALUE | 1 | pt->_key | u32max |
| PARAM_VALUE | 1 | pt->_qproc | 4945306081180151808 |
| LOCK2 | &kvm->irq_srcu | ||
| TYPE_LOCK | (struct kvm)->irq_srcu |
io_uring/poll.c __io_arm_poll_handler() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pt | 4019014857396924416,8033332501089599488 |
| PARAM_VALUE | 1 | pt->_qproc | 1830280485473198080,2529094115975888896 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
io_uring/poll.c io_poll_check_events() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pt | 9214545188766470144 |
| PARAM_VALUE | 1 | pt->_qproc | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | _T->lock |
io_uring/net.c io_connect() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pt | 8137840875386396672 |
| PARAM_VALUE | 1 | pt->_key | 8 |
| PARAM_VALUE | 1 | pt->_qproc | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/xen/privcmd.c privcmd_irqfd_assign() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
| PARAM_VALUE | 1 | pt | 4096-ptr_max |
| PARAM_VALUE | 1 | pt->_key | u32max |
| PARAM_VALUE | 1 | pt->_qproc | 4386842569749114880 |
| LOCK2 | global &irqfds_srcu |
drivers/vfio/virqfd.c vfio_virqfd_enable() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
| PARAM_VALUE | 1 | pt | 4096-ptr_max |
| PARAM_VALUE | 1 | pt->_key | u32max |
| PARAM_VALUE | 1 | pt->_qproc | 7587862593359208448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vdev->igate | ||
| HALF_LOCKED2 | &vdev->ioeventfds_lock |
fs/eventpoll.c ep_item_poll() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 0-4951850187764506623,4951850187764506625-u64max |
| PARAM_VALUE | 1 | pt | 775733609802461184,2126898034466557952,3824320234437623808,3975095308152500224 |
| PARAM_VALUE | 1 | pt->_qproc | 0,2312610447633252352 |
| DATA_SOURCE | 0 | file | r epi_fget |
| DATA_SOURCE | 1 | pt | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pt->_key | 0,8-u32max |
| HALF_LOCKED2 | &ep->mtx |
fs/select.c do_pollfd() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
| PARAM_VALUE | 1 | pt | 7373227645283729408 |
| PARAM_VALUE | 1 | pt->_key | 0,16-u32max |
| PARAM_VALUE | 1 | pt->_qproc | 0,5509171705170616320 |
| BUF_SIZE | 1 | pt | 16 |
| DATA_SOURCE | 1 | pt | $1 |
| BIT_INFO | 1 | pt->_key | 0x18,0xffffffff |
| BIT_INFO | 1 | pt->_qproc | 0x0,0x4c74827a1d53e000 |
| TASK_NOT_RUNNING |
fs/select.c select_poll_one() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
| PARAM_VALUE | 1 | pt | 5472551433901768704 |
| PARAM_VALUE | 1 | pt->_key | 34,251,814,1023,32802,33019,33582,33791 |
| PARAM_VALUE | 1 | pt->_qproc | 0,5509171705170616320 |
| BUF_SIZE | 1 | pt | 16 |
| DATA_SOURCE | 1 | pt | $1 |
| FUZZY_MAX | 1 | pt->_key | 32802 |
| BIT_INFO | 1 | pt->_key | 0x22,0x83ff |
| BIT_INFO | 1 | pt->_qproc | 0x0,0x4c74827a1d53e000 |
| TASK_NOT_RUNNING |
io_uring/rw.c io_file_supports_nowait() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_iocb_flags | 0-s32max |
| PARAM_VALUE | 1 | pt | 1617918558982373376 |
| PARAM_VALUE | 1 | pt->_key | 1,4 |
| PARAM_VALUE | 1 | pt->_qproc | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/memcontrol-v1.c memcg_write_event_control() -> vfs_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
| PARAM_VALUE | 1 | pt | 4096-ptr_max |
| PARAM_VALUE | 1 | pt->_key | u32max |
| PARAM_VALUE | 1 | pt->_qproc | 4007942201453776896 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |