tee_shm_is_dynamic
if (tee_shm_is_dynamic(p->u.memref.shm))
if (rpc_arg && tee_shm_is_dynamic(shm)) {