Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ntfs3/bitmap.c ntfs_trim_fs() -> wnd_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wnd | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->free_bits | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->nwnd | 1-u64max |
| PARAM_VALUE | 0 | wnd->rw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wnd->rw_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wnd->rw_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wnd->rw_lock.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | wnd | 304 |
| CAPPED_DATA | 0 | &wnd->rw_lock | 1 |
| CAPPED_DATA | 1 | iw | 1 |
| CAPPED_DATA | 1 | iw | 1 |
| CAPABLE | 0 | 21 | |
| PARAM_COMPARE | 1 | iw | < $0->nwnd |
| PARAM_COMPARE | 1 | iw | < $0->nwnd |
| USER_DATA | 1 | iw | 0-s32max[c] |
| LOCK2 | 0 | &wnd->rw_lock | |
| TYPE_LOCK | (struct wnd_bitmap)->rw_lock |
fs/ntfs3/bitmap.c wnd_find() -> wnd_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wnd | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->count_tree.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wnd->free_bits | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wnd->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->get_offset_ctx | 0,2606890545167454208 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wnd->uptodated | s32min-0,2-s32max |
| PARAM_VALUE | 0 | wnd->zone_bit | 0-18446744073709551614 |
| PARAM_VALUE | 0 | wnd->zone_end | 1-u64max |
| BUF_SIZE | 0 | wnd | 304 |
| CAPPED_DATA | 0 | wnd->zone_bit | 1 |
| CAPPED_DATA | 1 | iw | 1 |
| CAPPED_DATA | 1 | iw | 1 |
| DATA_SOURCE | 0 | wnd | $0 |
| PARAM_COMPARE | 0 | wnd->zone_bit | < $0->zone_end |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &wnd->rw_lock |
fs/ntfs3/bitmap.c wnd_find() -> wnd_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wnd | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->count_tree.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wnd->free_bits | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wnd->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->get_offset_ctx | 0,2606890545167454208 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wnd->uptodated | s32min-0,2-s32max |
| BUF_SIZE | 0 | wnd | 304 |
| CAPPED_DATA | 0 | wnd->zone_bit | 1 |
| CAPPED_DATA | 1 | iw | 1 |
| CAPPED_DATA | 1 | iw | 1 |
| DATA_SOURCE | 0 | wnd | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &wnd->rw_lock |
fs/ntfs3/bitmap.c wnd_is_free_hlp() -> wnd_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wnd | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->free_bits | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->nwnd | 1-u64max |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wnd->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->get_acl | 0,434817594022129664,1176132492164517888,2308293591809245184,2352177825799393280,5894181231315005440,7161457072544161792,8358186677320523776 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->get_offset_ctx | 0,2606890545167454208 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | wnd | (-1),304 |
| BUF_SIZE | 0 | wnd | (-1),304 |
| BUF_SIZE | 0 | wnd->free_bits | (-1),2 |
| BUF_SIZE | 0 | wnd->sb | (-1),80,2752,2816 |
| CAPPED_DATA | 1 | iw | 1 |
| CAPPED_DATA | 1 | iw | 1 |
| DATA_SOURCE | 0 | wnd | $0 |
| STR_LEN | 0 | wnd | (-1),8 |
| STR_LEN | 0 | wnd | (-1),8 |
| STR_LEN | 0 | wnd->sb | (-1) |
| PARAM_COMPARE | 1 | iw | < $0->nwnd |
| PARAM_COMPARE | 1 | iw | < $0->nwnd |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | wnd->sb->s_flags | 2048-2147488769[c] |
| NO_OVERFLOW_SIMPLE | 0 | wnd->extent_max | |
| NO_OVERFLOW_SIMPLE | 0 | wnd->extent_min | |
| NO_OVERFLOW_SIMPLE | 0 | wnd->nwnd | |
| NO_OVERFLOW_SIMPLE | 0 | wnd->sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | wnd->total_zeroes | |
| NO_OVERFLOW_SIMPLE | 0 | wnd->zone_bit | |
| NO_OVERFLOW_SIMPLE | 0 | wnd->zone_end | |
| NO_OVERFLOW_SIMPLE | 1 | iw | |
| HALF_LOCKED2 | 0 | &wnd->rw_lock |
fs/ntfs3/bitmap.c wnd_is_used() -> wnd_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wnd | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->free_bits | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->nwnd | 1-u64max |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wnd->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->get_offset_ctx | 0,2606890545167454208 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | wnd | 304 |
| CAPPED_DATA | 1 | iw | 1 |
| CAPPED_DATA | 1 | iw | 1 |
| DATA_SOURCE | 0 | wnd | $0 |
| PARAM_COMPARE | 1 | iw | < $0->nwnd |
| PARAM_COMPARE | 1 | iw | < $0->nwnd |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | wnd->total_zeroes | |
| HALF_LOCKED2 | 0 | &wnd->rw_lock |
fs/ntfs3/bitmap.c wnd_set_free() -> wnd_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wnd | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->nwnd | 1-u64max |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wnd->sb | 4096-ptr_max |
| BUF_SIZE | 0 | wnd | 304 |
| CAPPED_DATA | 1 | iw | 1 |
| CAPPED_DATA | 1 | iw | 1 |
| DATA_SOURCE | 0 | wnd | $0 |
| PARAM_COMPARE | 1 | iw | < $0->nwnd |
| PARAM_COMPARE | 1 | iw | < $0->nwnd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | wnd->total_zeroes | |
| HALF_LOCKED2 | 0 | &wnd->rw_lock |
fs/ntfs3/bitmap.c wnd_set_used() -> wnd_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wnd | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->nwnd | 1-u64max |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wnd->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->get_offset_ctx | 0,2606890545167454208 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->host->i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | wnd->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | wnd | 304 |
| CAPPED_DATA | 1 | iw | 1 |
| CAPPED_DATA | 1 | iw | 1 |
| DATA_SOURCE | 0 | wnd | $0 |
| PARAM_COMPARE | 1 | iw | < $0->nwnd |
| PARAM_COMPARE | 1 | iw | < $0->nwnd |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &wnd->rw_lock |