Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/function/f_acm.c acm_cdc_notify_complete() -> acm_notify_serial_state()

Type Parameter Key Value
PARAM_VALUE 0 acm 4096-ptr_max
PARAM_VALUE 0 acm->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 acm->notify_req 4096-ptr_max
PARAM_VALUE 0 acm->notify_req->context 4096-ptr_max
PARAM_VALUE 0 acm->notify_req->status s32min-(-109),(-107)-s32max
BUF_SIZE 0 acm (-1),96
BUF_SIZE 0 acm (-1),96
BUF_SIZE 0 acm->notify_req s32min,(-1)-s32max
NOSPEC 0 acm->notify_req->actual
NOSPEC 0 acm->notify_req->length
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 acm->notify_req->actual 0-u32max[c]
HOST_DATA 0 acm->notify_req->frame_number 0-16383[c]
HOST_DATA 0 acm->notify_req->length 0-64[c]
HOST_DATA 0 acm->notify_req->zero 0-1
USER_DATA 0 acm->notify_req->actual 0-64
USER_DATA 0 acm->notify_req->length 0-u32max
USER_DATA 0 acm->notify_req->zero 0-1[c]
NO_OVERFLOW_SIMPLE 0 acm->notify_req->dma
NO_OVERFLOW_SIMPLE 0 acm->notify_req->num_mapped_sgs
NO_OVERFLOW_SIMPLE 0 acm->notify_req->status
UNITS 0 acm unit_byte
USER_PTR 0 acm->notify_req->buf
HALF_LOCKED2 &cdev->lock
HALF_LOCKED2 &pdev->lock
HALF_LOCKED2 &priv_dev->lock
HALF_LOCKED2 &udc->lock
HALF_LOCKED2 cdev_flags
HALF_LOCKED2 flags

drivers/usb/gadget/function/f_acm.c acm_connect() -> acm_notify_serial_state()

Type Parameter Key Value
PARAM_VALUE 0 acm 4096-ptr_max
DATA_SOURCE 0 acm r port_to_acm
BIT_INFO 0 acm->serial_state 0x3,0xffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &port->port_lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct gs_port)->port_lock

drivers/usb/gadget/function/f_acm.c acm_disconnect() -> acm_notify_serial_state()

Type Parameter Key Value
PARAM_VALUE 0 acm 4096-ptr_max
PARAM_VALUE 0 acm->serial_state 0,4-65532
DATA_SOURCE 0 acm r port_to_acm
BIT_INFO 0 acm->serial_state 0x0,0xfffc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &port->port_lock
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct gs_port)->port_lock

drivers/usb/gadget/function/f_acm.c acm_send_break() -> acm_notify_serial_state()

Type Parameter Key Value
PARAM_VALUE 0 acm 4096-ptr_max
DATA_SOURCE 0 acm r port_to_acm
TASK_NOT_RUNNING
HALF_LOCKED2 &port->port_lock
HALF_LOCKED2 irq