Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ipv4/tcp_ipv4.c bpf_iter_tcp_established_batch() -> seq_sk_match()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 0 seq->private 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
DATA_SOURCE 0 seq $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-11442450941
LOCK2 0 &seq->lock
TYPE_LOCK (struct seq_file)->lock

net/ipv4/tcp_ipv4.c bpf_iter_tcp_listening_batch() -> seq_sk_match()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 0 seq->private 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
DATA_SOURCE 0 seq $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-11442450941
LOCK2 0 &seq->lock
TYPE_LOCK (struct seq_file)->lock

net/ipv4/tcp_ipv4.c established_get_first() -> seq_sk_match()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 0 seq->private 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
DATA_SOURCE 0 seq $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-13442450941
NO_OVERFLOW_SIMPLE 0 seq->size
LOCK2 bh
LOCK2 lock
LOCK2 0 &seq->lock
HALF_LOCKED2 lock
TYPE_LOCK (struct seq_file)->lock

net/ipv4/tcp_ipv4.c established_get_next() -> seq_sk_match()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 0 seq->private 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
DATA_SOURCE 0 seq $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-13442450941
LOCK2 0 &seq->lock
HALF_LOCKED2 lock
TYPE_LOCK (struct seq_file)->lock

net/ipv4/tcp_ipv4.c listening_get_first() -> seq_sk_match()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 0 seq->private 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
DATA_SOURCE 0 seq $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-11442450941
NO_OVERFLOW_SIMPLE 0 seq->size
LOCK2 &ilb2->lock
LOCK2 0 &seq->lock
HALF_LOCKED2 &ilb2->lock
TYPE_LOCK (struct inet_listen_hashbucket)->lock
TYPE_LOCK (struct seq_file)->lock

net/ipv4/tcp_ipv4.c listening_get_next() -> seq_sk_match()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 0 seq->private 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
DATA_SOURCE 0 seq $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-13442450941
LOCK2 0 &seq->lock
HALF_LOCKED2 &ilb2->lock
TYPE_LOCK (struct seq_file)->lock

net/ipv4/udp.c bpf_iter_udp_batch() -> seq_sk_match()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 0 seq->private 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
DATA_SOURCE 0 seq $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-13442450941
LOCK2 &hslot2->lock
LOCK2 bh
LOCK2 0 &seq->lock
TYPE_LOCK (struct seq_file)->lock
TYPE_LOCK (struct udp_hslot)->lock

net/ipv4/udp.c udp_get_first() -> seq_sk_match()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 0 seq->private 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
DATA_SOURCE 0 seq $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-11442450941
LOCK2 &hslot->lock
LOCK2 bh
LOCK2 0 &seq->lock
TYPE_LOCK (struct seq_file)->lock
TYPE_LOCK (struct udp_hslot)->lock

net/ipv4/udp.c udp_get_next() -> seq_sk_match()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 0 seq->private 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 sk r sk_next
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-13442450941
LOCK2 0 &seq->lock
TYPE_LOCK (struct seq_file)->lock