Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/page_io.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|
fs/splice.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/aio.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|
fs/erofs/fileio.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/overlayfs/file.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/seq_file.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|
fs/ext4/fast_commit.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/read_write.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/f2fs/checkpoint.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &io->io_rwsem.internal_rwsem |
fs/cachefiles/io.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gem/i915_gem_shmem.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|
mm/filemap.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
drivers/accel/habanalabs/common/hldio.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|
block/ioprio.c get_task_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->alloc_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | p | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &p->alloc_lock | |
| HALF_LOCKED2 | global &tasklist_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct task_struct)->alloc_lock |
block/blk-core.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dcc->cmd_lock | ||
| HALF_LOCKED2 | &fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &fs_info->tree_log_mutex | ||
| HALF_LOCKED2 | &iclog->ic_sema | ||
| HALF_LOCKED2 | &info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &log->io_mutex | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &zmd->mblk_flush_lock | ||
| HALF_LOCKED2 | &zmd->mblk_sem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &floppy_mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex |
fs/nfsd/vfs.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|
fs/fuse/passthrough.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/btrfs/ioctl.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/iomap/buffered-io.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|
io_uring/rw.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | &sqd->lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
fs/nfs/localio.c get_current_ioprio() -> __get_task_ioprio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |