Defined in 2 files as a function:
- fs/btrfs/delayed-inode.h, line 228 (as a function)
- fs/btrfs/delayed-inode.h, line 250 (as a function)
Referenced in 1 files:
Smatch caller information:
fs/btrfs/delayed-inode.c __btrfs_release_delayed_node() -> btrfs_delayed_node_ref_tracker_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | node->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | node->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | node->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->n_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | node->n_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | node->ref_dir.dir.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | node->root | 4096-ptr_max |
| PARAM_VALUE | 0 | node->root->fs_info->delayed_root.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| CAPPED_DATA | 0 | &node->mutex | 1 |
| DATA_SOURCE | 0 | node | $0 |
| DATA_SOURCE | 1 | tracker | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id |
fs/btrfs/delayed-inode.c btrfs_assert_delayed_root_empty() -> btrfs_delayed_node_ref_tracker_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->root | 4096-ptr_max |
| PARAM_VALUE | 0 | node->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 8881730550733520896 |
| PARAM_VALUE | 1 | tracker->tracker | 0,4096-ptr_max |
| DATA_SOURCE | 0 | node | r btrfs_first_delayed_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->transaction_kthread_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->transaction_kthread_mutex |
fs/btrfs/delayed-inode.c btrfs_dequeue_delayed_node() -> btrfs_delayed_node_ref_tracker_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->count | 0 |
| PARAM_VALUE | 0 | node->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | node->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | node->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | node->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | node->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | node->node_list_tracker.tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | node->node_list_tracker.tracker->dead | 0-1 |
| PARAM_VALUE | 0 | node->node_list_tracker.tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | node->root | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id | |
| LOCK2 | &root->lock | ||
| LOCK2 | 0 | &node->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_delayed_node)->mutex | ||
| TYPE_LOCK | (struct btrfs_delayed_root)->lock |
fs/btrfs/delayed-inode.c btrfs_get_or_create_delayed_node() -> btrfs_delayed_node_ref_tracker_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->ref_dir.dir->class | 0-255 |
| PARAM_VALUE | 0 | node->ref_dir.dir.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | node->ref_dir.dir.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | node->refs.refs.counter | 2 |
| PARAM_VALUE | 0 | node->root | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 2915424815329751040,5506771882310701056,6006071233659629568,7379398248218955776 |
| DATA_SOURCE | 0 | node | r kmem_cache_alloc_noprof |
| DATA_SOURCE | 1 | tracker | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id |
fs/btrfs/delayed-inode.c btrfs_get_or_create_delayed_node() -> btrfs_delayed_node_ref_tracker_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->ref_dir.dir->class | 0-255 |
| PARAM_VALUE | 0 | node->ref_dir.dir.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | node->ref_dir.dir.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | node->refs.refs.counter | 2 |
| PARAM_VALUE | 0 | node->root | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| DATA_SOURCE | 0 | node | r kmem_cache_alloc_noprof |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id |
fs/btrfs/delayed-inode.c btrfs_log_get_delayed_items() -> btrfs_delayed_node_ref_tracker_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | node->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | node->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | node->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->refs.refs.counter | s32min-(-1),2-s32max |
| PARAM_VALUE | 0 | node->root | 4096-ptr_max |
| PARAM_VALUE | 0 | node->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 3045105940253511680 |
| PARAM_VALUE | 1 | tracker->tracker | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &node->mutex | 1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id |
fs/btrfs/delayed-inode.c btrfs_log_put_delayed_items() -> btrfs_delayed_node_ref_tracker_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | node->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | node->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | node->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->refs.refs.counter | s32min-(-1),2-s32max |
| PARAM_VALUE | 0 | node->root | 4096-ptr_max |
| PARAM_VALUE | 0 | node->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 7237036887382458368 |
| PARAM_VALUE | 1 | tracker->tracker | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &node->mutex | 1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id |
fs/btrfs/delayed-inode.c btrfs_readdir_get_delayed_items() -> btrfs_delayed_node_ref_tracker_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | node->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | node->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | node->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | node->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | node->root | 4096-ptr_max |
| PARAM_VALUE | 0 | node->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4341657806831542272 |
| PARAM_VALUE | 1 | tracker->tracker | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &node->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id | |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |