Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ipv4/fib_frontend.c fib_lookup() -> __fib_lookup()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_has_custom_rules 1
PARAM_VALUE 1 flp 3126066341975281664,3378410442382344192
PARAM_VALUE 1 flp->__fl_common.flowic_dscp 0,4-252
PARAM_VALUE 1 flp->__fl_common.flowic_iif s32min-(-1),1-s32max
PARAM_VALUE 1 flp->__fl_common.flowic_scope 0
PARAM_VALUE 2 res 2602186971906322432,2826639845108072448
PARAM_VALUE 3 flags 1,3
DATA_SOURCE 0 net $0
DATA_SOURCE 1 flp $1
DATA_SOURCE 2 res $2
DATA_SOURCE 3 flags $3 [m]
BIT_INFO 3 flags 0x1,0x3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 flp->__fl_common.flowic_dscp 0,4-252[c]
UNITS 0 net unit_byte

drivers/infiniband/core/cma.c fib_lookup() -> __fib_lookup()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_has_custom_rules 1
PARAM_VALUE 1 flp 3184021617337679872
PARAM_VALUE 1 flp->daddr 1-4294967294
PARAM_VALUE 1 flp->saddr 1-4294967294
PARAM_VALUE 2 res 3163209054265364480
PARAM_VALUE 3 flags 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 flp $1
DATA_SOURCE 2 res $2
DATA_SOURCE 3 flags $3 [m]
MEM_ZERO 1 flp
TASK_NOT_RUNNING
LOCK2 global &lock
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

net/core/filter.c fib_lookup() -> __fib_lookup()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_has_custom_rules 1
PARAM_VALUE 0 net->user_ns 4096-ptr_max
PARAM_VALUE 1 flp 8899565637439016960
PARAM_VALUE 1 flp->__fl_common.flowic_dscp 0,4-252
PARAM_VALUE 1 flp->__fl_common.flowic_scope 0
PARAM_VALUE 2 res 7934135933787738112
PARAM_VALUE 3 flags 1
CAPPED_DATA 0 net->user_ns->uid_map.nr_extents 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 flp $1
DATA_SOURCE 2 res $2
DATA_SOURCE 3 flags $3 [m]
UNITS 0 net unit_byte

net/ipv4/fib_semantics.c fib_lookup() -> __fib_lookup()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_has_custom_rules 1
PARAM_VALUE 1 flp 7310024992303976448
PARAM_VALUE 1 flp->__fl_common.flowic_dscp 0
PARAM_VALUE 1 flp->__fl_common.flowic_iif 1
PARAM_VALUE 1 flp->__fl_common.flowic_scope 253-254
PARAM_VALUE 1 flp->saddr 0
PARAM_VALUE 2 res 2092853150581448704
PARAM_VALUE 3 flags 3
DATA_SOURCE 0 net $0
DATA_SOURCE 1 flp $1
DATA_SOURCE 2 res $2
DATA_SOURCE 3 flags $3 [m]
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 flp->__fl_common.flowic_oif s32min-s32max
USER_DATA 1 flp->__fl_common.flowic_scope 254[c]
USER_DATA 1 flp->daddr 0-u32max
UNITS 0 net unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/marvell/prestera/prestera_router.c fib_lookup() -> __fib_lookup()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 0 net->ipv4.fib_has_custom_rules 1
PARAM_VALUE 1 flp 5389390310833381376
PARAM_VALUE 2 res 2653457679283806208
PARAM_VALUE 3 flags 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 flp $1
DATA_SOURCE 2 res $2
DATA_SOURCE 3 flags $3 [m]
MEM_ZERO 1 flp
LOCK2 &pool->lock
LOCK2 global &rtnl_mutex

net/ipv4/netfilter/nft_fib_ipv4.c fib_lookup() -> __fib_lookup()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_has_custom_rules 1
PARAM_VALUE 1 flp 7300944142296932352
PARAM_VALUE 1 flp->__fl_common.flowic_dscp 0,4-252
PARAM_VALUE 1 flp->__fl_common.flowic_oif 0
PARAM_VALUE 1 flp->__fl_common.flowic_scope 0
PARAM_VALUE 1 flp->saddr 0-4294967294
PARAM_VALUE 2 res 6972221991158444032
PARAM_VALUE 3 flags 3
DATA_SOURCE 0 net $0
DATA_SOURCE 1 flp $1
DATA_SOURCE 2 res $2
DATA_SOURCE 3 flags $3 [m]

net/ipv4/netfilter/ipt_rpfilter.c fib_lookup() -> __fib_lookup()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_has_custom_rules 1
PARAM_VALUE 1 flp 7372093485568909312
PARAM_VALUE 1 flp->__fl_common.flowic_dscp 0,4-252
PARAM_VALUE 1 flp->__fl_common.flowic_iif 1
PARAM_VALUE 1 flp->__fl_common.flowic_scope 0
PARAM_VALUE 1 flp->saddr 0-4294967294
PARAM_VALUE 2 res 604639393722220544
PARAM_VALUE 3 flags 3
DATA_SOURCE 0 net $0
DATA_SOURCE 1 flp $1
DATA_SOURCE 2 res $2
DATA_SOURCE 3 flags $3 [m]
MEM_ZERO 1 flp
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/ipv4/route.c fib_lookup() -> __fib_lookup()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_has_custom_rules 1
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 flp 4096-ptr_max
PARAM_VALUE 2 res 429988801965383680,1393448695251062784,4240960965415747584,7684502420953772032,7985481728897236992,8909405672440926208
PARAM_VALUE 3 flags 1
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
DATA_SOURCE 0 net $0
DATA_SOURCE 1 flp $1
DATA_SOURCE 2 res $2
DATA_SOURCE 3 flags $3 [m]
NOSPEC 1 flp->saddr
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 flp->__fl_common.flowic_dscp 0,4-252[c]
USER_DATA 1 flp->__fl_common.flowic_oif s32min-(-1),1-s32max[c]
USER_DATA 1 flp->__fl_common.flowic_proto 0-255
USER_DATA 1 flp->daddr 0-u32max
USER_DATA 1 flp->saddr 0-u32max
USER_DATA 1 flp->uli.ports.dport 0-u16max
USER_DATA 1 flp->uli.ports.sport 0-u16max[u]
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