Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/btrfs/tree-log.c copy_items() -> btrfs_lookup_csums_list()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 3 list 2165390044210401280
PARAM_VALUE 3 list->next 2165390044210401280
PARAM_VALUE 3 list->prev 2165390044210401280
PARAM_VALUE 4 nowait 0
DATA_SOURCE 0 root r btrfs_csum_root

fs/btrfs/tree-log.c log_extent_csums() -> btrfs_lookup_csums_list()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 3 list 5677751436400840704
PARAM_VALUE 3 list->next 5677751436400840704
PARAM_VALUE 3 list->prev 5677751436400840704
PARAM_VALUE 4 nowait 0
DATA_SOURCE 0 root r btrfs_csum_root
UNITS 1 start unit_byte
UNITS 2 end unit_byte

fs/btrfs/tree-log.c replay_one_extent() -> btrfs_lookup_csums_list()

Type Parameter Key Value
PARAM_VALUE 3 list 2450304840125485056
PARAM_VALUE 3 list->next 2450304840125485056
PARAM_VALUE 3 list->prev 2450304840125485056
PARAM_VALUE 4 nowait 0
UNITS 1 start unit_byte
UNITS 2 end unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 3 list 0
DATA_SOURCE 0 root r btrfs_csum_root
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start unit_byte
UNITS 2 end unit_byte

fs/btrfs/relocation.c btrfs_reloc_clone_csums() -> btrfs_lookup_csums_list()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 3 list 1298320365041618944
PARAM_VALUE 3 list->next 1298320365041618944
PARAM_VALUE 3 list->prev 1298320365041618944
PARAM_VALUE 4 nowait 0
DATA_SOURCE 0 root r btrfs_csum_root
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start unit_byte
UNITS 2 end unit_byte

fs/btrfs/ioctl.c copy_csums_to_user() -> btrfs_lookup_csums_list()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 3 list 111278406547017728
PARAM_VALUE 3 list->next 111278406547017728
PARAM_VALUE 3 list->prev 111278406547017728
PARAM_VALUE 4 nowait 0
DATA_SOURCE 0 root r btrfs_csum_root
DATA_SOURCE 1 start $1
UNITS 1 start unit_byte
UNITS 2 end unit_byte
LOCK2 &vfs_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem