Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ipv4/arp.c arp_format_neigh_entry() -> arp_state_to_flags()

Type Parameter Key Value
PARAM_VALUE 0 neigh 4096-ptr_max
DATA_SOURCE 0 neigh $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &seq->lock
LOCK2 0 &neigh->lock
TYPE_LOCK (struct neighbour)->lock
TYPE_LOCK (struct seq_file)->lock

net/ipv4/arp.c arp_req_get() -> arp_state_to_flags()

Type Parameter Key Value
PARAM_VALUE 0 neigh 4096-ptr_max
CAPPED_DATA 0 neigh->dev 1
DATA_SOURCE 0 neigh r neigh_lookup
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &neigh->lock
HALF_LOCKED2 &smc->sk
TYPE_LOCK (struct neighbour)->lock