Defined in 4 files as a prototype:
- arch/arm64/include/asm/hugetlb.h, line 41 (as a prototype)
- arch/parisc/include/asm/hugetlb.h, line 27 (as a prototype)
- arch/powerpc/include/asm/hugetlb.h, line 67 (as a prototype)
- arch/riscv/include/asm/hugetlb.h, line 43 (as a prototype)
Defined in 9 files as a function:
- arch/arm64/mm/hugetlbpage.c, line 420 (as a function)
- arch/loongarch/include/asm/hugetlb.h, line 56 (as a function)
- arch/mips/include/asm/hugetlb.h, line 52 (as a function)
- arch/parisc/mm/hugetlbpage.c, line 149 (as a function)
- arch/powerpc/mm/pgtable.c, line 270 (as a function)
- arch/riscv/mm/hugetlbpage.c, line 274 (as a function)
- arch/s390/include/asm/hugetlb.h, line 58 (as a function)
- arch/sparc/include/asm/hugetlb.h, line 41 (as a function)
- include/asm-generic/hugetlb.h, line 109 (as a function)
Referenced in 1 files:
Smatch caller information:
mm/hugetlb.c hugetlb_fault() -> huge_ptep_set_access_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 2 | ptep | 4096-ptr_max |
| PARAM_VALUE | 4 | dirty | 0-1 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 0 | vma->vm_private_data | (-1)-s32max |
| CAPPED_DATA | 0 | vma | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 2 | ptep | 1 |
| DATA_SOURCE | 0 | vma | $1 |
| DATA_SOURCE | 2 | ptep | r huge_pte_alloc |
| DATA_SOURCE | 3 | pte | r pte_mkyoung |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 1073741824-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| USER_DATA | 1 | addr | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_file->f_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_policy->mode | |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/hugetlb.c set_huge_ptep_writable() -> huge_ptep_set_access_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 2 | ptep | 4096-ptr_max |
| PARAM_VALUE | 4 | dirty | 1 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| CAPPED_DATA | 0 | vma | 1 |
| CAPPED_DATA | 2 | ptep | 1 |
| DATA_SOURCE | 0 | vma | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | ptep | $2 |
| DATA_SOURCE | 3 | pte | r huge_pte_mkwrite |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock |