Lines Matching refs:status

134 	TPM_RESULT status = TPM_SUCCESS;  in vtpmmgr_SaveHashKey()  local
142 status = TPM_BAD_PARAMETER; in vtpmmgr_SaveHashKey()
147 status = TPM_BAD_PARAMETER; in vtpmmgr_SaveHashKey()
152 status = find_vtpm_verified(tpmcmd->domid, opq); in vtpmmgr_SaveHashKey()
157 if (status == TPM_BAD_PARAMETER) { in vtpmmgr_SaveHashKey()
161 status = TPM_BAD_PARAMETER; in vtpmmgr_SaveHashKey()
168 status = TPM_SUCCESS; in vtpmmgr_SaveHashKey()
170 if (status) in vtpmmgr_SaveHashKey()
179 pack_TPM_RSP_HEADER(tpmcmd->resp, VTPM_TAG_RSP, VTPM_COMMAND_HEADER_SIZE, status); in vtpmmgr_SaveHashKey()
182 return status; in vtpmmgr_SaveHashKey()
187 TPM_RESULT status = TPM_SUCCESS; in vtpmmgr_LoadHashKey() local
194 status = find_vtpm_verified(tpmcmd->domid, opq); in vtpmmgr_LoadHashKey()
195 if (status) in vtpmmgr_LoadHashKey()
209 pack_TPM_RSP_HEADER(tpmcmd->resp, VTPM_TAG_RSP, tpmcmd->resp_len, status); in vtpmmgr_LoadHashKey()
211 return status; in vtpmmgr_LoadHashKey()
215 TPM_RESULT status = TPM_SUCCESS; \
222 if (status) \
224 pack_TPM_RSP_HEADER(tpmcmd->resp, VTPM_TAG_RSP, tpmcmd->resp_len, status); \
225 return status
228 status = unpack3_ ## type (tpmcmd->req, &in_pos, tpmcmd->req_len, item); \
229 if (status) { \
230 status = TPM_BAD_PARAMETER; \
239 status = TPM_BADINDEX; \
244 status = TPM_AUTHFAIL; \
251 status = TPM_BAD_PARAMETER; \
259 status = TPM_SIZE; \
293 status = TPM_BAD_PARAMETER; in vtpmmgr_GetQuote()
302status = vtpm_do_quote(opq->group, *opq->uuid, opq->kern_hash, ibuf, &sel, extra_info_flags, PACK_… in vtpmmgr_GetQuote()
303 if (status) in vtpmmgr_GetQuote()
332 status = TPM_FAIL; in vtpmmgr_GroupNew()
368 status = TPM_BADINDEX; in vtpmmgr_GroupDel()
378 status = TPM_FAIL; in vtpmmgr_GroupDel()
447 status = group_do_activate(group, blob, blobSize, tpmcmd->resp, &tpmcmd->resp_len); in vtpmmgr_GroupActivate()
547 status = TPM_FAIL; in vtpmmgr_GroupRegister()
554 status = TPM_FAIL; in vtpmmgr_GroupRegister()
556 if (status) in vtpmmgr_GroupRegister()
573 status = vtpm_do_quote(group, NULL, NULL, &digest, &sel, extra_info_flags,NULL, NULL, PACK_BUF); in vtpmmgr_GroupRegister()
603 status = TPM_FAIL; in vtpmmgr_GroupUpdate()
615 status = TPM_SIZE; in vtpmmgr_GroupUpdate()
620 status = TPM_SIZE; in vtpmmgr_GroupUpdate()
634 status = TPM_BAD_PARAMETER; in vtpmmgr_GroupUpdate()
648 status = rc; in vtpmmgr_GroupUpdate()
674 pack_TPM_RSP_HEADER(tpmcmd->resp, VTPM_TAG_RSP, tpmcmd->resp_len, status); in vtpmmgr_GroupUpdate()
675 return status; in vtpmmgr_GroupUpdate()
730 status = TPM_FAIL; in vtpmmgr_VtpmNew()
752 status = TPM_FAIL; in vtpmmgr_VtpmDel()
757 status = TPM_FAIL; in vtpmmgr_VtpmDel()
779 TPM_RESULT status = TPM_SUCCESS; in vtpmmgr_handle_cmd() local
802 status = TPM_BAD_ORDINAL; in vtpmmgr_handle_cmd()
808 status = TPM_AUTHFAIL; in vtpmmgr_handle_cmd()
835 status = TPM_BAD_ORDINAL; in vtpmmgr_handle_cmd()
855 status = TPM_DISABLED_CMD; in vtpmmgr_handle_cmd()
863 status = TPM_DISABLED_CMD; in vtpmmgr_handle_cmd()
874 status = TPM_BADTAG; in vtpmmgr_handle_cmd()
879 pack_TPM_RSP_HEADER(tpmcmd->resp, tag + 3, tpmcmd->resp_len, status); in vtpmmgr_handle_cmd()
881 return status; in vtpmmgr_handle_cmd()