Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/syscall.c link_update() -> (struct bpf_link_ops)->update_prog()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->ops 4096-ptr_max
PARAM_VALUE 0 link->ops->update_map 0
PARAM_VALUE 0 link->ops->update_prog 4096-ptr_max
PARAM_VALUE 1 new_prog 4096-ptr_max
PARAM_VALUE 2 old_prog 0,4096-ptr_max
BUF_SIZE 0 link s32min-(-2),1-s32max
BUF_SIZE 0 link s32min-(-2),1-s32max
BUF_SIZE 1 new_prog s32min-(-2),1-s32max
BUF_SIZE 1 new_prog s32min-(-2),1-s32max
BUF_SIZE 2 old_prog s32min-(-2),0-s32max
BUF_SIZE 2 old_prog s32min-(-2),0-s32max
DATA_SOURCE 0 link r bpf_link_get_from_fd
DATA_SOURCE 1 new_prog r bpf_prog_get
CONTAINER 0 -32-16+0 $(-1)