Lines Matching refs:TEE_SUCCESS

295 	TEE_Result res = TEE_SUCCESS;  in tee_rpmb_key_gen()
386 if (res != TEE_SUCCESS) in tee_rpmb_mac_calc()
392 if (res != TEE_SUCCESS) in tee_rpmb_mac_calc()
397 if (res != TEE_SUCCESS) in tee_rpmb_mac_calc()
400 res = TEE_SUCCESS; in tee_rpmb_mac_calc()
433 TEE_Result res = TEE_SUCCESS; in tee_rpmb_alloc()
461 if (res != TEE_SUCCESS) in tee_rpmb_alloc()
511 TEE_Result res = TEE_SUCCESS; in decrypt()
534 if (res == TEE_SUCCESS) in decrypt()
608 if (res != TEE_SUCCESS) in tee_rpmb_req_pack()
625 if (res != TEE_SUCCESS) in tee_rpmb_req_pack()
643 res = TEE_SUCCESS; in tee_rpmb_req_pack()
662 if (res != TEE_SUCCESS) in data_cpy_mac_calc_1b()
704 if (res != TEE_SUCCESS) in tee_rpmb_data_cpy_mac_calc()
725 if (res != TEE_SUCCESS) in tee_rpmb_data_cpy_mac_calc()
740 if (res != TEE_SUCCESS) in tee_rpmb_data_cpy_mac_calc()
752 if (res != TEE_SUCCESS) in tee_rpmb_data_cpy_mac_calc()
757 if (res != TEE_SUCCESS) in tee_rpmb_data_cpy_mac_calc()
761 if (res != TEE_SUCCESS) in tee_rpmb_data_cpy_mac_calc()
764 res = TEE_SUCCESS; in tee_rpmb_data_cpy_mac_calc()
854 if (res != TEE_SUCCESS) in tee_rpmb_resp_unpack_verify()
870 if (res != TEE_SUCCESS) in tee_rpmb_resp_unpack_verify()
885 return TEE_SUCCESS; in tee_rpmb_resp_unpack_verify()
906 if (res != TEE_SUCCESS) in tee_rpmb_get_dev_info()
916 if (res != TEE_SUCCESS) in tee_rpmb_get_dev_info()
931 res = TEE_SUCCESS; in tee_rpmb_get_dev_info()
960 if (res != TEE_SUCCESS) in tee_rpmb_init_read_wr_cnt()
964 if (res != TEE_SUCCESS) in tee_rpmb_init_read_wr_cnt()
974 if (res != TEE_SUCCESS) in tee_rpmb_init_read_wr_cnt()
978 if (res != TEE_SUCCESS) in tee_rpmb_init_read_wr_cnt()
991 if (res != TEE_SUCCESS) in tee_rpmb_init_read_wr_cnt()
994 res = TEE_SUCCESS; in tee_rpmb_init_read_wr_cnt()
1009 if (res == TEE_SUCCESS) { in tee_rpmb_verify_key_sync_counter()
1033 if (res != TEE_SUCCESS) in tee_rpmb_write_key()
1043 if (res != TEE_SUCCESS) in tee_rpmb_write_key()
1047 if (res != TEE_SUCCESS) in tee_rpmb_write_key()
1056 if (res != TEE_SUCCESS) in tee_rpmb_write_key()
1059 res = TEE_SUCCESS; in tee_rpmb_write_key()
1079 if (res == TEE_SUCCESS) { in tee_rpmb_write_and_verify_key()
1096 TEE_Result res = TEE_SUCCESS; in tee_rpmb_init()
1119 if (res != TEE_SUCCESS) in tee_rpmb_init()
1154 if (res != TEE_SUCCESS) { in tee_rpmb_init()
1175 } else if (res != TEE_SUCCESS) { in tee_rpmb_init()
1225 if (res != TEE_SUCCESS) in tee_rpmb_read()
1232 if (res != TEE_SUCCESS) in tee_rpmb_read()
1237 if (res != TEE_SUCCESS) in tee_rpmb_read()
1245 if (res != TEE_SUCCESS) in tee_rpmb_read()
1254 if (res != TEE_SUCCESS) in tee_rpmb_read()
1271 if (res != TEE_SUCCESS) in tee_rpmb_read()
1274 res = TEE_SUCCESS; in tee_rpmb_read()
1286 TEE_Result res = TEE_SUCCESS; in write_req()
1329 if (res != TEE_SUCCESS) { in write_req()
1351 if (res != TEE_SUCCESS) { in write_req()
1365 return TEE_SUCCESS; in write_req()
1400 if (res != TEE_SUCCESS) in tee_rpmb_write_blk()
1417 if (res != TEE_SUCCESS) in tee_rpmb_write_blk()
1489 if (res != TEE_SUCCESS) in tee_rpmb_write()
1501 if (res != TEE_SUCCESS) in tee_rpmb_write()
1509 if (res != TEE_SUCCESS) in tee_rpmb_write()
1513 res = TEE_SUCCESS; in tee_rpmb_write()
1529 TEE_Result res = TEE_SUCCESS; in tee_rpmb_get_write_counter()
1539 if (res != TEE_SUCCESS) in tee_rpmb_get_write_counter()
1557 TEE_Result res = TEE_SUCCESS; in tee_rpmb_get_max_block()
1567 if (res != TEE_SUCCESS) in tee_rpmb_get_max_block()
1610 return TEE_SUCCESS; in fat_entry_dir_init()
1657 return TEE_SUCCESS; in fat_entry_dir_init()
1723 return TEE_SUCCESS; in fat_entry_dir_update()
1735 return TEE_SUCCESS; in fat_entry_dir_update()
1765 return TEE_SUCCESS; in fat_entry_dir_get_next()
1877 return TEE_SUCCESS; in fat_entry_dir_get_next()
1951 return TEE_SUCCESS; in create_filename()
1966 return TEE_SUCCESS; in create_dirname()
2039 res = TEE_SUCCESS; in rpmb_fs_setup()
2044 if (res != TEE_SUCCESS) in rpmb_fs_setup()
2062 if (res != TEE_SUCCESS) in rpmb_fs_setup()
2072 if (res != TEE_SUCCESS) in rpmb_fs_setup()
2083 if (res != TEE_SUCCESS) in rpmb_fs_setup()
2089 res = TEE_SUCCESS; in rpmb_fs_setup()
2117 if (res != TEE_SUCCESS) in rpmb_fs_setup()
2123 if (res != TEE_SUCCESS) in rpmb_fs_setup()
2162 return TEE_SUCCESS; in get_fat_start_address()
2280 if (res != TEE_SUCCESS) in read_fat()
2299 if (res != TEE_SUCCESS) in generate_fek()
2318 if (res != TEE_SUCCESS) in rpmb_fs_open_internal()
2338 if (res != TEE_SUCCESS) in rpmb_fs_open_internal()
2342 if (res != TEE_SUCCESS) in rpmb_fs_open_internal()
2360 if (res != TEE_SUCCESS) in rpmb_fs_open_internal()
2367 if (res != TEE_SUCCESS) in rpmb_fs_open_internal()
2372 res = TEE_SUCCESS; in rpmb_fs_open_internal()
2394 return TEE_SUCCESS; in rpmb_fs_read()
2401 if (res != TEE_SUCCESS) in rpmb_fs_read()
2414 if (res != TEE_SUCCESS) in rpmb_fs_read()
2436 TEE_Result res = TEE_SUCCESS; in update_write_helper()
2458 if (res != TEE_SUCCESS) in update_write_helper()
2487 if (res != TEE_SUCCESS) in update_write_helper()
2510 return TEE_SUCCESS; in rpmb_fs_write_primitive()
2532 if (res != TEE_SUCCESS) in rpmb_fs_write_primitive()
2573 if (res == TEE_SUCCESS) { in rpmb_fs_write_primitive()
2664 if (res != TEE_SUCCESS) in rpmb_fs_rename_internal()
2668 if (res == TEE_SUCCESS) { in rpmb_fs_rename_internal()
2677 if (res != TEE_SUCCESS) in rpmb_fs_rename_internal()
2727 if (res != TEE_SUCCESS) in rpmb_fs_truncate()
2744 if (res != TEE_SUCCESS) in rpmb_fs_truncate()
2759 if (res != TEE_SUCCESS) in rpmb_fs_truncate()
2766 if (res != TEE_SUCCESS) in rpmb_fs_truncate()
2872 res = TEE_SUCCESS; in rpmb_fs_dir_populate()
2916 if (res != TEE_SUCCESS) { in rpmb_fs_opendir()
2943 return TEE_SUCCESS; in rpmb_fs_readdir()