Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/tree-log.c btrfs_sync_log() -> wait_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->delayed_iput_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->fs_info->flush_workers->pending.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | root->log_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | root->log_transid_committed | s32min-2147483646 |
| PARAM_VALUE | 0 | root->qgroup_meta_rsv_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | transid | (-2147483647)-s32max |
| CAPPED_DATA | 0 | root->log_transid_committed | 1 |
| CAPPED_DATA | 0 | &root->log_mutex | 1 |
| DATA_SOURCE | 0 | root | $1 |
| PARAM_COMPARE | 1 | transid | > $0->log_transid_committed |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &root->log_mutex | |
| TYPE_LOCK | (struct btrfs_root)->log_mutex |
fs/btrfs/tree-log.c btrfs_sync_log() -> wait_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->delayed_iput_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->fs_info->flush_workers->pending.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_commit | 4096-ptr_max |
| PARAM_VALUE | 0 | root->log_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | root->log_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | root->log_transid_committed | s32min-2147483646 |
| PARAM_VALUE | 0 | root->qgroup_meta_rsv_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | root->log_transid | 1 |
| CAPPED_DATA | 0 | root->log_transid_committed | 1 |
| CAPPED_DATA | 0 | &root->log_mutex | 1 |
| CAPPED_DATA | 1 | transid | 1 |
| DATA_SOURCE | 0 | root | $1 |
| PARAM_COMPARE | 0 | root->log_transid | > $0->log_transid_committed |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &root->log_mutex | |
| TYPE_LOCK | (struct btrfs_root)->log_mutex |
fs/btrfs/tree-log.c btrfs_sync_log() -> wait_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,5297,4573560380487,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | root->log_commit | 4096-ptr_max |
| PARAM_VALUE | 0 | root->log_ctxs | 4096-ptr_max |
| PARAM_VALUE | 0 | root->log_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | root->log_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | root->log_transid | (-2147483647)-s32max |
| PARAM_VALUE | 0 | root->log_transid_committed | s32min-2147483646 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | transid | (-2147483647)-s32max |
| CAPPED_DATA | 0 | root->log_transid_committed | 1 |
| CAPPED_DATA | 0 | &root->log_mutex | 1 |
| PARAM_COMPARE | 0 | root->log_transid_committed | < $1 |
| PARAM_COMPARE | 1 | transid | > $0->log_transid_committed |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &root->log_mutex | |
| TYPE_LOCK | (struct btrfs_root)->log_mutex |
fs/btrfs/tree-log.c btrfs_sync_log() -> wait_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,5297,4573560380487,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | root->log_commit | 4096-ptr_max |
| PARAM_VALUE | 0 | root->log_ctxs | 4096-ptr_max |
| PARAM_VALUE | 0 | root->log_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | root->log_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | root->log_transid | (-2147483647)-s32max |
| PARAM_VALUE | 0 | root->log_transid_committed | s32min-2147483646 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | root->log_transid | 1 |
| CAPPED_DATA | 0 | root->log_transid_committed | 1 |
| CAPPED_DATA | 0 | &root->log_mutex | 1 |
| CAPPED_DATA | 1 | transid | 1 |
| PARAM_COMPARE | 0 | root->log_transid | > $0->log_transid_committed |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &root->log_mutex | |
| TYPE_LOCK | (struct btrfs_root)->log_mutex |
fs/btrfs/tree-log.c join_running_log_trans() -> wait_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->zone_size | 1-u64max |
| PARAM_VALUE | 0 | root->log_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | root->log_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_root | 1-u64max |
| CAPPED_DATA | 0 | &root->log_mutex | 1 |
| DATA_SOURCE | 0 | root | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &root->log_mutex | |
| TYPE_LOCK | (struct btrfs_root)->log_mutex |
fs/btrfs/tree-log.c start_log_trans() -> wait_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->zone_size | 1-u64max |
| PARAM_VALUE | 0 | root->log_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->log_mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | root->log_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | root->log_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->log_root | 1-u64max |
| CAPPED_DATA | 0 | &root->log_mutex | 1 |
| DATA_SOURCE | 0 | root | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &root->log_mutex | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct btrfs_root)->log_mutex |