Defined in 2 files as a function:
- include/linux/mm_types.h, line 1081 (as a function)
- tools/testing/vma/include/dup.h, line 865 (as a function)
Referenced in 5 files:
- include/linux/mm.h, line 1008
- include/linux/rmap.h, line 982
- mm/rmap.c, line 1085
- tools/testing/vma/include/dup.h, line 908
- tools/testing/vma/tests/vma.c, line 156
Smatch caller information:
drivers/gpu/drm/tegra/gem.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &info->mm_lock |
mm/userfaultfd.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
drivers/accel/amdxdna/amdxdna_gem.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
arch/x86/entry/vsyscall/vsyscall_64.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 7164240051227820064 |
| NOCHECK_CALL | |||
| LOCK2 | irq |
drivers/android/tests/binder_alloc_kunit.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ipcp->lock |
mm/vma_init.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock |
drivers/android/binder.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ipcp->lock |
mm/rmap.c folio_referenced() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 2546013883221307392,5657499428038221824 |
| DATA_SOURCE | 0 | flags | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/drm_gem_dma_helper.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &info->mm_lock |
drivers/usb/mon/mon_bin.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ipcp->lock |
drivers/gpu/drm/xe/xe_oa.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ipcp->lock |
fs/proc/vmcore.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ipcp->lock |
drivers/infiniband/hw/hfi1/file_ops.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ipcp->lock |
sound/core/pcm_native.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ipcp->lock |
drivers/gpu/drm/xen/xen_drm_front_gem.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &info->mm_lock |
fs/hugetlbfs/inode.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 5422530354261037088 |
| MEM_ZERO | 0 | flags | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
kernel/trace/ring_buffer.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &ipcp->lock |
drivers/gpu/drm/rockchip/rockchip_drm_gem.c vm_flags_init() -> vma_flags_clear_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &info->mm_lock |