Home
last modified time | relevance | path

Searched refs:stats_size_bytes (Results 1 – 1 of 1) sorted by relevance

/optee_test/host/xtest/
A Dstats.c125 size_t stats_size_bytes = 0; in stat_alloc() local
143 stats_size_bytes = op.params[1].tmpref.size; in stat_alloc()
144 if (stats_size_bytes % sizeof(*stats)) in stat_alloc()
147 stats_size_bytes, sizeof(*stats)); in stat_alloc()
148 stats = calloc(1, stats_size_bytes); in stat_alloc()
150 err(EXIT_FAILURE, "calloc(1, %zu)", stats_size_bytes); in stat_alloc()
153 op.params[1].tmpref.size = stats_size_bytes; in stat_alloc()
160 if (op.params[1].tmpref.size != stats_size_bytes) in stat_alloc()
163 stats_size_bytes, op.params[1].tmpref.size); in stat_alloc()
165 for (n = 0; n < stats_size_bytes / sizeof(*stats); n++) { in stat_alloc()

Completed in 2 milliseconds