Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/relay.c relay_file_read() -> relay_file_read_consume()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->chan 4096-ptr_max
PARAM_VALUE 0 buf->padding 4096-ptr_max
PARAM_VALUE 2 bytes_consumed 1-2147479552
BUF_SIZE 0 buf s32min-(-2),1-s32max
BUF_SIZE 0 buf s32min-(-2),1-s32max
CAPPED_DATA 0 buf->offset 1
CAPPED_DATA 2 bytes_consumed 1
DATA_SOURCE 1 read_pos r relay_file_read_start_pos
NOCHECK_CALL
USER_DATA 2 bytes_consumed 2-1000000000[c]

kernel/relay.c relay_file_read_avail() -> relay_file_read_consume()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->chan 4096-ptr_max
PARAM_VALUE 1 read_pos 0
PARAM_VALUE 2 bytes_consumed 0
BUF_SIZE 0 buf s32min-(-2),1-s32max
BUF_SIZE 0 buf s32min-(-2),1-s32max
DATA_SOURCE 0 buf $0
NOCHECK_CALL