Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/net/ethernet/intel/libie/fwlog.c, line 530
- drivers/usb/gadget/function/f_uac1.c, line 1520
- drivers/usb/gadget/function/f_uac2.c, line 1883
- kernel/params.c, line 235
- lib/kstrtox.c
- lib/test-kstrtox.c
Smatch caller information:
drivers/net/ethernet/intel/libie/fwlog.c libie_debugfs_nr_messages_write() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 7232948126821163008 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 6968071113166168064 |
| BUF_SIZE | 0 | s | 8 |
drivers/usb/gadget/function/f_uac1.c f_uac1_opts_c_volume_max_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 322540586158563328 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac1_opts)->lock |
drivers/usb/gadget/function/f_uac1.c f_uac1_opts_c_volume_min_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 6598024757847027712 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac1_opts)->lock |
drivers/usb/gadget/function/f_uac1.c f_uac1_opts_c_volume_res_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 6620792968443752448 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac1_opts)->lock |
drivers/usb/gadget/function/f_uac1.c f_uac1_opts_p_volume_max_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 4718391425930461184 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac1_opts)->lock |
drivers/usb/gadget/function/f_uac1.c f_uac1_opts_p_volume_min_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 7286771653511720960 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac1_opts)->lock |
drivers/usb/gadget/function/f_uac1.c f_uac1_opts_p_volume_res_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 5065205923079426048 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac1_opts)->lock |
drivers/usb/gadget/function/f_uac2.c f_uac2_opts_c_terminal_type_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 5223754345057611776 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac2_opts)->lock |
drivers/usb/gadget/function/f_uac2.c f_uac2_opts_c_volume_max_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 878003934800117760 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac2_opts)->lock |
drivers/usb/gadget/function/f_uac2.c f_uac2_opts_c_volume_min_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 8989864112188129280 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac2_opts)->lock |
drivers/usb/gadget/function/f_uac2.c f_uac2_opts_c_volume_res_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 6904574223408828416 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac2_opts)->lock |
drivers/usb/gadget/function/f_uac2.c f_uac2_opts_p_terminal_type_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 7067725651440615424 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac2_opts)->lock |
drivers/usb/gadget/function/f_uac2.c f_uac2_opts_p_volume_max_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 5185361011361005568 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac2_opts)->lock |
drivers/usb/gadget/function/f_uac2.c f_uac2_opts_p_volume_min_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 8311931336938680320 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac2_opts)->lock |
drivers/usb/gadget/function/f_uac2.c f_uac2_opts_p_volume_res_store() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | res | 5315518860198744064 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 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_uac2_opts)->lock |
lib/test-kstrtox.c test_kstrtos16_fail() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | res | 3723863198646996992 |
| PARAM_VALUE | 2 | *res | 0 |
| BUF_SIZE | 0 | s | 1-6,11,18,20-24,66 |
lib/test-kstrtox.c test_kstrtos16_ok() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | res | 7632634166495916032 |
| BUF_SIZE | 0 | s | 2-6 |
lib/kstrtox.c kstrtos16_from_user() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 3311006421290278912 |
| BUF_SIZE | 0 | s | 19 |
| DATA_SOURCE | 1 | base | $2 |
| DATA_SOURCE | 2 | res | $3 |
| TERMINATED | 0 | s | 1 |
| USER_DATA | 0 | *s | 0-255 |
| USER_PTR | 0 | s |
kernel/params.c param_set_short() -> kstrtos16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 0,4096-18446744073709547521 |
| PARAM_VALUE | 1 | base | 0 |
| BUF_SIZE | 0 | s | (-1),1-1000000001 |
| BUF_SIZE | 0 | s | (-1),1-1000000001 |
| DATA_SOURCE | 0 | s | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |