Defined in 2 files as a function:
- fs/btrfs/delayed-inode.h, line 218 (as a function)
- fs/btrfs/delayed-inode.h, line 243 (as a function)
Referenced in 1 files:
Smatch caller information:
fs/btrfs/delayed-inode.c btrfs_first_delayed_node() -> btrfs_delayed_node_ref_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4093421806976221184,4771710377557827584,8881730550733520896 |
| PARAM_VALUE | 2 | gfp | 2080 |
| DATA_SOURCE | 1 | tracker | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->delayed_root.lock | ||
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex | ||
| TYPE_LOCK | (struct btrfs_delayed_root)->lock |
fs/btrfs/delayed-inode.c btrfs_first_prepared_delayed_node() -> btrfs_delayed_node_ref_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->p_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | node->p_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 8144832388821348352 |
| PARAM_VALUE | 2 | gfp | 2080 |
| DATA_SOURCE | 1 | tracker | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &delayed_root->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_delayed_root)->lock |
fs/btrfs/delayed-inode.c btrfs_get_delayed_node() -> btrfs_delayed_node_ref_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3136 |
| DATA_SOURCE | 1 | tracker | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id |
fs/btrfs/delayed-inode.c btrfs_get_delayed_node() -> btrfs_delayed_node_ref_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080 |
| DATA_SOURCE | 0 | node | r xa_load |
| DATA_SOURCE | 1 | tracker | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id | |
| LOCK2 | &(&root->delayed_nodes)->xa_lock |
fs/btrfs/delayed-inode.c btrfs_get_delayed_node() -> btrfs_delayed_node_ref_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080 |
| DATA_SOURCE | 0 | node | r xa_load |
| DATA_SOURCE | 1 | tracker | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id | |
| LOCK2 | &(&root->delayed_nodes)->xa_lock |
fs/btrfs/delayed-inode.c btrfs_get_delayed_node() -> btrfs_delayed_node_ref_tracker_alloc()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080 |
| DATA_SOURCE | 0 | node | r xa_load |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id | |
| LOCK2 | &(&root->delayed_nodes)->xa_lock |
fs/btrfs/delayed-inode.c btrfs_get_or_create_delayed_node() -> btrfs_delayed_node_ref_tracker_alloc()
| 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->refs.refs.counter | 2 |
| PARAM_VALUE | 0 | node->root | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 2915424815329751040,5506771882310701056,6006071233659629568,7379398248218955776 |
| PARAM_VALUE | 2 | gfp | 3136 |
| DATA_SOURCE | 0 | node | r kmem_cache_alloc_noprof |
| DATA_SOURCE | 1 | tracker | $1 |
| 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_alloc()
| 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 | 2 | gfp | 3136 |
| DATA_SOURCE | 0 | node | r kmem_cache_alloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | node->inode_id |
fs/btrfs/delayed-inode.c btrfs_kill_all_delayed_nodes() -> btrfs_delayed_node_ref_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080 |
| NOCHECK_CALL | |||
| LOCK2 | &(&root->delayed_nodes)->xa_lock | ||
| LOCK2 | &fs_info->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex |
fs/btrfs/delayed-inode.c btrfs_next_delayed_node() -> btrfs_delayed_node_ref_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4093421806976221184,4771710377557827584 |
| PARAM_VALUE | 1 | tracker->tracker | 0,4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080 |
| DATA_SOURCE | 1 | tracker | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &delayed_root->lock | ||
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex | ||
| TYPE_LOCK | (struct btrfs_delayed_root)->lock |
fs/btrfs/delayed-inode.c btrfs_queue_delayed_node() -> btrfs_delayed_node_ref_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->count | s32min-(-1),1-s32max |
| 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->n_list.next | 4096-ptr_max |
| 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->p_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | node->root | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080 |
| DATA_SOURCE | 0 | node | $1 |
| 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 |