Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/btrfs/bio.c, line 730
- fs/btrfs/block-group.c, line 1017
- fs/btrfs/delayed-inode.c, line 1394
- fs/btrfs/inode.c
- fs/btrfs/ordered-data.c
- fs/btrfs/qgroup.c
Smatch caller information:
fs/btrfs/ordered-data.c btrfs_queue_ordered_fn() -> btrfs_queue_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | work | 4096-ptr_max |
| PARAM_VALUE | 1 | work->flags | 0 |
| PARAM_VALUE | 1 | work->func | 1225673595354587136 |
| PARAM_VALUE | 1 | work->ordered_func | 0 |
| PARAM_VALUE | 1 | work->ordered_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | work->ordered_list.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/ordered-data.c btrfs_wait_ordered_extents() -> btrfs_queue_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | work | 4096-ptr_max |
| PARAM_VALUE | 1 | work->flags | 0 |
| PARAM_VALUE | 1 | work->func | 309831683977486336 |
| PARAM_VALUE | 1 | work->ordered_func | 0 |
| PARAM_VALUE | 1 | work->ordered_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | work->ordered_list.prev | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &root->ordered_extent_mutex | ||
| HALF_LOCKED2 | &fs_info->ordered_operations_mutex | ||
| TYPE_LOCK | (struct btrfs_root)->ordered_extent_mutex |
fs/btrfs/delayed-inode.c btrfs_wq_run_delayed_node() -> btrfs_queue_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wq | 4096-ptr_max |
| PARAM_VALUE | 0 | wq->thresh | s32min-s32max |
| PARAM_VALUE | 1 | work | 4096-ptr_max |
| PARAM_VALUE | 1 | work->flags | 0 |
| PARAM_VALUE | 1 | work->func | 8283852427935363072 |
| PARAM_VALUE | 1 | work->ordered_func | 0 |
| PARAM_VALUE | 1 | work->ordered_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | work->ordered_list.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/btrfs/inode.c run_delalloc_compressed() -> btrfs_queue_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | work | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/inode.c start_delalloc_inodes() -> btrfs_queue_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | work | 4096-ptr_max |
| PARAM_VALUE | 1 | work->flags | 0 |
| PARAM_VALUE | 1 | work->func | 7477802917709094912 |
| PARAM_VALUE | 1 | work->ordered_func | 0 |
| PARAM_VALUE | 1 | work->ordered_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | work->ordered_list.prev | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &root->delalloc_mutex | ||
| HALF_LOCKED2 | &fs_info->delalloc_root_mutex | ||
| TYPE_LOCK | (struct btrfs_root)->delalloc_mutex |
fs/btrfs/qgroup.c btrfs_qgroup_rescan() -> btrfs_queue_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | work | 4096-ptr_max |
| PARAM_VALUE | 1 | work->flags | 0 |
| PARAM_VALUE | 1 | work->func | 8089811379572027392 |
| PARAM_VALUE | 1 | work->ordered_func | 0 |
| PARAM_VALUE | 1 | work->ordered_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | work->ordered_list.prev | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->qgroup_rescan_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->qgroup_rescan_lock |
fs/btrfs/qgroup.c btrfs_qgroup_rescan_resume() -> btrfs_queue_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | work | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->qgroup_rescan_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->qgroup_rescan_lock |
fs/btrfs/qgroup.c btrfs_quota_enable() -> btrfs_queue_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | work | 4096-ptr_max |
| PARAM_VALUE | 1 | work->flags | 0 |
| PARAM_VALUE | 1 | work->func | 8089811379572027392 |
| PARAM_VALUE | 1 | work->ordered_func | 0 |
| PARAM_VALUE | 1 | work->ordered_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | work->ordered_list.prev | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->qgroup_ioctl_lock | ||
| LOCK2 | &fs_info->subvol_sem | ||
| TYPE_LOCK | (struct btrfs_fs_info)->qgroup_ioctl_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->subvol_sem |
fs/btrfs/block-group.c btrfs_cache_block_group() -> btrfs_queue_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | work | 4096-ptr_max |
| PARAM_VALUE | 1 | work->flags | 0 |
| PARAM_VALUE | 1 | work->func | 2080431101377433600 |
| PARAM_VALUE | 1 | work->ordered_func | 0 |
| PARAM_VALUE | 1 | work->ordered_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | work->ordered_list.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &space_info->groups_sem |
fs/btrfs/bio.c btrfs_wq_submit_bio() -> btrfs_queue_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | work | 4096-ptr_max |
| PARAM_VALUE | 1 | work->flags | 0 |
| PARAM_VALUE | 1 | work->func | 8600479904920678400 |
| PARAM_VALUE | 1 | work->ordered_func | 8916170857545814016 |
| PARAM_VALUE | 1 | work->ordered_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | work->ordered_list.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |