Lines Matching refs:stats
91 void z_impl_k_mem_paging_stats_get(struct k_mem_paging_stats_t *stats) in z_impl_k_mem_paging_stats_get() argument
93 if (stats == NULL) { in z_impl_k_mem_paging_stats_get()
98 memcpy(stats, &paging_stats, sizeof(paging_stats)); in z_impl_k_mem_paging_stats_get()
103 void z_vrfy_k_mem_paging_stats_get(struct k_mem_paging_stats_t *stats) in z_vrfy_k_mem_paging_stats_get() argument
105 K_OOPS(K_SYSCALL_MEMORY_WRITE(stats, sizeof(*stats))); in z_vrfy_k_mem_paging_stats_get()
106 z_impl_k_mem_paging_stats_get(stats); in z_vrfy_k_mem_paging_stats_get()
113 struct k_mem_paging_stats_t *stats) in z_impl_k_mem_paging_thread_stats_get() argument
115 if ((thread == NULL) || (stats == NULL)) { in z_impl_k_mem_paging_thread_stats_get()
120 memcpy(stats, &thread->paging_stats, sizeof(thread->paging_stats)); in z_impl_k_mem_paging_thread_stats_get()
126 struct k_mem_paging_stats_t *stats) in z_vrfy_k_mem_paging_thread_stats_get() argument
129 K_OOPS(K_SYSCALL_MEMORY_WRITE(stats, sizeof(*stats))); in z_vrfy_k_mem_paging_thread_stats_get()
130 z_impl_k_mem_paging_thread_stats_get(thread, stats); in z_vrfy_k_mem_paging_thread_stats_get()