Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_region_lmem.c _resize_bar() -> pci_resize_resource()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 resno 2
PARAM_VALUE 3 exclude_bars 0
DATA_SOURCE 1 resno $1
DATA_SOURCE 2 size r pci_rebar_bytes_to_size
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 __flags

drivers/pci/pci-sysfs.c __resource_resize_store() -> pci_resize_resource()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->error_state 0-2,4-u32max
PARAM_VALUE 1 resno 0-5
PARAM_VALUE 3 exclude_bars 0
DATA_SOURCE 1 resno $1
CAPABLE 0 21
HARD_MAX 1 resno 5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size s32min-s32max
NO_OVERFLOW_SIMPLE 2 size
LOCK2 &dev->mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/xe/xe_pci_rebar.c resize_bar() -> pci_resize_resource()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 resno 2
PARAM_VALUE 3 exclude_bars 0
DATA_SOURCE 1 resno $1
DATA_SOURCE 2 size r pci_rebar_bytes_to_size
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_resize_fb_bar() -> pci_resize_resource()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cfg_size 257-s32max
PARAM_VALUE 0 dev->error_state 0-2,4-u32max
PARAM_VALUE 1 resno 0
PARAM_VALUE 2 size s32min-32
PARAM_VALUE 3 exclude_bars 4,32
CAPPED_DATA 2 size 1
FUZZY_MAX 3 exclude_bars 32
BIT_INFO 3 exclude_bars 0x0,0x24
HARD_MAX 3 exclude_bars 32
RX_PATH
TASK_NOT_RUNNING