Home
last modified time | relevance | path

Searched refs:reg_shm (Results 1 – 1 of 1) sorted by relevance

/linux/security/keys/trusted-keys/
H A Dtrusted_tee.c68 struct tee_shm *reg_shm = NULL; in trusted_tee_seal() local
73 reg_shm = tee_shm_register_kernel_buf(pvt_data.ctx, p->key, in trusted_tee_seal()
75 if (IS_ERR(reg_shm)) { in trusted_tee_seal()
77 return PTR_ERR(reg_shm); in trusted_tee_seal()
85 param[0].u.memref.shm = reg_shm; in trusted_tee_seal()
89 param[1].u.memref.shm = reg_shm; in trusted_tee_seal()
102 tee_shm_free(reg_shm); in trusted_tee_seal()
115 struct tee_shm *reg_shm = NULL; in trusted_tee_unseal() local
120 reg_shm = tee_shm_register_kernel_buf(pvt_data.ctx, p->key, in trusted_tee_unseal()
122 if (IS_ERR(reg_shm)) { in trusted_tee_unseal()
[all …]