Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/exfat/nls.c exfat_create_upcase_table() -> exfat_cluster_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/exfat/dir.c __exfat_get_dentry_set() -> exfat_cluster_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
fs/exfat/dir.c exfat_find_location() -> exfat_cluster_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | clus | 0-4294967286,4294967288-4294967294 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 1 | clus | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | clus | unit_page |
fs/exfat/balloc.c exfat_allocate_bitmap() -> exfat_cluster_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi->vol_amap | 8-67108864 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sbi->map_sectors | |
| UNITS | 0 | sbi | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/exfat/balloc.c exfat_trim_fs() -> exfat_cluster_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | clus | 0-4294967294 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 0 | sbi->cluster_size | 1 |
| CAPPED_DATA | 0 | sbi->num_clusters | 1 |
| CAPPED_DATA | 0 | &sbi->bitmap_lock | 1 |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | clus | unit_page |
| LOCK2 | 0 | &sbi->bitmap_lock | |
| TYPE_LOCK | (struct exfat_sb_info)->bitmap_lock |
fs/exfat/balloc.c exfat_trim_fs() -> exfat_cluster_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | clus | 0-4294967294 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 0 | sbi->cluster_size | 1 |
| CAPPED_DATA | 0 | sbi->num_clusters | 1 |
| CAPPED_DATA | 0 | &sbi->bitmap_lock | 1 |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | clus | unit_page |
| LOCK2 | 0 | &sbi->bitmap_lock | |
| TYPE_LOCK | (struct exfat_sb_info)->bitmap_lock |
fs/exfat/fatent.c exfat_discard_cluster() -> exfat_cluster_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | clus | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | clus | unit_page |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->bitmap_lock |
fs/exfat/fatent.c exfat_zeroed_cluster() -> exfat_cluster_to_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | clus | 2-u32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | clus | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | clus | unit_page |