Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

arch/x86/kernel/cpu/sgx/driver.c sgx_mmap() -> sgx_encl_may_map()

Type Parameter Key Value
BUF_SIZE 0 encl (-1),1216
BUF_SIZE 0 encl (-1),1216
NOSPEC 1 start
NOSPEC 1 start
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start 0-18446744073709547520
USER_DATA 2 end 4096-u64max[c]
UNITS 1 start unit_byte
UNITS 2 end unit_byte
HALF_LOCKED2 &ipcp->lock

arch/x86/kernel/cpu/sgx/encl.c sgx_vma_mprotect() -> sgx_encl_may_map()

Type Parameter Key Value
BUF_SIZE 0 encl s32min-(-2),1-s32max
CAPPED_DATA 2 end 1
CAPPED_DATA 2 end 1
DATA_SOURCE 1 start $1
DATA_SOURCE 2 end $2
DATA_SOURCE 3 vm_flags $3
NOSPEC 1 start
NOSPEC 1 start
NOSPEC 2 end
NOSPEC 2 end
USER_DATA 1 start 0-u64max
USER_DATA 2 end 1-s32max[c]
USER_DATA 3 vm_flags 0-u64max[c]
NO_OVERFLOW_SIMPLE 2 end
UNITS 0 encl unit_byte