Lines Matching refs:tpm_nv_define_space
84 return tpm_nv_define_space(TPM_NV_INDEX_LOCK, 0, 0); in tpm_nv_set_locked()
255 tpm_nv_define_space(INDEX0, perm, 4); in initialise_spaces()
257 tpm_nv_define_space(INDEX1, perm, 4); in initialise_spaces()
259 tpm_nv_define_space(INDEX2, perm, 4); in initialise_spaces()
261 tpm_nv_define_space(INDEX3, perm, 4); in initialise_spaces()
265 tpm_nv_define_space(INDEX_INITIALISED, perm, 1); in initialise_spaces()
335 TPM_CHECK(tpm_nv_define_space(INDEX0, perm, 2 * sizeof(uint32_t))); in test_redefine_unowned()
336 TPM_CHECK(tpm_nv_define_space(INDEX0, perm, sizeof(uint32_t))); in test_redefine_unowned()
338 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, 2 * sizeof(uint32_t))); in test_redefine_unowned()
339 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, sizeof(uint32_t))); in test_redefine_unowned()
345 result = tpm_nv_define_space(INDEX0, perm, sizeof(uint32_t)); in test_redefine_unowned()
349 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, 2 * sizeof(uint32_t))); in test_redefine_unowned()
350 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, sizeof(uint32_t))); in test_redefine_unowned()
356 result = tpm_nv_define_space(INDEX0, perm, sizeof(uint32_t)); in test_redefine_unowned()
358 result = tpm_nv_define_space(INDEX1, perm, sizeof(uint32_t)); in test_redefine_unowned()