Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/btrfs/tree-log.c btrfs_log_holes() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
DATA_SOURCE 0 path $2

fs/btrfs/tree-log.c btrfs_log_prealloc_extents() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->nodes 0
PARAM_VALUE 0 *path->slots s32min-s32max
DATA_SOURCE 0 path $2

fs/btrfs/file.c find_desired_extent() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
DATA_SOURCE 0 path r btrfs_alloc_path
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/inode.c btrfs_swap_activate() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
DATA_SOURCE 0 path r btrfs_alloc_path
CAPABLE 0 21
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/inode.c can_nocow_extent() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
DATA_SOURCE 0 path r btrfs_alloc_path
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/inode.c can_nocow_file_extent() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
DATA_SOURCE 0 path $0
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/inode.c run_delalloc_nocow() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
DATA_SOURCE 0 path r btrfs_alloc_path
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mapping->invalidate_lock

fs/btrfs/file-item.c btrfs_extent_item_to_extent_map() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 2040697420915535872
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
DATA_SOURCE 0 path $1
LOCK2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/defrag.c defrag_get_extent() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 2040697420915535872
LOCK2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/ioctl.c btrfs_ioctl_get_csums() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
DATA_SOURCE 0 path r btrfs_alloc_path
LOCK2 &vfs_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/ioctl.c btrfs_ioctl_get_csums() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
DATA_SOURCE 0 path r btrfs_alloc_path
LOCK2 &vfs_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/fiemap.c extent_fiemap() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->nodes 0
PARAM_VALUE 0 *path->slots s32min-s32max
DATA_SOURCE 0 path r btrfs_alloc_path
LOCK2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/fiemap.c fiemap_find_last_extent_offset() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
DATA_SOURCE 0 path $1
LOCK2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/fiemap.c fiemap_find_last_extent_offset() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
DATA_SOURCE 0 path $1
LOCK2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/send.c get_last_extent() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
DATA_SOURCE 0 path r alloc_path_for_send

fs/btrfs/send.c maybe_send_hole() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
DATA_SOURCE 0 path $1

fs/btrfs/send.c range_is_hole_in_parent() -> btrfs_file_extent_end()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
DATA_SOURCE 0 path r alloc_path_for_send

fs/btrfs/send.c send_write_or_clone() -> btrfs_file_extent_end()

Type Parameter Key Value
DATA_SOURCE 0 path $1