Defined in 1 files as a function:
Referenced in 8 files:
- fs/ntfs/aops.c
- fs/ntfs/attrib.c
- fs/ntfs/bitmap.c
- fs/ntfs/compress.c
- fs/ntfs/file.c
- fs/ntfs/inode.c
- fs/ntfs/iomap.c
- fs/ntfs/mft.c, line 2734
Smatch caller information:
fs/ntfs/compress.c ntfs_read_compressed_block() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/ntfs/compress.c ntfs_write_cb() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/aops.c ntfs_bmap() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775807 |
| DATA_SOURCE | 1 | clusters | r ntfs_attr_vcn_to_lcn_nolock |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ntfs/iomap.c ntfs_read_iomap_begin_non_resident() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775807 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &ni->runlist.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/iomap.c ntfs_read_iomap_begin_non_resident() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &ni->runlist.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/iomap.c ntfs_write_da_iomap_begin_non_resident() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 1-9223372036854775806[c] |
| UNITS | 0 | vol | unit_byte |
fs/ntfs/iomap.c ntfs_write_da_iomap_begin_non_resident() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
fs/ntfs/iomap.c ntfs_write_simple_iomap_begin_non_resident() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 1-u64max |
| CAPPED_DATA | 1 | clusters | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
fs/ntfs/iomap.c ntfs_write_simple_iomap_begin_non_resident() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775807 |
| DATA_SOURCE | 1 | clusters | r ntfs_rl_vcn_to_lcn |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
fs/ntfs/iomap.c ntfs_write_simple_iomap_begin_non_resident() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 1-u64max |
| CAPPED_DATA | 1 | clusters | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
fs/ntfs/mft.c ntfs_write_mft_block() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775807,u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | vol->mftmirr_ino->i_mapping->host->i_bytes | |
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &ni->mrec_lock |
fs/ntfs/inode.c __ntfs_inode_non_resident_attr_pwrite() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &dir_ni->mrec_lock | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &xrni->mrec_lock |
fs/ntfs/inode.c __ntfs_inode_non_resident_attr_pwrite() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775807 |
| CAPPED_DATA | 1 | clusters | 1 |
| CAPPED_DATA | 1 | clusters | 1 |
| NOSPEC | 1 | clusters | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 2-s32max[c] |
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| HALF_LOCKED2 | &dir_ni->mrec_lock | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &xrni->mrec_lock |
fs/ntfs/inode.c load_attribute_list_mount() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775807 |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| CAPPED_DATA | 0 | vol->mft_record_size | 1 |
| DATA_SOURCE | 0 | vol | $0 |
| DATA_SOURCE | 1 | clusters | r ntfs_rl_vcn_to_lcn |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | vol->mft_ino->i_blkbits | |
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ntfs/inode.c load_attribute_list_mount() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 1-u64max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| CAPPED_DATA | 0 | vol->mft_record_size | 1 |
| DATA_SOURCE | 0 | vol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | vol->mft_ino->i_blkbits | |
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ntfs/inode.c ntfs_read_inode_mount() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| STR_LEN | 0 | vol->mft_ino->i_sb | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | vol->mft_ino->i_blkbits | |
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ntfs/file.c ntfs_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 1-9223372036854775808 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/file.c ntfs_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/file.c ntfs_insert_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-u64max[c] |
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/file.c ntfs_insert_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-u64max[c] |
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/file.c ntfs_punch_hole() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| CAPPED_DATA | 1 | clusters | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 1-9223372036854775807[c] |
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/file.c ntfs_punch_hole() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/file.c ntfs_trim_prealloc() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775807 |
| CAPPED_DATA | 1 | clusters | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| CAPPED_DATA | 1 | clusters | 1 |
| DATA_SOURCE | 1 | clusters | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 1-u64max[c] |
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775806,9223372036854775808-u64max |
| CAPPED_DATA | 1 | clusters | 1 |
| DATA_SOURCE | 1 | clusters | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-9223372036854775806[c] |
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| CAPPED_DATA | 1 | clusters | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-9223372036854775805,9223372036854775808-u64max[c] |
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| CAPPED_DATA | 1 | clusters | 1 |
| DATA_SOURCE | 1 | clusters | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 1-u64max[c] |
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775806,9223372036854775808-u64max |
| CAPPED_DATA | 1 | clusters | 1 |
| DATA_SOURCE | 1 | clusters | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-9223372036854775806[c] |
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775806,9223372036854775808-u64max |
| CAPPED_DATA | 1 | clusters | 1 |
| DATA_SOURCE | 1 | clusters | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-9223372036854775806[c] |
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| CAPPED_DATA | 1 | clusters | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-9223372036854775805,9223372036854775808-u64max[c] |
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| CAPPED_DATA | 1 | clusters | 1 |
| DATA_SOURCE | 1 | clusters | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 1-u64max[c] |
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_collapse_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775806,9223372036854775808-u64max |
| CAPPED_DATA | 1 | clusters | 1 |
| DATA_SOURCE | 1 | clusters | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-9223372036854775806[c] |
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | clusters | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_expand() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 1-9223372036854775807 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &ni->runlist.lock | ||
| HALF_LOCKED2 | &ni->runlist.lock | ||
| HALF_LOCKED2 | &vi->i_rwsem |
fs/ntfs/attrib.c ntfs_non_resident_attr_insert_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| DATA_SOURCE | 1 | clusters | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-u64max[c] |
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_insert_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| DATA_SOURCE | 1 | clusters | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-u64max[c] |
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_insert_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| CAPPED_DATA | 1 | clusters | 1 |
| DATA_SOURCE | 1 | clusters | $1 |
| NOSPEC | 1 | clusters | |
| NOSPEC | 1 | clusters | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 1-9223372036854775806[c] |
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_insert_range() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| DATA_SOURCE | 1 | clusters | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | clusters | 0-u64max[c] |
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &ni->runlist.lock | ||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_shrink() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-9223372036854775807 |
| CAPPED_DATA | 0 | vol->attrdef->min_size | 1 |
| CAPPED_DATA | 0 | vol->attrdef_size | 1 |
| CAPPED_DATA | 1 | clusters | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &ni->mrec_lock |
fs/ntfs/attrib.c ntfs_non_resident_attr_shrink() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 1-9223372036854775807 |
| CAPPED_DATA | 0 | vol->attrdef->min_size | 1 |
| CAPPED_DATA | 0 | vol->attrdef_size | 1 |
| DATA_SOURCE | 1 | clusters | r ntfs_cluster_free |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &ni->mrec_lock |
fs/ntfs/bitmap.c ntfs_trim_fs() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | clusters | 0-18446744073709486144 |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| CAPPED_DATA | 0 | vol->cluster_size | 1 |
| CAPPED_DATA | 0 | vol->nr_clusters | 1 |
| CAPPED_DATA | 1 | clusters | 1 |
| CAPPED_DATA | 1 | clusters | 1 |
| DATA_SOURCE | 0 | vol | $0 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 1 | clusters | 1-2147483711[c] |
| UNITS | 1 | clusters | unit_byte |
fs/ntfs/bitmap.c ntfs_trim_fs() -> ntfs_cluster_to_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| CAPPED_DATA | 0 | vol->cluster_size | 1 |
| CAPPED_DATA | 0 | vol->nr_clusters | 1 |
| CAPPED_DATA | 1 | clusters | 1 |
| DATA_SOURCE | 0 | vol | $0 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 1 | clusters | 0-2147483710,18446744071562067906-u64max |
| UNITS | 1 | clusters | unit_byte |