Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/khugepaged.c __collapse_huge_page_isolate() -> collapse_check_pte()

Type Parameter Key Value
PARAM_VALUE 1 addr 0,4096-u64max
PARAM_VALUE 2 ctx 6581394961178673152
PARAM_VALUE 2 ctx->cc 4096-ptr_max
PARAM_VALUE 2 ctx->folio 0,4096-ptr_max
PARAM_VALUE 2 ctx->max_ptes_shared 0-512
PARAM_VALUE 2 ctx->max_ptes_swap 0
PARAM_VALUE 2 ctx->none_or_zero 0-1
PARAM_VALUE 2 ctx->order 0-9
PARAM_VALUE 2 ctx->result 0
PARAM_VALUE 2 ctx->shared 0-1
PARAM_VALUE 2 ctx->unmapped (-1)
PARAM_VALUE 2 ctx->vma 4096-ptr_max
DATA_SOURCE 0 pteval r ptep_get
NOSPEC 1 addr
NOSPEC 1 addr
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr 0,4096,2097152-18446744073709551614[c]
UNITS 1 addr unit_byte
LOCK2 &vma->anon_vma->root->rwsem
LOCK2 pte_ptl
HALF_LOCKED2 &mm->mmap_lock
TYPE_LOCK (struct anon_vma)->rwsem
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/khugepaged.c collapse_scan_pmd() -> collapse_check_pte()

Type Parameter Key Value
PARAM_VALUE 1 addr 0-2093056
PARAM_VALUE 2 ctx 8503825448910479360
PARAM_VALUE 2 ctx->cc 4096-ptr_max
PARAM_VALUE 2 ctx->folio 0,4096-ptr_max
PARAM_VALUE 2 ctx->max_ptes_none 0-512
PARAM_VALUE 2 ctx->max_ptes_shared 0-512
PARAM_VALUE 2 ctx->max_ptes_swap 0-512
PARAM_VALUE 2 ctx->none_or_zero 0-1
PARAM_VALUE 2 ctx->order 9
PARAM_VALUE 2 ctx->result 0
PARAM_VALUE 2 ctx->shared 0-1
PARAM_VALUE 2 ctx->unmapped 0-1
PARAM_VALUE 2 ctx->vma 4096-ptr_max
CAPPED_DATA 1 addr 1
CAPPED_DATA 1 addr 1
DATA_SOURCE 0 pteval r ptep_get
NOSPEC 1 addr
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr 0-2093056[c]
UNITS 1 addr unit_byte
LOCK2 ptl
HALF_LOCKED2 &mm->mmap_lock