Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ntfs/file.c ntfs_expand_for_write() -> ntfs_attr_expand()

Type Parameter Key Value
PARAM_VALUE 0 ni 4096-ptr_max
PARAM_VALUE 0 ni->data_size s64min-9223372036854775806
PARAM_VALUE 0 ni->mrec_lock.dep_map->name 0-255
PARAM_VALUE 0 ni->mrec_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ni->mrec_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ni->mrec_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ni->mrec_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ni->mrec_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ni->mrec_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ni->vol 4096-ptr_max
PARAM_VALUE 0 ni->vol->vol_flags 1-u16max
PARAM_VALUE 1 newsize (-9223372036854775807)-s64max
BUF_SIZE 0 ni 776
CAPPED_DATA 0 ni->allocated_size 1
CAPPED_DATA 0 ni->data_size 1
CAPPED_DATA 0 &ni->mrec_lock 1
CAPPED_DATA 1 newsize 1
CAPPED_DATA 1 newsize 1
DATA_SOURCE 0 ni $0
DATA_SOURCE 1 newsize $1
PARAM_COMPARE 1 newsize > $0->data_size
PARAM_COMPARE 1 newsize > $0->data_size
NOSPEC 1 newsize
NOSPEC 1 newsize
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 newsize (-9223372036854775807)-9223372036854775805[c]
UNITS 1 newsize unit_byte
UNITS 2 prealloc_size unit_byte
LOCK2 &vi->i_rwsem
LOCK2 0 &ni->mrec_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct ntfs_inode)->mrec_lock