Defined in 2 files as a function:
- include/linux/io-mapping.h, line 107 (as a function)
- include/linux/io-mapping.h, line 154 (as a function)
Referenced in 11 files:
- drivers/gpu/drm/i915/gem/i915_gem_lmem.c, line 25
- drivers/gpu/drm/i915/gem/i915_gem_object.c, line 500
- drivers/gpu/drm/i915/gem/i915_gem_stolen.c, line 621
- drivers/gpu/drm/i915/gt/selftest_reset.c
- drivers/gpu/drm/i915/gvt/kvmgt.c, line 784
- drivers/gpu/drm/i915/i915_gem.c
- drivers/gpu/drm/i915/i915_gpu_error.c
- drivers/gpu/drm/i915/i915_vma.c, line 607
- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c, line 178
- drivers/net/ethernet/mellanox/mlx4/pd.c, line 208
- include/linux/io-mapping.h
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv10.c io_mapping_map_atomic_wc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,4096-4294963200 |
| PARAM_VALUE | 2 | size | 4096 |
| BUF_SIZE | 0 | mapping | 32 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| BIT_INFO | 1 | offset | 0x0,0xfffff000 |
| BIT_INFO | 1 | offset | 0x0,0xfffff000 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->mutex | ||
| HALF_LOCKED2 | &disp->super.mutex | ||
| HALF_LOCKED2 | &outp->dp.mutex |
drivers/gpu/drm/qxl/qxl_object.c io_mapping_map_atomic_wc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | size | 4096 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | offset | 0,4096-s32max,18446744071562067968-18446744073709547520[c] |
| UNITS | 1 | offset | unit_byte |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c io_mapping_map_atomic_wc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| HALF_LOCKED2 | pool->obj->base.resv |
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_kmap() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-u32max |
| PARAM_VALUE | 2 | size | 1-u64max |
| CAPPED_DATA | 2 | size | 1 |
| CAPPED_DATA | 2 | size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_byte |
| LOCK2 | &imem->base.mutex | ||
| LOCK2 | &imem->mutex | ||
| HALF_LOCKED2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_instmem)->mutex |
drivers/gpu/drm/ttm/ttm_resource.c io_mapping_map_local_wc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | size | 4096 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_byte |
drivers/gpu/drm/i915/i915_vma.c i915_vma_pin_iomap() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &helper->lock | ||
| HALF_LOCKED2 | dpt->obj->base.resv | ||
| HALF_LOCKED2 | vma->obj->base.resv |
drivers/gpu/drm/i915/i915_gem_gtt.c io_mapping_map_atomic_wc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 1 | offset | unit_byte |
drivers/gpu/drm/i915/i915_gpu_error.c i915_vma_coredump_create() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &ggtt->error_mutex | ||
| HALF_LOCKED2 | &capture_mutex | ||
| TYPE_LOCK | (struct i915_ggtt)->error_mutex |
drivers/gpu/drm/i915/i915_gpu_error.c i915_vma_coredump_create() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_byte |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &capture_mutex |
drivers/gpu/drm/i915/gvt/kvmgt.c intel_vgpu_aperture_rw() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,4096-1099511623680 |
| PARAM_VALUE | 2 | size | 1-4103 |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 2 | size | 1 |
| BIT_INFO | 1 | offset | 0x0,0xfffffff000 |
| USER_DATA | 1 | offset | 0,4096-999997440[c] |
| USER_DATA | 2 | size | 1-2576[c] |
| UNITS | 2 | size | unit_byte |
drivers/gpu/drm/i915/gem/i915_gem_object.c i915_gem_object_read_from_page_iomap() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/gem/i915_gem_lmem.c i915_gem_object_lmem_io_map() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| DATA_SOURCE | 2 | size | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | size | |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &helper->lock | ||
| HALF_LOCKED2 | dpt->obj->base.resv | ||
| HALF_LOCKED2 | obj->base.resv |
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c io_mapping_map_atomic_wc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_byte |
| HALF_LOCKED2 | __flags |
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c io_mapping_map_atomic_wc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,4096-4294963200 |
| PARAM_VALUE | 2 | size | 4096 |
| BUF_SIZE | 0 | mapping | 32 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| BIT_INFO | 1 | offset | 0x0,0xfffff000 |
| BIT_INFO | 1 | offset | 0x0,0xfffff000 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->mutex | ||
| HALF_LOCKED2 | &disp->super.mutex | ||
| HALF_LOCKED2 | &outp->dp.mutex |
drivers/gpu/drm/i915/gt/intel_reset.c __igt_reset_stolen() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
drivers/gpu/drm/i915/gt/intel_reset.c __igt_reset_stolen() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
drivers/net/ethernet/mellanox/mlx4/pd.c mlx4_bf_alloc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 1-u64max |
| PARAM_VALUE | 1 | offset | 0-s32max,18446744071562067968-18446744073709547520 |
| PARAM_VALUE | 2 | size | 4096 |
| BIT_INFO | 1 | offset | 0x0,0xfffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_byte |
| UNITS | 2 | size | unit_byte |
| LOCK2 | &priv->bf_mutex | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| TYPE_LOCK | (struct mlx4_priv)->bf_mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c io_mapping_map_atomic_wc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,4096-u64max |
| PARAM_VALUE | 2 | size | 4096 |
| BUF_SIZE | 0 | mapping | (-1),32 |
| BUF_SIZE | 0 | mapping | (-1),32 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| BIT_INFO | 1 | offset | 0x0,0xfff000 |
| BIT_INFO | 1 | offset | 0x0,0xfff000 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->mutex | ||
| HALF_LOCKED2 | &disp->super.mutex | ||
| HALF_LOCKED2 | &outp->dp.mutex |
drivers/gpu/drm/i915/i915_gem.c ggtt_write() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 1 | offset | 0-u32max[c][u] |
| UNITS | 2 | size | unit_byte |
drivers/gpu/drm/i915/i915_gem.c gtt_user_read() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 1 | offset | 0-u32max[c][u] |
| UNITS | 2 | size | unit_byte |
drivers/gpu/drm/i915/i915_gem.c io_mapping_map_atomic_wc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 1 | offset | 0-u32max[c][u] |
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c io_mapping_map_atomic_wc() -> io_mapping_map_wc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,4096-u64max |
| PARAM_VALUE | 2 | size | 4096 |
| BUF_SIZE | 0 | mapping | (-1),32 |
| BUF_SIZE | 0 | mapping | (-1),32 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| BIT_INFO | 1 | offset | 0x0,0x1fff000 |
| BIT_INFO | 1 | offset | 0x0,0x1fff000 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->mutex | ||
| HALF_LOCKED2 | &disp->super.mutex | ||
| HALF_LOCKED2 | &outp->dp.mutex |