Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/fat/fatent.c fat_alloc_clusters() -> unlock_fat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | sbi->fat_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->free_clus_valid | 1-u32max |
| PARAM_VALUE | 0 | sbi->free_clusters | 0-1 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 0 | sbi->free_clusters | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | 0 | &sbi->fat_lock | |
| TYPE_LOCK | (struct msdos_sb_info)->fat_lock |
fs/fat/fatent.c fat_alloc_clusters() -> unlock_fat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | sbi->fat_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->fatent_ops->ent_next | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | 0 | &sbi->fat_lock | |
| TYPE_LOCK | (struct msdos_sb_info)->fat_lock |
fs/fat/fatent.c fat_count_free_clusters() -> unlock_fat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | sbi->fat_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->fatent_ops->ent_next | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | 0 | &sbi->fat_lock | |
| HALF_LOCKED2 | &s->s_umount | ||
| TYPE_LOCK | (struct msdos_sb_info)->fat_lock |
fs/fat/fatent.c fat_free_clusters() -> unlock_fat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | sbi->fat_lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | 0 | &sbi->fat_lock | |
| TYPE_LOCK | (struct msdos_sb_info)->fat_lock |
fs/fat/fatent.c fat_trim_fs() -> unlock_fat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | sbi->fat_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->fatent_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fatent_ops->ent_next | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 0 | sbi->cluster_size | 1 |
| CAPPED_DATA | 0 | sbi->max_cluster | 1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | 0 | &sbi->fat_lock | |
| TYPE_LOCK | (struct msdos_sb_info)->fat_lock |
fs/fat/fatent.c fat_trim_fs() -> unlock_fat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sbi->fat_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | sbi->fat_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->fatent_ops->ent_next | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 0 | sbi->cluster_size | 1 |
| CAPPED_DATA | 0 | sbi->max_cluster | 1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | 0 | &sbi->fat_lock | |
| TYPE_LOCK | (struct msdos_sb_info)->fat_lock |