Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ppp/ppp_generic.c ppp_connect_channel() -> ppp_find_unit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | &pn->all_ppp_mutex | 1 |
| DATA_SOURCE | 0 | pn | r ppp_pernet |
| DATA_SOURCE | 1 | unit | $1 |
| USER_DATA | 1 | unit | s32min-s32max |
| LOCK2 | global &ppp_mutex | ||
| LOCK2 | 0 | &pn->all_ppp_mutex | |
| TYPE_LOCK | (struct ppp_net)->all_ppp_mutex |
drivers/net/ppp/ppp_generic.c ppp_unattached_ioctl() -> ppp_find_unit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | &pn->all_ppp_mutex | 1 |
| DATA_SOURCE | 0 | pn | r ppp_pernet |
| NS_CAPABLE | 0 | 12 | |
| USER_DATA | 1 | unit | s32min-s32max |
| LOCK2 | global &ppp_mutex | ||
| LOCK2 | 0 | &pn->all_ppp_mutex | |
| TYPE_LOCK | (struct ppp_net)->all_ppp_mutex |