Defined in 1 files as a struct:
Defined in 2 files as a member:
- arch/arm64/kvm/hyp/include/nvhe/gfp.h, line 19 (as a member)
- include/linux/mmzone.h, line 1099 (as a member)
Defined in 1 files as a function:
Referenced in 13 files:
- arch/arm64/kvm/hyp/nvhe/page_alloc.c
- drivers/md/dm-snap-persistent.c
- include/linux/mmzone.h, line 184
- kernel/events/uprobes.c
- kernel/vmcore_info.c
- mm/compaction.c
- mm/mm_init.c, line 1366
- mm/page_alloc.c
- mm/page_alloc.h
- mm/page_reporting.c
- mm/show_mem.c
- mm/vmstat.c
- tools/testing/selftests/x86/test_shadow_stack.c
Smatch caller information:
drivers/md/dm-snap-persistent.c persistent_dtr() -> free_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->io_client | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ps->io_client->bios->rescue_workqueue->lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | ps->io_client->bios->rescue_workqueue->rescuer->task->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | ps->metadata_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->metadata_wq->flags | 0-4294967295 |
| PARAM_VALUE | 0 | ps->metadata_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->rescuer | 0 |
| PARAM_VALUE | 0 | ps->metadata_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev | 0 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev->driver_data->cis_virt | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.devres_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->callback->add | 5235430000054906880 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->callback->early_resume | 6956900869090054144 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->callback->remove | 1719268733136482304 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->callback->requery | 4713442613417914368 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->callback->resume | 5068206944467017728 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->callback->suspend | 2738892915008757760 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->callback->validate | 4934365872137547776 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->cdev->kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->cdev->kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->cdev->kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->cdev->kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->cis_mem.flags | 0,2-254 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->d_ref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->detaching.counter | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->dev.kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->dev.kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->dev.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->device_count | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->ops_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->sfd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->sfd_lock.raw_lock.cnts.counter | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->skt_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.driver_data->skt_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.p->dead | 1 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.p->knode_class.n_ref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.p->knode_parent.n_ref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.power.completion.done | 4294967295 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.power.last_status | s32min-0,2,4-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.power.qos | (-19),0 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.power.runtime_status | 2 |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.power.usage_count.counter | 0-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->wq_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *ps->metadata_wq->lockdep_map->name | 0-255 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps | 8,104 |
| CAPPED_DATA | 0 | ps->io_client | 1 |
| NOCHECK_CALL |
drivers/md/dm-snap-persistent.c read_header() -> free_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->area | 1-u64max |
| PARAM_VALUE | 0 | ps->header_area | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->io_client | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->io_client->bios.back_pad | 0,64 |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.min_nr | 1-1024 |
| PARAM_VALUE | 0 | ps->io_client->bios.bvec_pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | ps->io_client->bios.bvec_pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | ps->io_client->bios.bvec_pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | ps->io_client->bios.front_pad | 0 |
| PARAM_VALUE | 0 | ps->io_client->bios.rescue_list.head | 0 |
| PARAM_VALUE | 0 | ps->io_client->bios.rescue_list.tail | 0 |
| PARAM_VALUE | 0 | ps->io_client->pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | ps->io_client->pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | ps->io_client->pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | ps->io_client->pool.min_nr | 1-1024 |
| PARAM_VALUE | 0 | ps->metadata_wq->first_flusher->done.done | 0-4294967295 |
| PARAM_VALUE | 0 | ps->metadata_wq->first_flusher->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ps->metadata_wq->first_flusher->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ps->metadata_wq->first_flusher->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ps->metadata_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->flusher_queue.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | ps->metadata_wq->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ps->store | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->store->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | ps->store->snap | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->zero_area | 1-u64max |
| PARAM_VALUE | 0 | *ps->metadata_wq->lockdep_map->name | 0-255 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps->io_client | 824 |
| CAPPED_DATA | 0 | ps->area | 1 |
| DATA_SOURCE | 0 | ps | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-snap-persistent.c read_header() -> free_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->area | 1-u64max |
| PARAM_VALUE | 0 | ps->header_area | 1-u64max |
| PARAM_VALUE | 0 | ps->io_client | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->io_client->bios.back_pad | 0,64 |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.min_nr | 1-1024 |
| PARAM_VALUE | 0 | ps->io_client->bios.bvec_pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | ps->io_client->bios.bvec_pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | ps->io_client->bios.bvec_pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | ps->io_client->bios.front_pad | 0 |
| PARAM_VALUE | 0 | ps->io_client->bios.rescue_list.head | 0 |
| PARAM_VALUE | 0 | ps->io_client->bios.rescue_list.tail | 0 |
| PARAM_VALUE | 0 | ps->io_client->pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | ps->io_client->pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | ps->io_client->pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | ps->io_client->pool.min_nr | 1-1024 |
| PARAM_VALUE | 0 | ps->metadata_wq->first_flusher->done.done | 0-4294967295 |
| PARAM_VALUE | 0 | ps->metadata_wq->first_flusher->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ps->metadata_wq->first_flusher->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ps->metadata_wq->first_flusher->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ps->metadata_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->flusher_queue.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | ps->metadata_wq->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | ps->metadata_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ps->store | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->store->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | ps->store->snap | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->zero_area | 1-u64max |
| PARAM_VALUE | 0 | *ps->metadata_wq->lockdep_map->name | 0-255 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps->io_client | 824 |
| CAPPED_DATA | 0 | ps->area | 1 |
| DATA_SOURCE | 0 | ps | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |