Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/pci/setup-bus.c __assign_resources_sorted() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c __assign_resources_sorted() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c __assign_resources_sorted() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c adjust_bridge_window() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->parent | 0-1 |
| DATA_SOURCE | 0 | res | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-bus.c find_bus_resource_of_type() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-2936731392875139071,2936731392875139073-8636791340006543359,8636791340006543361-ptr_max |
| DATA_SOURCE | 0 | res | r pci_bus_resource_n |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pbus_select_window() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| DATA_SOURCE | 0 | res | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_bus_sem |
drivers/pci/setup-bus.c pbus_size_io() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 1-u64max |
| DATA_SOURCE | 0 | res | r pbus_select_window_for_type |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-bus.c pbus_size_io() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-bus.c pbus_size_mem() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 1-u64max |
| DATA_SOURCE | 0 | res | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-bus.c pci_bridge_release_resources() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 1-u64max |
| CAPPED_DATA | 0 | res | 1 |
| DATA_SOURCE | 0 | res | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pci_bus_distribute_available_resources() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-bus.c pci_claim_bridge_resources() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pci_claim_device_resources() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pci_dev_res_restore() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pci_do_resource_release_and_resize() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &pci_bus_sem |
drivers/pci/setup-bus.c pci_setup_bridge_io() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | 256 |
| BUF_SIZE | 0 | res | 256 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pci_setup_bridge_mmio() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | 192 |
| BUF_SIZE | 0 | res | 192 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pci_setup_bridge_mmio_pref() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | 128 |
| BUF_SIZE | 0 | res | 128 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pdev_assign_fixed_resources() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pdev_assign_fixed_resources() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | (-1),1088 |
| BUF_SIZE | 0 | res | (-1),1088 |
| BIT_INFO | 0 | res->flags | 0x10,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pdev_assign_fixed_resources() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | (-1),1088 |
| BUF_SIZE | 0 | res | (-1),1088 |
| BIT_INFO | 0 | res->flags | 0x10,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c pdev_resource_should_fit() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| DATA_SOURCE | 0 | res | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c reassign_resources_sorted() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | res | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-bus.c reassign_resources_sorted() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->parent | 0-1 |
| CAPPED_DATA | 0 | res | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/ide.c pci_ide_stream_alloc() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | 192 |
| BUF_SIZE | 0 | res | 192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/ide.c pci_ide_stream_alloc() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | 128 |
| BUF_SIZE | 0 | res | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/setup-cardbus.c pci_bus_size_cardbus_bridge() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | 256 |
| BUF_SIZE | 0 | res | 256 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-cardbus.c pci_bus_size_cardbus_bridge() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | 192 |
| BUF_SIZE | 0 | res | 192 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-cardbus.c pci_bus_size_cardbus_bridge() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | 128 |
| BUF_SIZE | 0 | res | 128 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-cardbus.c pci_bus_size_cardbus_bridge() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| BUF_SIZE | 0 | res | 64 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-cardbus.c pci_setup_cardbus_bridge() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-cardbus.c pci_setup_cardbus_bridge() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-cardbus.c pci_setup_cardbus_bridge() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/setup-cardbus.c pci_setup_cardbus_bridge() -> resource_assigned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |