Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/core/sock.c sk_setsockopt() -> sk_attach_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fprog | 927474404852879360 |
| PARAM_VALUE | 0 | fprog->filter | 0-u32max |
| PARAM_VALUE | 1 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | sk->__sk_common.skc_family | 2,10 |
| PARAM_VALUE | 1 | sk->sk_protocol | 6 |
| PARAM_VALUE | 1 | sk->sk_type | 1 |
| DATA_SOURCE | 1 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fprog->len | 0-u16max |
| NO_OVERFLOW_SIMPLE | 1 | sk->sk_backlog.len | |
| UNITS | 1 | sk | unit_byte |
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | 1 | sk |
drivers/net/tun.c tun_attach() -> sk_attach_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fprog | 4096-ptr_max |
| PARAM_VALUE | 1 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | sk->sk_lock.owned | 1 |
| PARAM_VALUE | 1 | sk->sk_lock.slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | sk->sk_lock.wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | sk->sk_lock.wq.head.prev->next->next | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | sk | unit_byte |
| LOCK2 | 1 | sk | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/tun.c tun_attach_filter() -> sk_attach_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fprog | 4096-ptr_max |
| PARAM_VALUE | 1 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | sk->sk_lock.owned | 1 |
| PARAM_VALUE | 1 | sk->sk_lock.slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | sk->sk_lock.wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | sk->sk_lock.wq.head.prev->next->next | 4096-ptr_max |
| USER_DATA | 0 | fprog->len | 0-u16max |
| UNITS | 1 | sk | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 1 | sk |