Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

mm/gup_test.c __gup_test_ioctl() -> get_user_pages()

Type Parameter Key Value
PARAM_VALUE 0 start 0-18446744073709551614
PARAM_VALUE 1 nr_pages 0-4503599627370495
PARAM_VALUE 3 pages 4096-ptr_max
CAPPED_DATA 0 start 1
CAPPED_DATA 0 start 1
CAPPED_DATA 1 nr_pages 1
USER_DATA 0 start 0-s32max[c]
USER_DATA 1 nr_pages 0-4503599627370495[c]
USER_DATA 2 gup_flags 0-u32max
UNITS 0 start unit_byte
UNITS 1 nr_pages unit_page

mm/gup_test.c __gup_test_ioctl() -> get_user_pages()

Type Parameter Key Value
PARAM_VALUE 0 start 0-18446744073709551614
PARAM_VALUE 1 nr_pages 0-4503599627370495
PARAM_VALUE 3 pages 4096-ptr_max
CAPPED_DATA 0 start 1
CAPPED_DATA 0 start 1
CAPPED_DATA 1 nr_pages 1
USER_DATA 0 start 0-s32max[c]
USER_DATA 1 nr_pages 0-4503599627370495[c]
USER_DATA 2 gup_flags 0-u32max
UNITS 0 start unit_byte
UNITS 1 nr_pages unit_page

arch/x86/kernel/cpu/sgx/ioctl.c __sgx_encl_add_page() -> get_user_pages()

Type Parameter Key Value
PARAM_VALUE 1 nr_pages 1
PARAM_VALUE 2 gup_flags 0
PARAM_VALUE 3 pages 6426865499997401088
DATA_SOURCE 0 start $4
USER_DATA 0 start 0-u64max
LOCK2 &encl->lock
TYPE_LOCK (struct sgx_encl)->lock

drivers/gpu/drm/radeon/radeon_ttm.c radeon_ttm_tt_pin_userptr() -> get_user_pages()

Type Parameter Key Value
PARAM_VALUE 2 gup_flags 0-1
PARAM_VALUE 3 pages 4096-ptr_max
FUZZY_MAX 2 gup_flags 1
HARD_MAX 2 gup_flags 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 start unit_byte
HALF_LOCKED2 bo->base.resv

kernel/events/uprobes.c is_trap_at_addr() -> get_user_pages()

Type Parameter Key Value
PARAM_VALUE 0 start 0
PARAM_VALUE 1 nr_pages 1
PARAM_VALUE 2 gup_flags 8
PARAM_VALUE 3 pages 1586461564302614528
DATA_SOURCE 0 start $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 start unit_byte
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock