Searched refs:section_num (Results 1 – 4 of 4) sorted by relevance
| /rk3399_rockchip-uboot/lib/optee_clientApi/ |
| H A D | OpteeClientRkNewFs_v1.c | 1083 int di, section_num; in ree_fs_new_read() local 1108 section_num = p.size / RKSS_DATA_SECTION_LEN + 1; in ree_fs_new_read() 1109 temp_file_data = malloc(section_num * RKSS_DATA_SECTION_LEN); in ree_fs_new_read() 1110 ret = rkss_read_multi_sections(temp_file_data, p.index, section_num); in ree_fs_new_read() 1133 int section_num; in ree_fs_new_write() local 1167 section_num = p.size / RKSS_DATA_SECTION_LEN + 1; in ree_fs_new_write() 1168 temp_file_data = malloc(section_num * RKSS_DATA_SECTION_LEN); in ree_fs_new_write() 1169 ret = rkss_read_multi_sections(temp_file_data, p.index, section_num); in ree_fs_new_write() 1171 printf("TEEC: unavailable file index %d section_num %d\n", p.index, section_num); in ree_fs_new_write() 1178 ret = rkss_decref_multi_usedflags_sections(p.index, section_num); in ree_fs_new_write() [all …]
|
| H A D | OpteeClientRkNewFs_v2.c | 1072 int di, section_num; in ree_fs_new_read() local 1099 section_num = p.size / RKSS_DATA_LEN + 1; in ree_fs_new_read() 1100 temp_file_data = malloc(section_num * RKSS_DATA_LEN); in ree_fs_new_read() 1101 ret = rkss_read_multi_sections(area_index, temp_file_data, p.index, section_num); in ree_fs_new_read() 1124 int section_num; in ree_fs_new_write() local 1154 section_num = p.size / RKSS_DATA_LEN + 1; in ree_fs_new_write() 1155 temp_file_data = malloc(section_num * RKSS_DATA_LEN); in ree_fs_new_write() 1156 ret = rkss_read_multi_sections(area_index, temp_file_data, p.index, section_num); in ree_fs_new_write() 1158 printf("TEEC: unavailable file index %d section_num %d\n", p.index, section_num); in ree_fs_new_write() 1165 ret = rkss_decref_multi_usedflags_sections(area_index, p.index, section_num); in ree_fs_new_write() [all …]
|
| H A D | OpteeClientRkFs_v1.c | 1296 int section_num, new_section_num, free_section_num; in tee_fs_truncate() local 1320 section_num = p.size / RKSS_DATA_SECTION_LEN + 1; in tee_fs_truncate() 1322 free_section_num = section_num - new_section_num; in tee_fs_truncate()
|
| H A D | OpteeClientRkFs_v2.c | 1174 int section_num, new_section_num, free_section_num; in tee_fs_truncate() local 1197 section_num = p.size / RKSS_DATA_LEN + 1; in tee_fs_truncate() 1199 free_section_num = section_num - new_section_num; in tee_fs_truncate()
|