Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/states.c regsafe() -> regs_exact()

Type Parameter Key Value
PARAM_VALUE 2 idmap 4096-ptr_max
BUF_SIZE 0 rold (-1),80
BUF_SIZE 0 rold (-1),80
BUF_SIZE 1 rcur (-1),80
BUF_SIZE 1 rcur (-1),80
DATA_SOURCE 0 rold $1
DATA_SOURCE 1 rcur $2
DATA_SOURCE 2 idmap $3

kernel/bpf/states.c regsafe() -> regs_exact()

Type Parameter Key Value
PARAM_VALUE 0 rold 4096-ptr_max
PARAM_VALUE 0 rold->type 1-u32max
PARAM_VALUE 1 rcur 4096-ptr_max
PARAM_VALUE 1 rcur->type 1-u32max
PARAM_VALUE 2 idmap 4096-ptr_max
BUF_SIZE 0 rold (-1),80
BUF_SIZE 0 rold (-1),80
BUF_SIZE 1 rcur (-1),80
BUF_SIZE 1 rcur (-1),80
CAPPED_DATA 0 rold->type 1
CAPPED_DATA 1 rcur->type 1
DATA_SOURCE 0 rold $1
DATA_SOURCE 1 rcur $2
DATA_SOURCE 2 idmap $3
PARAM_COMPARE 1 rcur->type == $0->type

kernel/bpf/states.c regsafe() -> regs_exact()

Type Parameter Key Value
PARAM_VALUE 0 rold 4096-ptr_max
PARAM_VALUE 0 rold->type 1-u32max
PARAM_VALUE 1 rcur 4096-ptr_max
PARAM_VALUE 1 rcur->type 1-u32max
PARAM_VALUE 2 idmap 4096-ptr_max
BUF_SIZE 0 rold (-1),80
BUF_SIZE 0 rold (-1),80
BUF_SIZE 1 rcur (-1),80
BUF_SIZE 1 rcur (-1),80
CAPPED_DATA 0 rold->type 1
CAPPED_DATA 1 rcur->type 1
DATA_SOURCE 0 rold $1
DATA_SOURCE 1 rcur $2
DATA_SOURCE 2 idmap $3
PARAM_COMPARE 1 rcur->type == $0->type