Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/btrfs/inode.c btrfs_writepage_fixup_worker() -> btrfs_set_extent_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.full 1
PARAM_VALUE 0 inode->block_rsv.space_info->clamp s32min-8
PARAM_VALUE 0 inode->block_rsv.space_info->flush 1
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->delalloc_bytes.lock.dep_map->name 0-255
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->delalloc_root_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->delalloc_roots.next 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->delalloc_roots.next->next 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->delalloc_roots.prev 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->delalloc_roots.prev->next 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->delalloc_roots.prev->prev 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->delayed_iputs_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->delayed_iputs_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->ordered_bytes.lock.dep_map->name 0-255
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->ordered_operations_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->ordered_roots.next 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->preempt_reclaim_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->fs_info->reclaim_bgs.prev->prev 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inode->block_rsv.space_info->priority_tickets.prev->next 643370198843097104
PARAM_VALUE 0 inode->block_rsv.space_info->priority_tickets.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inode->block_rsv.space_info->tickets.prev->next 643370198843097104
PARAM_VALUE 0 inode->block_rsv.space_info->tickets.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inode->io_tree.inode->root->fs_info->delalloc_bytes.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 inode->io_tree.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inode->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inode->ordered_tree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inode->root 4096-ptr_max
PARAM_VALUE 0 inode->root->delalloc_inodes.next->next 4096-ptr_max
PARAM_VALUE 0 inode->root->delalloc_inodes.next->prev 4096-ptr_max
PARAM_VALUE 0 inode->root->delalloc_inodes.prev->next 4096-ptr_max
PARAM_VALUE 0 inode->root->delalloc_inodes.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inode->root->delalloc_inodes.prev->next->prev 4096-ptr_max
PARAM_VALUE 0 inode->root->delalloc_inodes.prev->prev 4096-ptr_max
PARAM_VALUE 0 inode->root->delalloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inode->root->delalloc_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 inode->root->delalloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inode->root->delalloc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inode->root->delalloc_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inode->root->delalloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inode->root->delalloc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inode->root->fs_info->delayed_iput_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inode->root->fs_info->delayed_iputs_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 inode->root->fs_info->delayed_iputs_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inode->root->fs_info->flush_workers 4096-ptr_max
PARAM_VALUE 0 inode->root->fs_info->flush_workers->pending.counter s32min-s32max
PARAM_VALUE 0 inode->root->fs_info->sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 0 inode->root->fs_info->trans_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inode->root->fs_info->zone_size 1-u64max
PARAM_VALUE 0 inode->root->ordered_extent_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inode->root->ordered_extent_mutex.dep_map->name 0-255
PARAM_VALUE 0 inode->root->ordered_extent_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inode->root->ordered_extent_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inode->root->ordered_extent_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inode->root->ordered_extents.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inode->root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 extra_bits 0
PARAM_VALUE 4 cached_state 1535888038451412992
NO_OVERFLOW_SIMPLE 0 inode->csum_bytes
UNITS 1 start unit_byte
UNITS 2 end unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/relocation.c relocate_one_folio() -> btrfs_set_extent_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 3 extra_bits 0
PARAM_VALUE 4 cached_state 6026103247564840960
CAPPED_DATA 2 end 1
CAPPED_DATA 2 end 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start unit_byte
UNITS 2 end unit_byte
LOCK2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock

fs/btrfs/tests/inode-tests.c test_extent_accounting() -> btrfs_set_extent_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 1 start 0
PARAM_VALUE 2 end 134217727
PARAM_VALUE 3 extra_bits 0
PARAM_VALUE 4 cached_state 0

fs/btrfs/tests/inode-tests.c test_extent_accounting() -> btrfs_set_extent_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 1 start 134217728
PARAM_VALUE 2 end 0-u32max
PARAM_VALUE 3 extra_bits 0
PARAM_VALUE 4 cached_state 0
CAPPED_DATA 2 end 1
UNITS 2 end unit_byte

fs/btrfs/tests/inode-tests.c test_extent_accounting() -> btrfs_set_extent_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 1 start 67108864
PARAM_VALUE 2 end 0-u32max
PARAM_VALUE 3 extra_bits 0
PARAM_VALUE 4 cached_state 0
CAPPED_DATA 2 end 1
UNITS 2 end unit_byte

fs/btrfs/tests/inode-tests.c test_extent_accounting() -> btrfs_set_extent_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 1 start 0-u32max
PARAM_VALUE 2 end 0-u32max
PARAM_VALUE 3 extra_bits 0
PARAM_VALUE 4 cached_state 0
CAPPED_DATA 1 start 1
CAPPED_DATA 2 end 1

fs/btrfs/tests/inode-tests.c test_extent_accounting() -> btrfs_set_extent_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 1 start 0-u32max
PARAM_VALUE 2 end 0-u32max
PARAM_VALUE 3 extra_bits 0
PARAM_VALUE 4 cached_state 0
CAPPED_DATA 1 start 1
CAPPED_DATA 2 end 1
UNITS 1 start unit_byte

fs/btrfs/tests/inode-tests.c test_extent_accounting() -> btrfs_set_extent_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 1 start 0-u32max
PARAM_VALUE 2 end 0-u32max
PARAM_VALUE 3 extra_bits 0
PARAM_VALUE 4 cached_state 0
CAPPED_DATA 1 start 1
CAPPED_DATA 2 end 1
UNITS 1 start unit_byte