Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/extent-io-tree.c btrfs_extent_io_tree_release() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &fs_info->commit_root_sem | ||
| HALF_LOCKED2 | global &uuid_mutex | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c wait_extent_bit() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/ordered-data.c btrfs_wait_ordered_extents() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &root->ordered_extent_lock | ||
| LOCK2 | &root->ordered_extent_mutex | ||
| HALF_LOCKED2 | &fs_info->ordered_operations_mutex | ||
| TYPE_LOCK | (struct btrfs_root)->ordered_extent_lock | ||
| TYPE_LOCK | (struct btrfs_root)->ordered_extent_mutex |
net/sunrpc/xprt.c xprt_transmit() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &xprt->queue_lock | ||
| TYPE_LOCK | (struct rpc_xprt)->queue_lock |
fs/btrfs/inode.c start_delalloc_inodes() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &root->delalloc_lock | ||
| LOCK2 | &root->delalloc_mutex | ||
| HALF_LOCKED2 | &fs_info->delalloc_root_mutex | ||
| TYPE_LOCK | (struct btrfs_root)->delalloc_lock | ||
| TYPE_LOCK | (struct btrfs_root)->delalloc_mutex |
fs/ocfs2/dlm/dlmthread.c dlm_run_purge_list() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &dlm->spinlock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/xfs/xfs_zone_alloc.c xfs_select_open_zone_lru() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &zi->zi_open_zones_lock | ||
| TYPE_LOCK | (struct xfs_zone_info)->zi_open_zones_lock |
fs/xfs/xfs_zone_alloc.c xfs_select_open_zone_mru() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &zi->zi_open_zones_lock | ||
| TYPE_LOCK | (struct xfs_zone_info)->zi_open_zones_lock |
fs/ocfs2/dlm/dlmdomain.c dlm_migrate_all_locks() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dlm->spinlock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmdomain.c dlm_migrate_all_locks() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dlm->spinlock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
drivers/gpu/drm/i915/gem/i915_gem_object.c i915_gem_close_object() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &obj->lut_lock | ||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| TYPE_LOCK | (struct drm_i915_gem_object)->lut_lock |
fs/btrfs/free-space-cache.c __btrfs_remove_free_space_cache() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &caching_ctl->mutex | ||
| HALF_LOCKED2 | &ctl->tree_lock | ||
| HALF_LOCKED2 | &fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &tmp_ctl.tree_lock | ||
| TYPE_LOCK | (struct btrfs_free_space_ctl)->tree_lock |
fs/btrfs/free-space-cache.c btrfs_remove_free_space_cache() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctl->tree_lock | ||
| HALF_LOCKED2 | &fs_info->chunk_mutex | ||
| HALF_LOCKED2 | &fs_info->remap_mutex | ||
| TYPE_LOCK | (struct btrfs_free_space_ctl)->tree_lock |
fs/btrfs/free-space-cache.c copy_free_space_cache() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 2308521935435767832 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &caching_ctl->mutex | ||
| LOCK2 | &fs_info->commit_root_sem | ||
| LOCK2 | &tmp_ctl.tree_lock | ||
| HALF_LOCKED2 | &ctl->tree_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_caching_control)->mutex | ||
| TYPE_LOCK | (struct btrfs_free_space_ctl)->tree_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->commit_root_sem |
fs/btrfs/ref-verify.c btrfs_free_ref_cache() -> __cond_resched_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->ref_verify_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->ref_verify_lock |