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/ioctl.c sgx_encl_add_page() -> sgx_encl_page_alloc()

Type Parameter Key Value
PARAM_VALUE 0 encl 4096-ptr_max
PARAM_VALUE 0 encl->size 1-u64max
PARAM_VALUE 2 secinfo_flags 0-65534
BUF_SIZE 0 encl s32min-(-2),1-s32max
BUF_SIZE 0 encl s32min-(-2),1-s32max
CAPPED_DATA 1 offset 1
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 encl $0
DATA_SOURCE 1 offset $2
USER_DATA 1 offset 0-u64max[c]
USER_DATA 2 secinfo_flags 0-65534

arch/x86/kernel/cpu/sgx/encl.c sgx_encl_eaug_page() -> sgx_encl_page_alloc()

Type Parameter Key Value
PARAM_VALUE 0 encl 4096-ptr_max
PARAM_VALUE 2 secinfo_flags 7
BUF_SIZE 0 encl s32min-(-2),1-s32max
BUF_SIZE 0 encl s32min-(-2),1-s32max
DATA_SOURCE 0 encl $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 encl unit_byte
UNITS 1 offset unit_byte