Lines Matching refs:p
21 static TEE_Result get_alloc_stats(uint32_t type, TEE_Param p[TEE_NUM_PARAMS]) in get_alloc_stats()
42 pool_id = p[0].value.a; in get_alloc_stats()
50 if (p[1].memref.size < size_to_retrieve) { in get_alloc_stats()
51 p[1].memref.size = size_to_retrieve; in get_alloc_stats()
54 p[1].memref.size = size_to_retrieve; in get_alloc_stats()
55 stats = p[1].memref.buffer; in get_alloc_stats()
66 if (p[0].value.b) in get_alloc_stats()
77 phys_mem_stats(stats, p[0].value.b); in get_alloc_stats()
86 if (p[0].value.b) in get_alloc_stats()
94 if (rpmb_mem_stats(stats, p[0].value.b)) in get_alloc_stats()
113 static TEE_Result get_pager_stats(uint32_t type, TEE_Param p[TEE_NUM_PARAMS]) in get_pager_stats()
126 p[0].value.a = stats.npages; in get_pager_stats()
127 p[0].value.b = stats.npages_all; in get_pager_stats()
128 p[1].value.a = stats.ro_hits; in get_pager_stats()
129 p[1].value.b = stats.rw_hits; in get_pager_stats()
130 p[2].value.a = stats.hidden_hits; in get_pager_stats()
131 p[2].value.b = stats.zi_released; in get_pager_stats()
137 TEE_Param p[TEE_NUM_PARAMS] __maybe_unused) in get_memleak_stats()
150 TEE_Param p[TEE_NUM_PARAMS] __maybe_unused) in get_user_ta_stats()
161 res = tee_ta_instance_stats(p[0].memref.buffer, in get_user_ta_stats()
162 &p[0].memref.size); in get_user_ta_stats()
172 TEE_Param p[TEE_NUM_PARAMS]) in get_system_time()
192 p[0].value.a = ree_time.seconds; in get_system_time()
193 p[0].value.b = ree_time.millis; in get_system_time()
194 p[1].value.a = tee_time.seconds; in get_system_time()
195 p[1].value.b = tee_time.millis; in get_system_time()
200 static TEE_Result print_driver_info(uint32_t type, TEE_Param p[TEE_NUM_PARAMS]) in print_driver_info()
208 switch (p[0].value.a) { in print_driver_info()