Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 4 files:
- drivers/pnp/card.c
- drivers/pnp/driver.c, line 53
- drivers/pnp/isapnp/compat.c
- drivers/pnp/quirks.c, line 447
Smatch caller information:
drivers/pnp/card.c match_card() -> compare_pnp_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| PARAM_VALUE | 1 | *id | 1-255 |
| BUF_SIZE | 1 | id | 8 |
drivers/pnp/card.c match_card() -> compare_pnp_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| PARAM_VALUE | 1 | *id | 1-255 |
| BUF_SIZE | 1 | id | 8 |
drivers/pnp/card.c pnp_request_card_device() -> compare_pnp_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u64max |
| BUF_SIZE | 1 | id | 8 |
| BUF_SIZE | 1 | id | 8 |
| DATA_SOURCE | 1 | id | $1 |
drivers/pnp/quirks.c pnp_fixup_device() -> compare_pnp_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| PARAM_VALUE | 1 | *id | 1-255 |
| BUF_SIZE | 1 | id | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pnp/driver.c match_device() -> compare_pnp_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| PARAM_VALUE | 1 | *id | 1-255 |
| BUF_SIZE | 1 | id | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pnp/isapnp/compat.c pnp_find_dev() -> compare_pnp_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 2101760121324318720 |
| BUF_SIZE | 1 | id | 8 |
| HALF_LOCKED2 | &board->big_gpib_mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &comedi_drivers_list_lock |
drivers/pnp/isapnp/compat.c pnp_find_dev() -> compare_pnp_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 2101760121324318720 |
| BUF_SIZE | 1 | id | 8 |
| HALF_LOCKED2 | &board->big_gpib_mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &comedi_drivers_list_lock |