Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/ipv4/fib_frontend.c fib_compute_spec_dst() -> fib_result_prefsrc()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 res 2826639845108072448
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 bh

net/core/filter.c bpf_ipv4_fib_lookup() -> fib_result_prefsrc()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->user_ns 4096-ptr_max
PARAM_VALUE 1 res 7934135933787738112
PARAM_VALUE 1 res->fi 4096-ptr_max
PARAM_VALUE 1 res->nhc 4096-ptr_max
PARAM_VALUE 1 res->type 1
DATA_SOURCE 0 net $0
UNITS 0 net unit_byte

net/ipv4/fib_semantics.c fib_select_path() -> fib_result_prefsrc()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fqdir->f->frag_expire 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560
PARAM_VALUE 0 net->ipv4.fqdir->f->qsize 0,304,320
PARAM_VALUE 0 net->loopback_dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 1 res 429988801965383680,4240960965415747584,7684502420953772032,7934135933787738112,8909405672440926208
PARAM_VALUE 1 res->table 4096-ptr_max
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
DATA_SOURCE 0 net $0
DATA_SOURCE 1 res $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &net->ipv4.mfc_mutex
HALF_LOCKED2 0 &net->ipv6.mfc_mutex
HALF_LOCKED2 0 &net->rtnl_mutex

net/ipv4/route.c ip_rt_get_source() -> fib_result_prefsrc()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 res 7985481728897236992
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
LOCK2 rcu_read