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 tty_ldisc_ops)->receive_buf:

drivers/net/ppp/ppp_synctty.c (null)() -> (struct tty_ldisc_ops)->receive_buf [863650429895237632]

drivers/bluetooth/hci_ldisc.c (null)() -> (struct tty_ldisc_ops)->receive_buf [7524111012757946368]

drivers/tty/n_gsm.c (null)() -> (struct tty_ldisc_ops)->receive_buf [5511623566535004160]

drivers/tty/n_hdlc.c (null)() -> (struct tty_ldisc_ops)->receive_buf [2078342870124490752]

net/nfc/nci/uart.c (null)() -> (struct tty_ldisc_ops)->receive_buf [5505425873060864000]

drivers/net/mctp/mctp-serial.c (null)() -> (struct tty_ldisc_ops)->receive_buf [3719009552977928192]

drivers/pps/clients/pps-ldisc.c (null)() -> (struct tty_ldisc_ops)->receive_buf [0]

drivers/pps/clients/pps-ldisc.c pps_tty_init() -> (struct tty_ldisc_ops)->receive_buf [min-max]

drivers/net/slip/slip.c (null)() -> (struct tty_ldisc_ops)->receive_buf [5384882027191533568]

drivers/accessibility/speakup/spk_ttyio.c (null)() -> (struct tty_ldisc_ops)->receive_buf [0]

drivers/input/serio/serport.c (null)() -> (struct tty_ldisc_ops)->receive_buf [2870195947955908608]

drivers/tty/n_tty.c (null)() -> (struct tty_ldisc_ops)->receive_buf [8036454209430331392]

drivers/net/ppp/ppp_async.c (null)() -> (struct tty_ldisc_ops)->receive_buf [6842653888744632320]

drivers/tty/n_null.c (null)() -> (struct tty_ldisc_ops)->receive_buf [0]

drivers/net/can/can327.c (null)() -> (struct tty_ldisc_ops)->receive_buf [8252149016711823360]

sound/soc/codecs/cx20442.c (null)() -> (struct tty_ldisc_ops)->receive_buf [7284813956497960960]

drivers/net/can/slcan/slcan-core.c (null)() -> (struct tty_ldisc_ops)->receive_buf [3477648210897666048]

sound/soc/ti/ams-delta.c (null)() -> (struct tty_ldisc_ops)->receive_buf [3963702553079197696]