Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hv/ring_buffer.c hv_ringbuffer_write() -> hv_copyto_ringbuffer()

Type Parameter Key Value
PARAM_VALUE 0 ring_info 4096-ptr_max
PARAM_VALUE 0 ring_info->ring_buffer 4096-ptr_max
BUF_SIZE 0 ring_info 272
BUF_SIZE 2 src s32min-(-2),1-s32max
CAPPED_DATA 0 ring_info->ring_buffer->read_index 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 2 src unit_byte
UNITS 3 srclen unit_byte
LOCK2 flags
LOCK2 0 &ring_info->ring_lock
TYPE_LOCK (struct hv_ring_buffer_info)->ring_lock

drivers/hv/ring_buffer.c hv_ringbuffer_write() -> hv_copyto_ringbuffer()

Type Parameter Key Value
PARAM_VALUE 0 ring_info 4096-ptr_max
PARAM_VALUE 0 ring_info->ring_buffer 4096-ptr_max
PARAM_VALUE 2 src 3686527750794174464
PARAM_VALUE 3 srclen 8
BUF_SIZE 0 ring_info 272
BUF_SIZE 2 src 8
CAPPED_DATA 0 ring_info->ring_buffer->read_index 1
CAPPED_DATA 0 ring_info->ring_datasize 1
DATA_SOURCE 1 start_write_offset r hv_copyto_ringbuffer
PARAM_COMPARE 1 start_write_offset == $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 3 srclen unit_byte
LOCK2 flags
LOCK2 0 &ring_info->ring_lock
TYPE_LOCK (struct hv_ring_buffer_info)->ring_lock