Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

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