Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/md-bitmap.c __bitmap_unplug() -> filemap_write_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->storage.file_pages | 1-u64max |
| PARAM_VALUE | 0 | bitmap->storage.filemap | 1-u64max |
| PARAM_VALUE | 0 | bitmap->storage.filemap_attr | 4096-ptr_max |
| PARAM_VALUE | 2 | wait | 0 |
| BUF_SIZE | 0 | bitmap | (-1),352,520 |
| BUF_SIZE | 0 | bitmap | (-1),352,520 |
| CAPPED_DATA | 1 | pg_index | 1 |
| CAPPED_DATA | 1 | pg_index | 1 |
| DATA_SOURCE | 0 | bitmap | $0 |
| PARAM_COMPARE | 0 | bitmap->storage.file_pages | > $1 |
| PARAM_COMPARE | 1 | pg_index | < $0->storage.file_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->bio_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->bio_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->io_clone_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->io_clone_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->raid_disks | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->sync_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->sync_set.bvec_pool.min_nr | |
| UNITS | 1 | pg_index | unit_array_size |
drivers/md/md-bitmap.c bitmap_daemon_work() -> filemap_write_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->allclean | 0-1 |
| PARAM_VALUE | 0 | bitmap->counts.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bitmap->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->storage.file_pages | 1-u64max |
| PARAM_VALUE | 0 | bitmap->storage.filemap | 1-u64max |
| PARAM_VALUE | 0 | bitmap->storage.filemap_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->write_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->write_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pg_index | 0-18446744073709551614 |
| PARAM_VALUE | 2 | wait | 0 |
| BUF_SIZE | 0 | bitmap | 352,520 |
| BUF_SIZE | 0 | bitmap | 352,520 |
| CAPPED_DATA | 0 | bitmap->storage.file_pages | 1 |
| CAPPED_DATA | 1 | pg_index | 1 |
| CAPPED_DATA | 1 | pg_index | 1 |
| FUZZY_MAX | 0 | bitmap->allclean | 1 |
| PARAM_COMPARE | 0 | bitmap->storage.file_pages | > $1 |
| PARAM_COMPARE | 1 | pg_index | < $0->storage.file_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | pg_index | unit_array_size |
| LOCK2 | &mddev->bitmap_info.mutex | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| TYPE_LOCK | (struct mddev)->bitmap_info.mutex |
drivers/md/md-bitmap.c md_bitmap_init_from_disk() -> filemap_write_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->mddev->cluster_info->recv_thread | 0-s64max |
| PARAM_VALUE | 0 | bitmap->mddev->gendisk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->storage.file->f_inode->i_mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | bitmap->storage.file->f_inode->i_mapping->host->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bitmap->storage.file->f_inode->i_mapping->host->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bitmap->storage.file_pages | 1-u64max |
| PARAM_VALUE | 0 | bitmap->storage.filemap | 4096-ptr_max |
| PARAM_VALUE | 2 | wait | 1 |
| BUF_SIZE | 0 | bitmap | 352,520 |
| BUF_SIZE | 0 | bitmap | 352,520 |
| CAPPED_DATA | 1 | pg_index | 1 |
| CAPPED_DATA | 1 | pg_index | 1 |
| DATA_SOURCE | 0 | bitmap | $0 |
| NOSPEC | 0 | bitmap->mddev->bitmap_info.offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | bitmap->mddev->array_sectors | 0-4294967294[c] |
| USER_DATA | 0 | bitmap->mddev->bitmap_info.offset | s64min-(-1),1-s64max[c] |
| USER_DATA | 0 | bitmap->mddev->dev_sectors | 0-4294967294[c] |
| USER_DATA | 0 | bitmap->mddev->resync_max_sectors | 0-4294967294[c] |
| USER_DATA | 0 | bitmap->mddev->resync_offset | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->bio_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->bio_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->io_clone_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->io_clone_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->raid_disks | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->sync_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bitmap->mddev->sync_set.bvec_pool.min_nr | |
| UNITS | 1 | pg_index | unit_array_size |
| HALF_LOCKED2 | &mddev->bitmap_info.mutex | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &of->mutex |