Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 18 files:
- drivers/usb/gadget/composite.c, line 1516
- drivers/usb/gadget/configfs.c
- drivers/usb/gadget/function/f_acm.c, line 626
- drivers/usb/gadget/function/f_ecm.c, line 707
- drivers/usb/gadget/function/f_eem.c, line 272
- drivers/usb/gadget/function/f_hid.c, line 1164
- drivers/usb/gadget/function/f_mass_storage.c, line 2828
- drivers/usb/gadget/function/f_midi.c, line 892
- drivers/usb/gadget/function/f_midi2.c, line 1953
- drivers/usb/gadget/function/f_ncm.c, line 1481
- drivers/usb/gadget/function/f_obex.c, line 313
- drivers/usb/gadget/function/f_rndis.c, line 701
- drivers/usb/gadget/function/f_subset.c, line 319
- drivers/usb/gadget/function/f_tcm.c, line 2305
- drivers/usb/gadget/function/f_uac1.c, line 1268
- drivers/usb/gadget/function/f_uac1_legacy.c, line 745
- drivers/usb/gadget/function/f_uac2.c, line 1057
- drivers/usb/gadget/function/f_uvc.c, line 794
Smatch caller information:
drivers/usb/gadget/function/f_mass_storage.c fsg_common_set_cdev() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 7961490552772390912 |
| PARAM_VALUE | 2 | n_strings | 2 |
| BUF_SIZE | 0 | cdev | (-1),496 |
| BUF_SIZE | 0 | cdev | (-1),496 |
| BUF_SIZE | 1 | sp | 16 |
| DATA_SOURCE | 0 | cdev | $1 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
drivers/usb/gadget/function/f_rndis.c rndis_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 1135745577964118016 |
| PARAM_VALUE | 2 | n_strings | 4 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
| LOCK2 | _T->lock |
drivers/usb/gadget/function/f_obex.c obex_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 2842712244422045696 |
| PARAM_VALUE | 2 | n_strings | 3 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
drivers/usb/gadget/function/f_uac1_legacy.c f_audio_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 8422660895614439424 |
| PARAM_VALUE | 2 | n_strings | 8 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
drivers/usb/gadget/configfs.c configfs_attach_gadget_strings() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->req | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 16,4096-ptr_max |
| BUF_SIZE | 1 | sp | 0-34359738360 |
| BUF_SIZE | 1 | sp | 0-34359738360 |
| DATA_SOURCE | 1 | sp | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/configfs.c configfs_composite_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->req | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 4096-ptr_max |
| PARAM_VALUE | 2 | n_strings | 1 |
| BUF_SIZE | 1 | sp | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/function/f_eem.c eem_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sp | 8573267202340851712 |
| PARAM_VALUE | 2 | n_strings | 2 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
| LOCK2 | _T->lock |
drivers/usb/gadget/function/f_subset.c geth_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sp | 4763846217792970752 |
| PARAM_VALUE | 2 | n_strings | 3 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
| LOCK2 | _T->lock |
drivers/usb/gadget/function/f_ecm.c ecm_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget->quirk_altset_not_supp | 0 |
| PARAM_VALUE | 1 | sp | 6178072224246161408 |
| PARAM_VALUE | 2 | n_strings | 5 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
| LOCK2 | _T->lock |
drivers/usb/gadget/function/f_uac1.c f_audio_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 6466851932662091776 |
| PARAM_VALUE | 2 | n_strings | 14 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
drivers/usb/gadget/function/f_uac2.c afunc_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 1063531556991787008 |
| PARAM_VALUE | 2 | n_strings | 17 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
drivers/usb/gadget/function/f_tcm.c tcm_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 1468658923520999424 |
| PARAM_VALUE | 2 | n_strings | 3 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
drivers/usb/gadget/function/f_acm.c acm_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sp | 6534621678169645056 |
| PARAM_VALUE | 2 | n_strings | 4 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
drivers/usb/gadget/function/f_ncm.c ncm_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget->quirk_altset_not_supp | 0 |
| PARAM_VALUE | 1 | sp | 3924921561197969408 |
| PARAM_VALUE | 2 | n_strings | 5 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
| LOCK2 | _T->lock |
drivers/usb/gadget/function/f_hid.c hidg_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget->ep0->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget->ep0->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 1548193745148764160 |
| PARAM_VALUE | 2 | n_strings | 2 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
drivers/usb/gadget/function/f_midi.c f_midi_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 8572576722093068288 |
| PARAM_VALUE | 2 | n_strings | 2 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
drivers/usb/gadget/function/f_uvc.c uvc_function_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->gadget->out_epnum | 0-15 |
| PARAM_VALUE | 1 | sp | 1155625383569797120 |
| PARAM_VALUE | 2 | n_strings | 3 |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | n_strings | unit_array_size |
| LOCK2 | &opts->lock | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct f_uvc_opts)->lock |
drivers/usb/gadget/function/f_midi2.c f_midi2_bind() -> usb_gstrings_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | sp | 4096-ptr_max |
| BUF_SIZE | 1 | sp | 16 |
| STR_LEN | 0 | cdev | (-1) |
| STR_LEN | 0 | cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |