Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/usb/gadget/function/f_acm.c acm_alloc_instance() -> gserial_alloc_line()

Type Parameter Key Value
PARAM_VALUE 0 line_num 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &func_lock
HALF_LOCKED2 &subsys->su_mutex

drivers/usb/gadget/function/f_serial.c gser_alloc_inst() -> gserial_alloc_line()

Type Parameter Key Value
PARAM_VALUE 0 line_num 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &func_lock
HALF_LOCKED2 &subsys->su_mutex

drivers/usb/gadget/legacy/dbgp.c dbgp_bind() -> gserial_alloc_line()

Type Parameter Key Value
PARAM_VALUE 0 line_num 7022388394663161856
RX_PATH
TASK_NOT_RUNNING