Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/function/u_serial.c gs_close() -> gs_close_flush_done()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->port.count 1
PARAM_VALUE 0 p->port_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->port_usb 1-u64max
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 p unit_byte
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 global &spk_mutex

drivers/usb/gadget/function/u_serial.c gs_close() -> gs_close_flush_done()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->drain_wait.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->port.count 1
PARAM_VALUE 0 p->port_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->port_usb 1-u64max
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
PARAM_COMPARE 0 p->port_write_buf.kfifo.in != $0->port_write_buf.kfifo.out
RX_PATH
TASK_NOT_RUNNING
UNITS 0 p unit_byte
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 global &spk_mutex

drivers/usb/gadget/function/u_serial.c gs_close() -> gs_close_flush_done()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->drain_wait.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->port.count 1
PARAM_VALUE 0 p->port_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->port_usb 1-u64max
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
PARAM_COMPARE 0 p->port_write_buf.kfifo.in != $0->port_write_buf.kfifo.out
RX_PATH
TASK_NOT_RUNNING
UNITS 0 p unit_byte
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 global &spk_mutex