Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sctp/stream.c sctp_process_strreset_addstrm_in() -> sctp_stream_alloc_out()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 2 gfp 2080
BUF_SIZE 0 stream 64
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 stream->outcnt 0-u16max[c]
USER_DATA 1 outcnt 0-u16max
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

net/sctp/stream.c sctp_send_add_streams() -> sctp_stream_alloc_out()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 2 gfp 3264
BUF_SIZE 0 stream 64
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 outcnt 0-u16max
LOCK2 sk

net/sctp/stream.c sctp_stream_init() -> sctp_stream_alloc_out()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 2 gfp 0,8192-u32max
CAPPED_DATA 0 stream->outcnt 1
DATA_SOURCE 0 stream $0
DATA_SOURCE 1 outcnt $1
DATA_SOURCE 2 gfp $3 [m]
PARAM_COMPARE 1 outcnt != $0->outcnt
BIT_INFO 2 gfp 0x2000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 outcnt 0-u16max[c]