Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/file.c btrfs_check_nocow_lock() -> can_nocow_extent()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->flags 2-u32max
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->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 inode->root->fs_info->zone_size 1-u64max
PARAM_VALUE 1 offset 0-18446744073709551614
PARAM_VALUE 2 len 1590083735416881152
PARAM_VALUE 3 file_extent 0
CAPPED_DATA 1 offset 1
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 inode $0
DATA_SOURCE 4 nowait $3
BIT_INFO 4 nowait 0x0,0x0
NOSPEC 1 offset
NOSPEC 1 offset
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 offset 0-s32max[c]
USER_DATA 2 *len 2-9223372036854775808[c]
USER_DATA 4 nowait 0-1[c]
UNITS 1 offset unit_byte
USER_PTR 2 len

fs/btrfs/direct-io.c btrfs_get_blocks_direct_write() -> can_nocow_extent()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 2 len 2511180978470445056
PARAM_VALUE 3 file_extent 4682966125592195072
PARAM_VALUE 4 nowait 0
DATA_SOURCE 1 offset $3
UNITS 1 offset unit_byte