Defined in 3 files as a member:

Defined in 2 files as a function:

Referenced in 42 files:

Smatch caller information:

drivers/tty/tty_buffer.c flush_to_ldisc() -> receive_buf()

Type Parameter Key Value
PARAM_VALUE 0 vi 4096-ptr_max
PARAM_VALUE 0 vi->buf.lock.dep_map->name 0-255
PARAM_VALUE 0 vi->buf.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vi->buf.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vi->buf.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vi->buf.lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 vi->buf.lock.wait_lock.owner (-1)
PARAM_VALUE 0 vi->buf.lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 vi->buf.priority.counter 0
PARAM_VALUE 0 vi->client_ops->receive_buf 0,4096-ptr_max
PARAM_VALUE 1 rq 4096-ptr_max
PARAM_VALUE 2 buf 1-u32max
UNITS 2 buf unit_byte
LOCK2 &buf->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tty_bufhead)->lock

drivers/net/virtio_net.c virtnet_receive_packets() -> receive_buf()

Type Parameter Key Value
PARAM_VALUE 0 vi 4096-ptr_max
PARAM_VALUE 1 rq 4096-ptr_max
PARAM_VALUE 1 rq->page_pool 1-u64max
PARAM_VALUE 1 rq->page_pool->p.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 1 rq->vq 4096-ptr_max
PARAM_VALUE 1 rq->vq->vdev 4096-ptr_max
PARAM_VALUE 1 rq->vq->vdev->priv 4096-ptr_max
PARAM_VALUE 1 rq->xsk_pool 0
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 5 xdp_xmit 8103674783210405888
PARAM_VALUE 6 stats 7118534626228477952
BUF_SIZE 0 vi s32min-(-2),1-s32max
BUF_SIZE 0 vi s32min-(-2),1-s32max
CAPPED_DATA 1 rq->vq->vdev->priv->dev->num_tx_queues 1
DATA_SOURCE 0 vi $0
DATA_SOURCE 1 rq $1
DATA_SOURCE 2 buf r virtnet_rq_get_buf
DATA_SOURCE 5 xdp_xmit $3
DATA_SOURCE 6 stats $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 len 0-u32max
UNITS 0 vi unit_byte
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/virtio_net.c virtnet_receive_packets() -> receive_buf()

Type Parameter Key Value
PARAM_VALUE 0 vi 4096-ptr_max
PARAM_VALUE 1 rq 4096-ptr_max
PARAM_VALUE 1 rq->page_pool 0
PARAM_VALUE 1 rq->page_pool->dma_mapped.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 rq->page_pool->mp_priv->fired_notifs 0-4294967295
PARAM_VALUE 1 rq->page_pool->p.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 1 rq->page_pool->p.dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 1 rq->page_pool->p.dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 1 rq->page_pool->p.dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 1 rq->page_pool->p.dev->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 1 rq->page_pool->p.dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 1 rq->page_pool->p.dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 1 rq->page_pool->p.dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 1 rq->page_pool->p.dev->iommu->attach_deferred 0-1
PARAM_VALUE 1 rq->page_pool->p.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 rq->page_pool->ring.producer s32min-2147483646
PARAM_VALUE 1 rq->page_pool->ring.producer_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 rq->vq 4096-ptr_max
PARAM_VALUE 1 rq->vq->vdev 4096-ptr_max
PARAM_VALUE 1 rq->vq->vdev->priv 4096-ptr_max
PARAM_VALUE 1 rq->xsk_pool 0
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 4 ctx 0
PARAM_VALUE 5 xdp_xmit 8103674783210405888
PARAM_VALUE 6 stats 7118534626228477952
BUF_SIZE 0 vi s32min-(-2),1-s32max
BUF_SIZE 0 vi s32min-(-2),1-s32max
CAPPED_DATA 1 rq->vq->vdev->priv->dev->num_tx_queues 1
DATA_SOURCE 0 vi $0
DATA_SOURCE 1 rq $1
DATA_SOURCE 2 buf r virtqueue_get_buf
DATA_SOURCE 5 xdp_xmit $3
DATA_SOURCE 6 stats $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 len 0-u32max
UNITS 0 vi unit_byte
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

Smatch assignments to (struct serdev_device_ops)->receive_buf:

drivers/platform/chrome/cros_ec_uart.c (null)() -> (struct serdev_device_ops)->receive_buf [5983101076045496320]

drivers/nfc/s3fwrn5/uart.c (null)() -> (struct serdev_device_ops)->receive_buf [203541471699496960]

drivers/net/ethernet/qualcomm/qca_uart.c (null)() -> (struct serdev_device_ops)->receive_buf [7702187835582255104]

drivers/greybus/gb-beagleplay.c (null)() -> (struct serdev_device_ops)->receive_buf [6762955179724025856]

drivers/platform/surface/aggregator/core.c (null)() -> (struct serdev_device_ops)->receive_buf [5431779133891813376]

drivers/bluetooth/btmtkuart.c (null)() -> (struct serdev_device_ops)->receive_buf [1862162630267158528]

drivers/gnss/sirf.c (null)() -> (struct serdev_device_ops)->receive_buf [4982701100612853760]

drivers/iio/chemical/pms7003.c (null)() -> (struct serdev_device_ops)->receive_buf [531992255602933760]

drivers/iio/imu/bno055/bno055_ser_core.c (null)() -> (struct serdev_device_ops)->receive_buf [8528291542197477376]

drivers/mfd/rave-sp.c (null)() -> (struct serdev_device_ops)->receive_buf [6157376904051994624]

drivers/bluetooth/hci_serdev.c (null)() -> (struct serdev_device_ops)->receive_buf [6652616960073814016]

drivers/iio/chemical/scd30_serial.c (null)() -> (struct serdev_device_ops)->receive_buf [9020817032639873024]

drivers/nfc/pn533/uart.c (null)() -> (struct serdev_device_ops)->receive_buf [153334280962523136]

drivers/iio/chemical/mhz19b.c (null)() -> (struct serdev_device_ops)->receive_buf [6489491870112886784]

drivers/gnss/serial.c (null)() -> (struct serdev_device_ops)->receive_buf [3873564873207439360]

drivers/platform/x86/lenovo/yoga-tab2-pro-1380-fastcharger.c (null)() -> (struct serdev_device_ops)->receive_buf [8569836447655514112]

sound/drivers/serial-generic.c (null)() -> (struct serdev_device_ops)->receive_buf [8471505819595698176]

drivers/bluetooth/btnxpuart.c (null)() -> (struct serdev_device_ops)->receive_buf [5764393988411535360]

drivers/w1/masters/w1-uart.c (null)() -> (struct serdev_device_ops)->receive_buf [4249537772221820928]

drivers/mfd/qnap-mcu.c (null)() -> (struct serdev_device_ops)->receive_buf [5463344286941741056]

drivers/platform/x86/dell/dell-uart-backlight.c (null)() -> (struct serdev_device_ops)->receive_buf [7017466109709639680]

drivers/iio/chemical/sps30_serial.c (null)() -> (struct serdev_device_ops)->receive_buf [8832694931230724096]