Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ntfs/mft.c lcn_from_index() -> ntfs_pidx_to_cluster()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
DATA_SOURCE 0 vol $0
DATA_SOURCE 1 idx $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 idx unit_page

fs/ntfs/mft.c ntfs_write_mft_block() -> ntfs_pidx_to_cluster()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 idx unit_page

fs/ntfs/inode.c __ntfs_inode_non_resident_attr_pwrite() -> ntfs_pidx_to_cluster()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 idx unit_page
HALF_LOCKED2 &dir_ni->mrec_lock
HALF_LOCKED2 &ni->mrec_lock
HALF_LOCKED2 &xrni->mrec_lock