Documented in 1 files:

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_subset.c geth_alloc() -> gether_get_host_addr_cdc()

Type Parameter Key Value
PARAM_VALUE 2 len 14
BUF_SIZE 1 host_addr 14
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_byte
LOCK2 &opts->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &gi->lock
TYPE_LOCK (struct f_gether_opts)->lock

drivers/usb/gadget/function/f_ecm.c ecm_alloc() -> gether_get_host_addr_cdc()

Type Parameter Key Value
PARAM_VALUE 2 len 14
BUF_SIZE 1 host_addr 14
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_byte
LOCK2 &opts->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &gi->lock
TYPE_LOCK (struct f_ecm_opts)->lock

drivers/usb/gadget/function/f_ncm.c ncm_alloc() -> gether_get_host_addr_cdc()

Type Parameter Key Value
PARAM_VALUE 2 len 14
BUF_SIZE 1 host_addr 14
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_byte
LOCK2 &opts->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &gi->lock
TYPE_LOCK (struct f_ncm_opts)->lock