Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/virt/nitro_enclaves/ne_misc_dev.c ne_set_user_memory_region_ioctl() -> get_user_pages_unlocked()

Type Parameter Key Value
PARAM_VALUE 1 nr_pages 1
PARAM_VALUE 2 pages 4096-ptr_max
PARAM_VALUE 3 gup_flags 2
LOCK2 &ne_enclave->enclave_info_mutex
TYPE_LOCK (struct ne_enclave)->enclave_info_mutex

arch/x86/kvm/../../../virt/kvm/kvm_main.c hva_to_pfn_slow() -> get_user_pages_unlocked()

Type Parameter Key Value
PARAM_VALUE 1 nr_pages 1
PARAM_VALUE 2 pages 6184802206571233280
PARAM_VALUE 3 gup_flags 4160-4161,4176-4177,6208-6209
BIT_INFO 3 gup_flags 0x1040,0x1851
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 start 0-u64max[c]
UNITS 0 start unit_byte
HALF_LOCKED2 _T->lock