Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pci/setup-bus.c __assign_resources_sorted() -> res_to_dev_res()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
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
DATA_SOURCE 0 head $1 [m]
PARAM_COMPARE 0 head != $0->next
PARAM_COMPARE 0 head != $0->next
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/pci/setup-bus.c adjust_bridge_window() -> res_to_dev_res()

Type Parameter Key Value
PARAM_VALUE 0 head 1-u64max
PARAM_VALUE 1 res 4096-ptr_max
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
DATA_SOURCE 0 head $2
DATA_SOURCE 1 res $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/pci/setup-bus.c get_res_add_size() -> res_to_dev_res()

Type Parameter Key Value
PARAM_VALUE 0 head 1-u64max
PARAM_VALUE 1 res 4096-ptr_max
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
DATA_SOURCE 0 head $0
DATA_SOURCE 1 res $1
BIT_INFO 1 res->flags 0x100,0xffffffffffffffff
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_optional() -> res_to_dev_res()

Type Parameter Key Value
PARAM_VALUE 0 head 1-u64max
PARAM_VALUE 1 res 4096-ptr_max
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
DATA_SOURCE 0 head $3
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 reassign_resources_sorted() -> res_to_dev_res()

Type Parameter Key Value
PARAM_VALUE 0 head 5290780001125560320,8962552764965945344
CAPPED_DATA 0 head 1
DATA_SOURCE 0 head $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING