Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gnss/sirf.c sirf_receive_buf() -> gnss_insert_raw()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 count 1-u32max
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 count $2
LOCK2 &buf->lock
LOCK2 &data->gdev_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct sirf_data)->gdev_mutex
TYPE_LOCK (struct tty_bufhead)->lock

drivers/net/ethernet/intel/ice/ice_gnss.c ice_gnss_read() -> gnss_insert_raw()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 count 1-u32max
BUF_SIZE 1 buf 4096
BUF_SIZE 1 buf 4096
DATA_SOURCE 1 buf r _kzalloc_noprof

drivers/gnss/serial.c gnss_serial_receive_buf() -> gnss_insert_raw()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 count 1-u32max
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 count $2
LOCK2 &buf->lock
LOCK2 &pool->lock
TYPE_LOCK (struct tty_bufhead)->lock

drivers/gnss/usb.c gnss_usb_rx_complete() -> gnss_insert_raw()

Type Parameter Key Value
PARAM_VALUE 2 count 1-s32max,18446744071562067968-u64max
BUF_SIZE 1 buf s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 count 1-s32max[c][u]
NO_OVERFLOW_SIMPLE 2 count
UNITS 1 buf unit_byte
UNITS 2 count unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/wwan/wwan_core.c wwan_port_rx() -> gnss_insert_raw()

Type Parameter Key Value
BUF_SIZE 1 buf 1-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 buf unit_byte
UNITS 2 count unit_byte
HALF_LOCKED2 &desc->iuspin
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port->ops_lock
HALF_LOCKED2 flags