Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ntfs3/frecord.c ni_clear() -> ntfs_sub_da()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sbi unit_byte

fs/ntfs3/attrib.c attr_allocate_clusters() -> ntfs_sub_da()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
DATA_SOURCE 0 sbi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sbi unit_byte
HALF_LOCKED2 &ni->ni_lock

fs/ntfs3/attrib.c run_deallocate_ex() -> ntfs_sub_da()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
DATA_SOURCE 0 sbi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 da 0-u64max[c][u]
UNITS 0 sbi unit_byte
LOCK2 &inode->i_rwsem
LOCK2 &ni->base->ni_lock
LOCK2 &ni->file.run_lock
HALF_LOCKED2 &mapping->invalidate_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct ntfs_inode)->file.run_lock
TYPE_LOCK (struct ntfs_inode)->ni_lock