Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pci/ide.c claim_stream() -> reserve_stream_id()

Type Parameter Key Value
PARAM_VALUE 0 hb->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 hb->dev.class 0,4096-ptr_max
PARAM_VALUE 0 hb->dev.driver 0,4096-ptr_max
DATA_SOURCE 0 hb $0
DATA_SOURCE 1 id $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 id 0-255[c]
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/pci/ide.c pci_ide_init_host_bridge() -> reserve_stream_id()

Type Parameter Key Value
PARAM_VALUE 0 hb 4096-ptr_max
PARAM_VALUE 0 hb->dev.type 312978283337510912
PARAM_VALUE 0 hb->dma_ranges.next 4096-ptr_max
PARAM_VALUE 0 hb->dma_ranges.next->next 4096-ptr_max
PARAM_VALUE 0 hb->dma_ranges.prev 4096-ptr_max
PARAM_VALUE 0 hb->dma_ranges.prev->next 4096-ptr_max
PARAM_VALUE 0 hb->dma_ranges.prev->prev 4096-ptr_max
PARAM_VALUE 0 hb->domain_nr (-1)
PARAM_VALUE 0 hb->ide_stream_ida.xa.xa_flags 33554437
PARAM_VALUE 0 hb->ide_stream_ida.xa.xa_head 0
PARAM_VALUE 0 hb->ide_stream_ids_ida.xa.xa_flags 33554437
PARAM_VALUE 0 hb->ide_stream_ids_ida.xa.xa_head 0
PARAM_VALUE 0 hb->native_aer 1
PARAM_VALUE 0 hb->native_cxl_error 1
PARAM_VALUE 0 hb->native_dpc 1
PARAM_VALUE 0 hb->native_ltr 1
PARAM_VALUE 0 hb->native_pcie_hotplug 1
PARAM_VALUE 0 hb->native_pme 1
PARAM_VALUE 0 hb->native_shpc_hotplug 1
PARAM_VALUE 0 hb->nr_ide_streams 256
PARAM_VALUE 0 hb->ports.next 4096-ptr_max
PARAM_VALUE 0 hb->ports.next->next 4096-ptr_max
PARAM_VALUE 0 hb->ports.prev 4096-ptr_max
PARAM_VALUE 0 hb->ports.prev->next 4096-ptr_max
PARAM_VALUE 0 hb->ports.prev->prev 4096-ptr_max
PARAM_VALUE 0 hb->windows.next 4096-ptr_max
PARAM_VALUE 0 hb->windows.next->next 4096-ptr_max
PARAM_VALUE 0 hb->windows.prev 4096-ptr_max
PARAM_VALUE 0 hb->windows.prev->next 4096-ptr_max
PARAM_VALUE 0 hb->windows.prev->prev 4096-ptr_max
PARAM_VALUE 1 id 255
BUF_SIZE 0 hb 1984-3064
BUF_SIZE 0 hb 1984-3064
BUF_SIZE 0 hb->dev.type 48
DATA_SOURCE 0 hb $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/pci/ide.c request_stream_id() -> reserve_stream_id()

Type Parameter Key Value
DATA_SOURCE 0 hb $0
DATA_SOURCE 1 id $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex