Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ntfs/compress.c ntfs_write_cb() -> ntfs_bytes_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 0 | vol->sb | 4096-ptr_max |
| DATA_SOURCE | 1 | bytes | r ntfs_cluster_to_bytes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/mft.c ntfs_write_mft_block() -> ntfs_bytes_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 0 | vol->sb | 4096-ptr_max |
| 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_bytes_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 0 | vol->sb | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| UNITS | 1 | bytes | unit_byte |
| HALF_LOCKED2 | &dir_ni->mrec_lock | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &xrni->mrec_lock |
fs/ntfs/inode.c ntfs_read_inode_mount() -> ntfs_bytes_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | bytes | 0-65536 |
| 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 |
| UNITS | 1 | bytes | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |