Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tee/tee_core.c tee_ioctl_shm_alloc() -> tee_shm_get_fd()

Type Parameter Key Value
PARAM_VALUE 0 shm 4096-ptr_max
PARAM_VALUE 0 shm->ctx 4096-ptr_max
PARAM_VALUE 0 shm->ctx->teedev 4096-ptr_max
PARAM_VALUE 0 shm->flags 4-5,12
PARAM_VALUE 0 shm->id 0-s32max
PARAM_VALUE 0 shm->kaddr 1-u64max
PARAM_VALUE 0 shm->refcount.refs.counter 1
BUF_SIZE 0 shm 80
BUF_SIZE 0 shm->ctx s32min-(-2),1-s32max
DATA_SOURCE 0 shm r tee_shm_alloc_user_buf
NO_OVERFLOW_SIMPLE 0 shm->num_pages

drivers/tee/tee_core.c tee_ioctl_shm_register() -> tee_shm_get_fd()

Type Parameter Key Value
BUF_SIZE 0 shm (-1),8
BUF_SIZE 0 shm (-1),8
DATA_SOURCE 0 shm r tee_shm_register_user_buf

drivers/tee/tee_core.c tee_ioctl_shm_register_fd() -> tee_shm_get_fd()

Type Parameter Key Value
PARAM_VALUE 0 shm 4096-ptr_max
PARAM_VALUE 0 shm->ctx 4096-ptr_max
PARAM_VALUE 0 shm->flags 16
PARAM_VALUE 0 shm->id 0-s32max
PARAM_VALUE 0 shm->refcount.refs.counter 1
BUF_SIZE 0 shm 80
BUF_SIZE 0 shm->ctx s32min-(-2),1-s32max
DATA_SOURCE 0 shm r tee_shm_register_fd