Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/extent_io.c alloc_dummy_extent_buffer() -> attach_extent_buffer_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->folio_shift | 12 |
| PARAM_VALUE | 0 | eb->folio_size | 4096 |
| PARAM_VALUE | 0 | eb->folios | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->allocated_ebs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->allocated_ebs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->allocated_ebs.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->eb_leak_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | eb->leak_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->leak_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->lock.count.counter | 0 |
| PARAM_VALUE | 0 | eb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | eb->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | eb->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | eb->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | eb->refs.refs.counter | 1 |
| PARAM_VALUE | 0 | eb->writeback_inhibitors.counter | 0 |
| PARAM_VALUE | 2 | prealloc | 0 |
| DATA_SOURCE | 0 | eb | r __alloc_extent_buffer |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | eb->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | eb->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | eb->len | |
| NO_OVERFLOW_SIMPLE | 0 | eb->start | |
| HALF_LOCKED2 | &eb->lock |
fs/btrfs/extent_io.c attach_eb_folio_to_filemap() -> attach_extent_buffer_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->folios | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->btree_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->btree_inode->i_mapping->i_private_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| CAPPED_DATA | 0 | eb | 1 |
| DATA_SOURCE | 0 | eb | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &mapping->i_private_lock | ||
| TYPE_LOCK | (struct address_space)->i_private_lock |
fs/btrfs/extent_io.c btrfs_clone_extent_buffer() -> attach_extent_buffer_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->folio_shift | 12 |
| PARAM_VALUE | 0 | eb->folio_size | 4096 |
| PARAM_VALUE | 0 | eb->folios | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->allocated_ebs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->allocated_ebs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->allocated_ebs.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->eb_leak_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | eb->leak_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->leak_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->lock.count.counter | 0 |
| PARAM_VALUE | 0 | eb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | eb->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | eb->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | eb->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | eb->refs.refs.counter | 1 |
| PARAM_VALUE | 0 | eb->writeback_inhibitors.counter | 0 |
| PARAM_VALUE | 2 | prealloc | 0 |
| DATA_SOURCE | 0 | eb | r __alloc_extent_buffer |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | eb->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | eb->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | eb->len | |
| NO_OVERFLOW_SIMPLE | 0 | eb->start | |
| HALF_LOCKED2 | &fs_info->qgroup_rescan_lock | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem | ||
| HALF_LOCKED2 | &src->lock |