Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/ordered-data.c btrfs_finish_ordered_extent() -> can_finish_ordered_extent()

Type Parameter Key Value
PARAM_VALUE 0 ordered 4096-ptr_max
PARAM_VALUE 0 ordered->inode 4096-ptr_max
PARAM_VALUE 0 ordered->inode->ordered_tree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ordered->inode->vfs_inode.i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 ordered->inode->vfs_inode.i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 ordered->inode->vfs_inode.i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
BUF_SIZE 0 ordered (-1),1-s32max
BUF_SIZE 0 ordered (-1),1-s32max
DATA_SOURCE 0 ordered $0
DATA_SOURCE 1 file_offset $1
DATA_SOURCE 2 len $2
DATA_SOURCE 3 uptodate $3
NOSPEC 1 file_offset
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 file_offset 0-u64max
NO_OVERFLOW_SIMPLE 0 ordered->bytes_left
NO_OVERFLOW_SIMPLE 0 ordered->disk_bytenr
NO_OVERFLOW_SIMPLE 0 ordered->disk_num_bytes
NO_OVERFLOW_SIMPLE 0 ordered->file_offset
NO_OVERFLOW_SIMPLE 0 ordered->num_bytes
NO_OVERFLOW_SIMPLE 0 ordered->ram_bytes
NO_OVERFLOW_SIMPLE 0 ordered->truncated_len
UNITS 1 file_offset unit_byte
UNITS 2 len unit_byte
LOCK2 &inode->ordered_tree_lock
TYPE_LOCK (struct btrfs_inode)->ordered_tree_lock

fs/btrfs/ordered-data.c btrfs_mark_ordered_io_finished() -> can_finish_ordered_extent()

Type Parameter Key Value
PARAM_VALUE 0 ordered 4096-ptr_max
PARAM_VALUE 0 ordered->file_offset 0-18446744073709551614
PARAM_VALUE 0 ordered->inode->root 4096-ptr_max
PARAM_VALUE 1 file_offset 0-18446744073709551614
PARAM_VALUE 2 len 1-u64max
CAPPED_DATA 0 ordered->file_offset 1
CAPPED_DATA 1 file_offset 1
CAPPED_DATA 1 file_offset 1
CAPPED_DATA 2 len 1
CAPPED_DATA 2 len 1
DATA_SOURCE 3 uptodate $3
PARAM_COMPARE 1 file_offset >= $0->file_offset
PARAM_COMPARE 1 file_offset >= $0->file_offset
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 file_offset
UNITS 0 ordered unit_byte
UNITS 1 file_offset unit_byte
UNITS 2 len unit_byte
LOCK2 &inode->ordered_tree_lock
TYPE_LOCK (struct btrfs_inode)->ordered_tree_lock