Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/ibm/emac/core.c
- net/ipv4/devinet.c, line 1273
- net/ipv4/fib_frontend.c, line 530
Smatch caller information:
net/ipv4/fib_frontend.c rtentry_to_fib_config() -> bad_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | mask | r sk_extract_addr |
| DATA_SOURCE | 1 | addr | r sk_extract_addr |
| NS_CAPABLE | 0 | 12 | |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/devinet.c devinet_ioctl() -> bad_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 0 |
| NS_CAPABLE | 0 | 12 | |
| UNITS | 0 | mask | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |