Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/u_ether.c gether_get_dev_addr() -> get_ether_addr_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | str | 1-u64max |
| PARAM_VALUE | 2 | len | 4096 |
| BUF_SIZE | 0 | dev_addr | 6 |
| BUF_SIZE | 1 | str | (-1),4096 |
| BUF_SIZE | 1 | str | (-1),4096 |
| DATA_SOURCE | 1 | str | $1 |
| DATA_SOURCE | 2 | len | $2 |
| 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 |
drivers/usb/gadget/function/u_ether.c gether_get_host_addr() -> get_ether_addr_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | str | 1-u64max |
| PARAM_VALUE | 2 | len | 4096 |
| BUF_SIZE | 0 | dev_addr | 6 |
| BUF_SIZE | 1 | str | (-1),4096 |
| BUF_SIZE | 1 | str | (-1),4096 |
| DATA_SOURCE | 1 | str | $1 |
| DATA_SOURCE | 2 | len | $2 |
| 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 |