Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ppp/ppp_async.c, line 301
- drivers/net/ppp/ppp_generic.c, line 3669
- drivers/net/ppp/ppp_synctty.c, line 293
- net/atm/pppoatm.c, line 463
Smatch caller information:
drivers/net/ppp/ppp_synctty.c ppp_synctty_ioctl() -> ppp_unit_number()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/net/ppp/ppp_async.c ppp_asynctty_ioctl() -> ppp_unit_number()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
net/atm/pppoatm.c pppoatm_ioctl() -> ppp_unit_number()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| LOCK2 | global &ioctl_mutex |