Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/md-bitmap.c __bitmap_unplug() -> test_and_clear_page_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 2 | attr | 0 |
| BUF_SIZE | 0 | bitmap | (-1),352,520 |
| BUF_SIZE | 0 | bitmap | (-1),352,520 |
| CAPPED_DATA | 1 | pnum | 1 |
| DATA_SOURCE | 0 | bitmap | $0 |
| PARAM_COMPARE | 0 | bitmap->storage.file_pages | > $1 |
| PARAM_COMPARE | 1 | pnum | < $0->storage.file_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | pnum | unit_array_size |
drivers/md/md-bitmap.c __bitmap_unplug() -> test_and_clear_page_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->storage.filemap_attr | 4096-ptr_max |
| PARAM_VALUE | 2 | attr | 2 |
| BUF_SIZE | 0 | bitmap | (-1),352,520 |
| BUF_SIZE | 0 | bitmap | (-1),352,520 |
| CAPPED_DATA | 1 | pnum | 1 |
| DATA_SOURCE | 0 | bitmap | $0 |
| PARAM_COMPARE | 0 | bitmap->storage.file_pages | > $1 |
| PARAM_COMPARE | 1 | pnum | < $0->storage.file_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | pnum | unit_array_size |
drivers/md/md-bitmap.c bitmap_daemon_work() -> test_and_clear_page_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 2 | attr | 1 |
| BUF_SIZE | 0 | bitmap | 352,520 |
| BUF_SIZE | 0 | bitmap | 352,520 |
| CAPPED_DATA | 1 | pnum | 1 |
| PARAM_COMPARE | 0 | bitmap->storage.file_pages | > $1 |
| PARAM_COMPARE | 1 | pnum | < $0->storage.file_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pnum | 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 bitmap_daemon_work() -> test_and_clear_page_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | bitmap->storage.filemap_attr | 4096-ptr_max |
| PARAM_VALUE | 2 | attr | 2 |
| BUF_SIZE | 0 | bitmap | 352,520 |
| BUF_SIZE | 0 | bitmap | 352,520 |
| CAPPED_DATA | 0 | bitmap->storage.file_pages | 1 |
| CAPPED_DATA | 1 | pnum | 1 |
| PARAM_COMPARE | 0 | bitmap->storage.file_pages | > $1 |
| PARAM_COMPARE | 1 | pnum | < $0->storage.file_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pnum | unit_array_size |
| LOCK2 | &mddev->bitmap_info.mutex | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| TYPE_LOCK | (struct mddev)->bitmap_info.mutex |