Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/dax/bus.c
- drivers/gpu/drm/xe/xe_exec.c, line 221
- drivers/gpu/drm/xe/xe_exec_queue.c
- drivers/gpu/drm/xe/xe_hw_engine_group.c, line 424
- drivers/gpu/drm/xe/xe_svm.c, line 1743
- drivers/gpu/drm/xe/xe_svm.h, line 464
- drivers/gpu/drm/xe/xe_validation.c, line 60
- drivers/virt/coco/guest/tsm-mr.c, line 54
- fs/btrfs/ioctl.c
- fs/netfs/locking.c
- include/linux/rwsem.h, line 261
- kernel/events/core.c, line 14066
- kernel/locking/rwsem.c, line 1593
Smatch caller information:
fs/netfs/locking.c netfs_start_io_direct() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/netfs/locking.c netfs_start_io_read() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/dax/bus.c available_size_show() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4655689054894678016 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/dax/bus.c create_show() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4655689054894678016 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/dax/bus.c dax_bus_probe() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 9147203094323507200 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/dax/bus.c seed_show() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4655689054894678016 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/dax/bus.c size_show() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 9147203094323507200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_validation.c xe_validation_lock() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_vm_madvise.c xe_vm_madvise_ioctl() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| LOCK2 | &vm->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/cxl/core/region.c class_rwsem_read_intr_constructor() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 1757414098808479744,1757414098808479904 |
| DATA_SOURCE | 0 | sem | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/virt/coco/guest/tsm-mr.c tm_digest_read() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_exec_queue.c xe_exec_queue_create_ioctl() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
drivers/gpu/drm/xe/xe_exec_queue.c xe_exec_queue_create_ioctl() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
drivers/cxl/core/memdev.c class_rwsem_read_intr_constructor() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 1757414098808479744,1757414098808479904 |
| DATA_SOURCE | 0 | sem | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/pci/tsm.c class_rwsem_read_intr_constructor() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 7401425708588138496 |
| DATA_SOURCE | 0 | sem | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
fs/btrfs/ioctl.c btrfs_ioctl_get_csums() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
fs/btrfs/ioctl.c btrfs_ioctl_subvol_sync() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
drivers/gpu/drm/xe/xe_hw_engine_group.c xe_hw_engine_group_get_mode() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
drivers/cxl/core/edac.c class_rwsem_read_intr_constructor() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 1757414098808479744,1757414098808479904 |
| DATA_SOURCE | 0 | sem | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/xe/xe_svm.c xe_svm_alloc_vram() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4441162509552427008 |
| PARAM_VALUE | 0 | sem->count.counter | 0 |
| PARAM_VALUE | 0 | sem->dep_map.name | 406827359741669376 |
| PARAM_VALUE | 0 | sem->dep_map.wait_type_inner | 4 |
| PARAM_VALUE | 0 | sem->first_waiter | 0 |
| PARAM_VALUE | 0 | sem->magic | 4441162509552427008 |
| PARAM_VALUE | 0 | sem->owner.counter | 0 |
| PARAM_VALUE | 0 | sem->wait_lock.magic | 0 |
| PARAM_VALUE | 0 | sem->wait_lock.owner | 0 |
| PARAM_VALUE | 0 | sem->wait_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sem->wait_lock.raw_lock.val.counter | 0 |
| TERMINATED | 0 | sem->dep_map.name | 1 |
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_exec.c xe_exec_ioctl() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| HALF_LOCKED2 | &group->mode_sem | ||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock |
drivers/gpu/drm/xe/xe_exec.c xe_exec_ioctl() -> down_read_interruptible()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &group->mode_sem | ||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |