Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

mm/hwpoison-inject.c hwpoison_inject() -> shake_folio()

Type Parameter Key Value
DATA_SOURCE 0 folio r _compound_head
CAPABLE 0 21
NOCHECK_CALL
LOCK2 &attr->mutex
TYPE_LOCK (struct simple_attr)->mutex

mm/memory-failure.c hwpoison_user_mappings() -> shake_folio()

Type Parameter Key Value
PARAM_VALUE 0 folio 4096-ptr_max
PARAM_VALUE 0 folio->_deferred_list.next->prev 4096-ptr_max
PARAM_VALUE 0 folio->_deferred_list.prev->next 4096-ptr_max
PARAM_VALUE 0 folio->mapping->i_mmap_rwsem.dep_map->name 0-255
PARAM_VALUE 0 folio->mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 folio->mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 folio->mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 folio->mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 folio->page.zone_device_data->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 folio->page.zone_device_data->release_work.flags 0-4294967295
PARAM_VALUE 0 folio->page.zone_device_data->release_work.is_hard 0-1
PARAM_VALUE 0 folio->page.zone_device_data->release_work.is_lazy 0-1
PARAM_VALUE 0 folio->page.zone_device_data->release_work.is_queued 0-1
PARAM_VALUE 0 folio->page.zone_device_data->release_work.is_soft 0-1
PARAM_VALUE 0 *folio->_mm_id 0-4294967295
DATA_SOURCE 0 folio $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 folio unit_page
LOCK2 global &mf_mutex
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &of->mutex

mm/memory-failure.c memory_failure() -> shake_folio()

Type Parameter Key Value
DATA_SOURCE 0 folio r _compound_head
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &mf_mutex
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &of->mutex

mm/memory-failure.c shake_page() -> shake_folio()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &mf_mutex
LOCK2 global &pcp_batch_high_lock
HALF_LOCKED2 &attr->mutex