Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ntfs3/bitmap.c wnd_find() -> wnd_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wnd | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->type | 0-1 |
| 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 | 0 | wnd->zone_bit | 1 |
| DATA_SOURCE | 0 | wnd | $0 |
| DATA_SOURCE | 2 | bits | $1 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | bit | unit_bit |
| UNITS | 2 | bits | unit_bit |
| HALF_LOCKED2 | 0 | &wnd->rw_lock |
fs/ntfs3/bitmap.c wnd_set_used_safe() -> wnd_set_used()
| 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 | 1 |
| 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 |
| PARAM_VALUE | 0 | wnd->sb | 1-u64max |
| 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 | 2 | bits | 1-u64max |
| BUF_SIZE | 0 | wnd | 304 |
| DATA_SOURCE | 0 | wnd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | bit | unit_bit |
| LOCK2 | 0 | &wnd->rw_lock | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| TYPE_LOCK | (struct wnd_bitmap)->rw_lock |
fs/ntfs3/bitmap.c wnd_set_used_safe() -> wnd_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wnd | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->handoff_set | 1 |
| 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 |
| PARAM_VALUE | 0 | wnd->sb | 1-u64max |
| 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 | 2 | bits | 1-u64max |
| BUF_SIZE | 0 | wnd | 304 |
| DATA_SOURCE | 0 | wnd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | bit | unit_bit |
| LOCK2 | 0 | &wnd->rw_lock | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| TYPE_LOCK | (struct wnd_bitmap)->rw_lock |
fs/ntfs3/fsntfs.c ntfs_look_for_free_space() -> wnd_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wnd | 4096-ptr_max |
| PARAM_VALUE | 0 | wnd->rw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | wnd->rw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wnd->rw_lock.osq.tail.counter | 0-s32max |
| 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 |
| 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->sb->s_fs_info->msg_ratelimit.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wnd->sb->s_fs_info->msg_ratelimit.lock.owner | (-1) |
| PARAM_VALUE | 0 | wnd->sb->s_fs_info->msg_ratelimit.lock.owner_cpu | 4294967295 |
| BUF_SIZE | 0 | wnd | 304 |
| CAPPED_DATA | 0 | &wnd->rw_lock | 1 |
| CAPPED_DATA | 2 | bits | 1 |
| CAPPED_DATA | 2 | bits | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | bit | unit_bit |
| UNITS | 2 | bits | unit_bit |
| LOCK2 | 0 | &wnd->rw_lock | |
| HALF_LOCKED2 | &ni->ni_lock | ||
| TYPE_LOCK | (struct wnd_bitmap)->rw_lock |