Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 19 files:
- arch/alpha/kernel/pci-sysfs.c
- arch/powerpc/kernel/pci-common.c
- arch/sh/drivers/pci/fixups-dreamcast.c, line 62
- arch/sparc/kernel/pci.c
- drivers/dma/dw-edma/dw-edma-pcie.c, line 221
- drivers/pci/bus.c, line 178
- drivers/pci/host-bridge.c, line 69
- drivers/pci/ide.c
- drivers/pci/iov.c, line 1080
- drivers/pci/probe.c, line 292
- drivers/pci/rom.c, line 69
- drivers/pci/setup-bus.c
- drivers/pci/setup-cardbus.c
- drivers/pci/setup-res.c, line 57
- drivers/pcmcia/yenta_socket.c
- drivers/scsi/sym53c8xx_2/sym_glue.c
- drivers/staging/vme_user/vme_tsi148.c, line 850
- drivers/tty/serial/8250/8250_pci.c, line 783
- include/linux/pci.h, line 1676
Smatch caller information:
drivers/pci/setup-bus.c iov_resources_unassigned() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 8313660126714167296 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pci_bus_sem |
drivers/pci/setup-bus.c pci_setup_bridge_io() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 7136974974147321856 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 256 |
| BUF_SIZE | 2 | res | 256 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/setup-bus.c pci_setup_bridge_mmio() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 8472842012366274560 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 192 |
| BUF_SIZE | 2 | res | 192 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/setup-bus.c pci_setup_bridge_mmio_pref() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 6060321215214628864 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 128 |
| BUF_SIZE | 2 | res | 128 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/agp/sis-agp.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | region | 7896876467597164544 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 1088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/dw-edma/dw-edma-pcie.c dw_edma_pcie_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 8041690167912845312 |
| PARAM_VALUE | 2 | res | 6018148449930067968 |
| PARAM_VALUE | 2 | res->flags | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | res->end | 0-255 |
| HOST_DATA | 2 | res->start | 0-255 |
drivers/dma/dw-edma/dw-edma-pcie.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 3314178311704588288 |
| NOCHECK_CALL |
drivers/pci/bus.c pci_clip_resource_to_region() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | region | 7845010589270413312 |
| PARAM_VALUE | 2 | res | 8934099568827633664 |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 2 | res | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &image->lock | ||
| HALF_LOCKED2 | &s->ops_mutex |
drivers/char/agp/generic.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 6292428190499012608 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 1088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/ide.c pci_ide_stream_alloc() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 4644509328284925952 |
| PARAM_VALUE | 1 | region->end | u64max |
| PARAM_VALUE | 1 | region->start | 0 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 192 |
| BUF_SIZE | 2 | res | 192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 6307103702627926016 |
| PARAM_VALUE | 1 | region->end | u64max |
| PARAM_VALUE | 1 | region->start | 0 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 128 |
| BUF_SIZE | 2 | res | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/tty/serial/8250/8250_pci.c pci_ni8430_init() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 4768912354364428288 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 1088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/iov.c pci_iov_update_resource() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 8364043534510542848 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 1-u64max |
| BIT_INFO | 2 | res->flags | 0x0,0xffffffffdfffffef |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | &dev->dev.mutex |
drivers/scsi/sym53c8xx_2/sym_glue.c sym_iomap_device() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 3638222333416587264 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/sym53c8xx_2/sym_glue.c sym_iomap_device() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | region | 3638222333416587264 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/p2pdma.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 6082251721888878592 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/probe.c __pci_read_base() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | region | 8984579377678053376 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 262656,287232-287233,1311232,1319424 |
| BUF_SIZE | 2 | res | (-1),704 |
| BUF_SIZE | 2 | res | (-1),704 |
| BUF_SIZE | 2 | res->name | 1-s32max |
| DATA_SOURCE | 2 | res | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HOST_DATA | 2 | res->flags | 262656,1311232,1319424[c] |
| HOST_DATA | 2 | res->start | 0-u64max[c] |
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/setup-res.c pci_std_update_resource() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 32845897870393344 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 1-u64max |
| BIT_INFO | 2 | res->flags | 0x0,0xffffffffdfffffef |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | &dev->dev.mutex |
drivers/char/agp/via-agp.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 7462458085404672000 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 1088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/ntb/hw/idt/ntb_hw_idt.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 1500883518044135424 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/host/pci.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 8926634334941384704 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->shutdown_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/pci/rom.c pci_enable_rom() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 8180764590726029312 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->flags | 1-u64max |
| BUF_SIZE | 2 | res | 704 |
| BUF_SIZE | 2 | res | 704 |
| BIT_INFO | 2 | res->flags | 0x0,0xfffffffffffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
drivers/pci/setup-cardbus.c pci_setup_cardbus_bridge() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 5489516024358678528 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/setup-cardbus.c pci_setup_cardbus_bridge() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | region | 5489516024358678528 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/setup-cardbus.c pci_setup_cardbus_bridge() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | region | 5489516024358678528 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/setup-cardbus.c pci_setup_cardbus_bridge() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | region | 5489516024358678528 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/agp/intel-agp.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 4751236814433095680 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 1088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/agp/amd64-agp.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 2193417873705369600 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 1088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/pci/of_property.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | region | 4691033511368499200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | &asus->hotplug_lock | ||
| HALF_LOCKED2 | &eeepc->hotplug_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/staging/vme_user/vme_tsi148.c tsi148_master_set() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 3054101374403842048 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | res->end | |
| LOCK2 | &image->lock | ||
| TYPE_LOCK | (struct vme_master_resource)->lock |
drivers/char/agp/intel-gtt.c pci_bus_address() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 6808345035764568064 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pcmcia/yenta_socket.c yenta_config_init() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 3669276752038551552 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | 1088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pcmcia/yenta_socket.c yenta_set_mem_map() -> pcibios_resource_to_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | region | 5538372961429401600 |
| BUF_SIZE | 2 | res | (-1),64 |
| BUF_SIZE | 2 | res | (-1),64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sock->ops_mutex | ||
| HALF_LOCKED2 | &sock->skt_mutex | ||
| HALF_LOCKED2 | &sp->mutex |