Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 19 files:
- arch/arm/mach-omap1/i2c.c, line 93
- arch/x86/kernel/apic/io_apic.c, line 535
- drivers/block/ataflop.c, line 2164
- drivers/block/floppy.c, line 4410
- drivers/gpio/gpio-aggregator.c, line 1385
- drivers/iio/light/tsl2583.c, line 564
- drivers/iio/light/tsl2772.c, line 1023
- drivers/net/ethernet/8390/ne.c, line 1072
- drivers/net/ethernet/xircom/xirc2ps_cs.c, line 1781
- drivers/net/plip/plip.c, line 1391
- drivers/scsi/BusLogic.c, line 3694
- drivers/scsi/aha152x.c, line 3400
- drivers/scsi/atari_scsi.c, line 396
- drivers/scsi/mac_scsi.c, line 72
- drivers/scsi/st.c, line 4207
- lib/cmdline.c, line 139
- lib/string_helpers.c
- lib/tests/cmdline_kunit.c
- sound/oss/dmasound/dmasound_core.c, line 1430
Smatch caller information:
drivers/block/floppy.c floppy_setup() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nints | 11 |
| PARAM_VALUE | 2 | ints | 2533723333629140992 |
| BUF_SIZE | 2 | ints | 44 |
| DATA_SOURCE | 0 | str | $0 |
| UNITS | 1 | nints | unit_array_size |
| HALF_LOCKED2 | irq |
drivers/scsi/BusLogic.c blogic_setup() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nints | 3 |
| PARAM_VALUE | 2 | ints | 4238832032903262208 |
| BUF_SIZE | 2 | ints | 12 |
| DATA_SOURCE | 0 | str | $0 |
| UNITS | 1 | nints | unit_array_size |
| HALF_LOCKED2 | irq |
lib/string_helpers.c parse_int_array() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 1-u64max |
| PARAM_VALUE | 1 | nints | 0 |
| PARAM_VALUE | 2 | ints | 4250482722915553280 |
| BUF_SIZE | 0 | str | (-1),1-1000000001,2147479553 |
| BUF_SIZE | 0 | str | (-1),1-1000000001,2147479553 |
| DATA_SOURCE | 0 | str | $0 |
| STR_LEN | 0 | str | (-1)-1010101 |
| STR_LEN | 0 | str | (-1)-1010101 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *str | 0-255 |
| USER_PTR | 0 | str |
lib/string_helpers.c parse_int_array() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 1-u64max |
| PARAM_VALUE | 1 | nints | (-2147483647)-0 |
| PARAM_VALUE | 2 | ints | 16,4096-ptr_max |
| BUF_SIZE | 0 | str | (-1),1-1000000001,2147479553 |
| BUF_SIZE | 0 | str | (-1),1-1000000001,2147479553 |
| BUF_SIZE | 2 | ints | 0-u64max |
| DATA_SOURCE | 0 | str | $0 |
| DATA_SOURCE | 2 | ints | r _kzalloc_noprof |
| STR_LEN | 0 | str | (-1)-1010101 |
| STR_LEN | 0 | str | (-1)-1010101 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *str | 0-255 |
| ELEM_COUNT | 2 | ==ints1 | 8051 |
| USER_PTR | 0 | str |
drivers/iio/light/tsl2772.c in_illuminance0_lux_table_store() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | nints | 13 |
| PARAM_VALUE | 2 | ints | 2093682613857857536 |
| BUF_SIZE | 2 | ints | 52 |
| DATA_SOURCE | 0 | str | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nints | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/light/tsl2583.c in_illuminance_lux_table_store() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | nints | 34 |
| PARAM_VALUE | 2 | ints | 391511101346422784 |
| BUF_SIZE | 2 | ints | 136 |
| DATA_SOURCE | 0 | str | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nints | unit_array_size |
| LOCK2 | &chip->als_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tsl2583_chip)->als_mutex |
drivers/gpio/gpio-aggregator.c gpio_aggregator_parse() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 0 | *str | (-128)-127 |
| PARAM_VALUE | 1 | nints | 0 |
| PARAM_VALUE | 2 | ints | 7786543449110994944 |
| PARAM_VALUE | 2 | *ints | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/plip/plip.c plip_setup() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nints | 4 |
| PARAM_VALUE | 2 | ints | 266007270843908096 |
| BUF_SIZE | 2 | ints | 16 |
| DATA_SOURCE | 0 | str | $0 |
| UNITS | 1 | nints | unit_array_size |
| HALF_LOCKED2 | irq |
drivers/scsi/st.c st_setup() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nints | 6 |
| PARAM_VALUE | 2 | ints | 1628076672050675712 |
| BUF_SIZE | 2 | ints | 24 |
| DATA_SOURCE | 0 | str | $0 |
| UNITS | 1 | nints | unit_array_size |
| HALF_LOCKED2 | irq |
lib/tests/cmdline_kunit.c cmdline_do_one_range_test() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nints | 16 |
| PARAM_VALUE | 2 | ints | 6031212937272905728 |
| BUF_SIZE | 2 | ints | 64 |
| DATA_SOURCE | 0 | str | $1 |
| NOCHECK_CALL | |||
| UNITS | 1 | nints | unit_array_size |
lib/tests/cmdline_kunit.c cmdline_do_one_range_test() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nints | 0 |
| PARAM_VALUE | 2 | ints | 6031212937272905728 |
| BUF_SIZE | 2 | ints | 64 |
| DATA_SOURCE | 0 | str | $1 |
| NOCHECK_CALL |
drivers/net/ethernet/xircom/xirc2ps_cs.c setup_xirc2ps_cs() -> get_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nints | 10 |
| PARAM_VALUE | 2 | ints | 4096-ptr_max |
| BUF_SIZE | 2 | ints | 40 |
| DATA_SOURCE | 0 | str | $0 |
| UNITS | 1 | nints | unit_array_size |
| HALF_LOCKED2 | irq |