Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/usb/gadget/function/u_ether.c, line 965
- drivers/usb/gadget/function/u_ether_configfs.h, line 89
- drivers/usb/gadget/legacy/cdc2.c, line 157
- drivers/usb/gadget/legacy/ether.c, line 360
- drivers/usb/gadget/legacy/g_ffs.c, line 354
- drivers/usb/gadget/legacy/multi.c
- drivers/usb/gadget/legacy/ncm.c, line 140
Smatch caller information:
drivers/usb/gadget/function/f_rndis.c rndis_opts_host_addr_store() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | host_addr | 1-u64max |
| PARAM_VALUE | 1 | *host_addr | 0 |
| BUF_SIZE | 1 | host_addr | 4096 |
| BUF_SIZE | 1 | host_addr | 4096 |
| DATA_SOURCE | 1 | host_addr | $1 |
| TERMINATED | 1 | host_addr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct f_rndis_opts)->lock |
drivers/usb/gadget/legacy/ether.c eth_bind() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->priv->qmult | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/function/f_eem.c eem_opts_host_addr_store() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | host_addr | 1-u64max |
| PARAM_VALUE | 1 | *host_addr | 0 |
| BUF_SIZE | 1 | host_addr | 4096 |
| BUF_SIZE | 1 | host_addr | 4096 |
| DATA_SOURCE | 1 | host_addr | $1 |
| TERMINATED | 1 | host_addr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct f_eem_opts)->lock |
drivers/usb/gadget/function/f_subset.c gether_opts_host_addr_store() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | host_addr | 1-u64max |
| PARAM_VALUE | 1 | *host_addr | 0 |
| BUF_SIZE | 1 | host_addr | 4096 |
| BUF_SIZE | 1 | host_addr | 4096 |
| DATA_SOURCE | 1 | host_addr | $1 |
| TERMINATED | 1 | host_addr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct f_gether_opts)->lock |
drivers/usb/gadget/function/f_ecm.c ecm_opts_host_addr_store() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | host_addr | 1-u64max |
| PARAM_VALUE | 1 | *host_addr | 0 |
| BUF_SIZE | 1 | host_addr | 4096 |
| BUF_SIZE | 1 | host_addr | 4096 |
| DATA_SOURCE | 1 | host_addr | $1 |
| TERMINATED | 1 | host_addr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct f_ecm_opts)->lock |
drivers/usb/gadget/legacy/ncm.c gncm_bind() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->priv->qmult | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/g_ffs.c gfs_bind() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->priv->qmult | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/function/f_ncm.c ncm_opts_host_addr_store() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | host_addr | 1-u64max |
| PARAM_VALUE | 1 | *host_addr | 0 |
| BUF_SIZE | 1 | host_addr | 4096 |
| BUF_SIZE | 1 | host_addr | 4096 |
| DATA_SOURCE | 1 | host_addr | $1 |
| TERMINATED | 1 | host_addr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct f_ncm_opts)->lock |
drivers/usb/gadget/legacy/multi.c multi_bind() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->priv->qmult | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/multi.c multi_bind() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->priv->qmult | 0-4294967295 |
| PARAM_VALUE | 1 | host_addr | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/cdc2.c cdc_bind() -> gether_set_host_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->priv->qmult | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING |