Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/of/address.c of_range_to_resource() -> of_pci_range_to_resource()

Type Parameter Key Value
PARAM_VALUE 0 range 2863182422247026688
PARAM_VALUE 0 range->bus_addr 0-u32max
PARAM_VALUE 0 range->cpu_addr 0-u32max,u64max
PARAM_VALUE 0 range->parent_bus_addr 0-u32max
PARAM_VALUE 0 range->pci_addr 0-u32max
PARAM_VALUE 1 np 4096-ptr_max
PARAM_VALUE 2 res 6093098715845279744
BUF_SIZE 1 np (-1)-0,392
BUF_SIZE 1 np (-1)-0,392
DATA_SOURCE 1 np $0
DATA_SOURCE 2 res $2

drivers/pci/of.c devm_of_pci_get_host_bridge_resources() -> of_pci_range_to_resource()

Type Parameter Key Value
PARAM_VALUE 0 range 7953914120212283392
PARAM_VALUE 0 range->bus_addr 0-u32max
PARAM_VALUE 0 range->cpu_addr 0-u32max
PARAM_VALUE 0 range->parent_bus_addr 0-u32max
PARAM_VALUE 0 range->pci_addr 0-u32max
PARAM_VALUE 0 range->size 1-u64max
PARAM_VALUE 1 np 4096-ptr_max
PARAM_VALUE 2 res 2978149385473449984
RX_PATH
TASK_NOT_RUNNING
UNITS 1 np unit_byte

drivers/pci/of.c devm_of_pci_get_host_bridge_resources() -> of_pci_range_to_resource()

Type Parameter Key Value
PARAM_VALUE 0 range 7953914120212283392
PARAM_VALUE 0 range->bus_addr 0-u32max
PARAM_VALUE 0 range->cpu_addr 0-u32max
PARAM_VALUE 0 range->parent_bus_addr 0-u32max
PARAM_VALUE 0 range->pci_addr 0-u32max
PARAM_VALUE 0 range->size 1-u64max
PARAM_VALUE 1 np 4096-ptr_max
PARAM_VALUE 2 res 2978149385473449984
RX_PATH
TASK_NOT_RUNNING
UNITS 1 np unit_byte