Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/pci/setup-bus.c __assign_resources_sorted() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 2163468823718023168 |
| PARAM_VALUE | 0 | head->prev | 2163468823718023168 |
| PARAM_VALUE | 3 | add_size | 0 |
| PARAM_VALUE | 4 | min_align | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dev | unit_byte |
drivers/pci/setup-bus.c __assign_resources_sorted() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->parent | 0 |
| PARAM_VALUE | 3 | add_size | 0 |
| PARAM_VALUE | 4 | min_align | 0 |
| BUF_SIZE | 0 | head->next | (-1),16 |
| BUF_SIZE | 0 | head->prev | (-1),16 |
| DATA_SOURCE | 0 | head | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | dev | unit_byte |
drivers/pci/setup-bus.c assign_requested_resources_sorted() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 910416553925730304 |
| PARAM_VALUE | 0 | head->next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | head->prev | 910416553925730304 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | *dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 3 | add_size | 0 |
| PARAM_VALUE | 4 | min_align | 0 |
| DATA_SOURCE | 0 | head | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | dev | unit_byte |
drivers/pci/setup-bus.c pbus_reassign_bridge_resources() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 6998197176483430400 |
| PARAM_VALUE | 0 | head->prev | 6998197176483430400 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->child | 0 |
| PARAM_VALUE | 2 | res->parent | 0-1,4096-ptr_max |
| PARAM_VALUE | 3 | add_size | 0 |
| PARAM_VALUE | 4 | min_align | 0 |
| DATA_SOURCE | 0 | head | $2 |
| DATA_SOURCE | 2 | res | r pbus_select_window |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/pci/setup-bus.c pbus_size_io() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 524288-u64max |
| PARAM_VALUE | 2 | res->parent | 0 |
| PARAM_VALUE | 2 | res->start | 1-u64max |
| PARAM_VALUE | 3 | add_size | 1-u64max |
| PARAM_VALUE | 4 | min_align | 1-u64max |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head->next | (-1),16 |
| BUF_SIZE | 0 | head->prev | (-1),16 |
| CAPPED_DATA | 3 | add_size | 1 |
| CAPPED_DATA | 4 | min_align | 1 |
| CAPPED_DATA | 4 | min_align | 1 |
| DATA_SOURCE | 0 | head | $2 |
| DATA_SOURCE | 2 | res | r pbus_select_window_for_type |
| BIT_INFO | 2 | res->flags | 0x80000,0xffffffffefffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-bus.c pbus_size_mem() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 524288-u64max |
| PARAM_VALUE | 2 | res->parent | 0 |
| PARAM_VALUE | 2 | res->start | 1-u64max |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head->next | (-1),16 |
| BUF_SIZE | 0 | head->prev | (-1),16 |
| CAPPED_DATA | 2 | res | 1 |
| CAPPED_DATA | 3 | add_size | 1 |
| CAPPED_DATA | 3 | add_size | 1 |
| DATA_SOURCE | 0 | head | $3 |
| DATA_SOURCE | 2 | res | $1 |
| BIT_INFO | 2 | res->flags | 0x80000,0xffffffffefffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-bus.c pbus_size_mem_optional() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->resource | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 3 | add_size | 0 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head->next | (-1),16 |
| BUF_SIZE | 0 | head->prev | (-1),16 |
| CAPPED_DATA | 0 | head | 1 |
| CAPPED_DATA | 2 | res | 1 |
| DATA_SOURCE | 0 | head | $3 |
| DATA_SOURCE | 1 | dev | $0 |
| DATA_SOURCE | 4 | min_align | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-bus.c pci_do_resource_release_and_resize() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 6998197176483430400 |
| PARAM_VALUE | 0 | head->prev | 6998197176483430400 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 1 | dev->resource | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->parent | 0-1,4096-ptr_max |
| PARAM_VALUE | 3 | add_size | 0 |
| PARAM_VALUE | 4 | min_align | 0 |
| CAPPED_DATA | 1 | dev | 1 |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dev | unit_byte |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/pci/setup-cardbus.c pci_bus_size_cardbus_bridge() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 1 | dev->resource | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 0,256-u64max |
| PARAM_VALUE | 2 | res->parent | 0 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head->next | (-1),16 |
| BUF_SIZE | 0 | head->prev | (-1),16 |
| BUF_SIZE | 2 | res | 256 |
| BUF_SIZE | 2 | res | 256 |
| DATA_SOURCE | 0 | head | $1 |
| BIT_INFO | 2 | res->flags | 0x80100,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-cardbus.c pci_bus_size_cardbus_bridge() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 1 | dev->resource | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 0,256-u64max |
| PARAM_VALUE | 2 | res->parent | 0 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head->next | (-1),16 |
| BUF_SIZE | 0 | head->prev | (-1),16 |
| BUF_SIZE | 2 | res | 192 |
| BUF_SIZE | 2 | res | 192 |
| DATA_SOURCE | 0 | head | $1 |
| BIT_INFO | 2 | res->flags | 0x80100,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-cardbus.c pci_bus_size_cardbus_bridge() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 1 | dev->resource | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 0,512-u64max |
| PARAM_VALUE | 2 | res->parent | 0 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head->next | (-1),16 |
| BUF_SIZE | 0 | head->prev | (-1),16 |
| BUF_SIZE | 2 | res | 128 |
| BUF_SIZE | 2 | res | 128 |
| DATA_SOURCE | 0 | head | $1 |
| BIT_INFO | 2 | res->flags | 0x82200,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-cardbus.c pci_bus_size_cardbus_bridge() -> pci_dev_res_add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 1 | dev->resource | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 0,512-u64max |
| PARAM_VALUE | 2 | res->parent | 0 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head | (-1)-0,16 |
| BUF_SIZE | 0 | head->next | (-1),16 |
| BUF_SIZE | 0 | head->prev | (-1),16 |
| BUF_SIZE | 2 | res | 64 |
| DATA_SOURCE | 0 | head | $1 |
| BIT_INFO | 2 | res->flags | 0x80200,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |