Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

mm/userfaultfd.c mfill_retry_state_changed() -> vma_flags_same_pair()

Type Parameter Key Value
PARAM_VALUE 0 flags 1164391332433047568
PARAM_VALUE 1 flags_other 7100609716186775552
LOCK2 &mfill_state->ctx->map_changing_lock
LOCK2 &state.ctx->map_changing_lock
TYPE_LOCK (struct userfaultfd_ctx)->map_changing_lock

mm/mprotect.c mprotect_fixup() -> vma_flags_same_pair()

Type Parameter Key Value
PARAM_VALUE 0 flags 8243283500085485568
PARAM_VALUE 1 flags_other 2002330160899121152
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &tsk->signal->exec_update_lock

mm/vma.c __mmap_new_file_vma() -> vma_flags_same_pair()

Type Parameter Key Value
PARAM_VALUE 0 flags 5695852749483675704
PARAM_VALUE 1 flags_other 4096-ptr_max

mm/mlock.c mlock_fixup() -> vma_flags_same_pair()

Type Parameter Key Value
PARAM_VALUE 0 flags 8949073907081777152
PARAM_VALUE 1 flags_other 6749589187608195072,6827399240625045504
DATA_SOURCE 1 flags_other $5