Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/delayed-inode.c btrfs_delete_delayed_dir_index() -> btrfs_delayed_item_reserve_metadata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->ref_verify_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->transaction->dirty_pages.inode->delalloc_inodes.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->transaction->dirty_pages.inode->root->delalloc_root.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->transaction->pinned_extents.inode->delalloc_inodes.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->transaction->pinned_extents.inode->root->delalloc_root.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | item | 4096-ptr_max |
| PARAM_VALUE | 1 | item->bytes_reserved | 0 |
| PARAM_VALUE | 1 | item->data_len | 0 |
| PARAM_VALUE | 1 | item->delayed_node | 4096-ptr_max |
| PARAM_VALUE | 1 | item->delayed_node->root | 4096-ptr_max |
| PARAM_VALUE | 1 | item->logged | 0 |
| PARAM_VALUE | 1 | item->refs.refs.counter | 1 |
| PARAM_VALUE | 1 | item->type | 1 |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 1 | item | 104 |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | item | r btrfs_alloc_delayed_item |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | item->delayed_node->inode_id | |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem |
fs/btrfs/delayed-inode.c btrfs_insert_delayed_dir_index() -> btrfs_delayed_item_reserve_metadata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | item | 4096-ptr_max |
| PARAM_VALUE | 1 | item->bytes_reserved | 0 |
| PARAM_VALUE | 1 | item->data | 4096-ptr_max |
| PARAM_VALUE | 1 | item->data_len | 30-u16max |
| PARAM_VALUE | 1 | item->delayed_node | 4096-ptr_max |
| PARAM_VALUE | 1 | item->delayed_node->root | 4096-ptr_max |
| PARAM_VALUE | 1 | item->logged | 0 |
| PARAM_VALUE | 1 | item->rb_node.__rb_parent_color | 1 |
| PARAM_VALUE | 1 | item->rb_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 1 | item->rb_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 1 | item->refs.refs.counter | 1 |
| PARAM_VALUE | 1 | item->type | 0 |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 1 | item | 104-65639 |
| BUF_SIZE | 1 | item | 104-65639 |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | item | r btrfs_alloc_delayed_item |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | item->delayed_node->inode_id | |
| LOCK2 | &delayed_node->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct btrfs_delayed_node)->mutex |