Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/core/filter.c sol_tcp_sockopt() -> do_tcp_getsockopt()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_family 2,10
PARAM_VALUE 0 sk->sk_protocol 6
PARAM_VALUE 0 sk->sk_type 1
PARAM_VALUE 1 level 6
PARAM_VALUE 2 optname 1-2,4-7,10,16,18,25,27,44
DATA_SOURCE 0 sk $0
DATA_SOURCE 2 optname $1
BIT_INFO 3 optval 0x0,0x0
BIT_INFO 4 optlen 0x0,0x0
UNITS 0 sk unit_byte

net/core/filter.c sol_tcp_sockopt_congestion() -> do_tcp_getsockopt()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_family 2,10
PARAM_VALUE 0 sk->sk_protocol 6
PARAM_VALUE 0 sk->sk_type 1
PARAM_VALUE 1 level 6
PARAM_VALUE 2 optname 13
DATA_SOURCE 0 sk $0
BIT_INFO 3 optval 0x0,0x0
BIT_INFO 4 optlen 0x0,0x0
UNITS 0 sk unit_byte

net/ipv4/tcp.c tcp_getsockopt() -> do_tcp_getsockopt()

Type Parameter Key Value
PARAM_VALUE 1 level 6
DATA_SOURCE 0 sk $0
DATA_SOURCE 1 level $1
DATA_SOURCE 2 optname $2
BIT_INFO 3 optval 0x0,0x0
BIT_INFO 4 optlen 0x0,0x0
RX_PATH
USER_DATA 2 optname s32min-s32max
UNITS 0 sk unit_byte
HALF_LOCKED2 sk