Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/usbip/stub_main.c add_match_busid() -> get_busid_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | busid | 1308714075246632960 |
| BUF_SIZE | 0 | busid | 32 |
| BUF_SIZE | 0 | busid | 32 |
| DATA_SOURCE | 0 | busid | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &busid_table_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/usbip/stub_main.c del_match_busid() -> get_busid_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | busid | 4096-ptr_max |
| BUF_SIZE | 0 | busid | (-1),32 |
| BUF_SIZE | 0 | busid | (-1),32 |
| DATA_SOURCE | 0 | busid | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &busid_table_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/usbip/stub_main.c get_busid_priv() -> get_busid_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | busid | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | busid | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | busid | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &busid_table_lock | ||
| HALF_LOCKED2 | &of->mutex |