Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

arch/x86/kernel/cpu/sgx/ioctl.c sgx_ioc_enclave_init() -> sgx_encl_init()

Type Parameter Key Value
PARAM_VALUE 0 encl 4096-ptr_max
PARAM_VALUE 1 sigstruct 4096-ptr_max
PARAM_VALUE 1 sigstruct->header.vendor 0,32902
PARAM_VALUE 2 token 6144-18446744073709549568
BUF_SIZE 0 encl s32min-(-2),1-s32max
BUF_SIZE 0 encl s32min-(-2),1-s32max
BUF_SIZE 1 sigstruct 4096
BUF_SIZE 1 sigstruct 4096
DATA_SOURCE 0 encl $0
DATA_SOURCE 1 sigstruct r _kmalloc_noprof
PARAM_COMPARE 1 sigstruct < $2
PARAM_COMPARE 1 sigstruct < $2
PARAM_COMPARE 1 sigstruct == $2
PARAM_COMPARE 2 token > $1
BIT_INFO 1 sigstruct->header.vendor 0x0,0x8086
MEM_ZERO 2 token
USER_DATA 1 sigstruct->exponent 0-u32max
USER_PTR 1 sigstruct
USER_PTR 1 sigstruct->modulus
USER_PTR 1 sigstruct->q1
USER_PTR 1 sigstruct->q2
USER_PTR 1 sigstruct->reserved4
USER_PTR 1 sigstruct->signature