Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/mm/
H A Dhugetlbpage.c277 struct hugepd_freelist **batchp; in hugepd_free() local
279 batchp = &get_cpu_var(hugepd_freelist_cur); in hugepd_free()
288 if (*batchp == NULL) { in hugepd_free()
289 *batchp = (struct hugepd_freelist *)__get_free_page(GFP_ATOMIC); in hugepd_free()
290 (*batchp)->index = 0; in hugepd_free()
293 (*batchp)->ptes[(*batchp)->index++] = hugepte; in hugepd_free()
294 if ((*batchp)->index == HUGEPD_FREELIST_SIZE) { in hugepd_free()
295 call_rcu(&(*batchp)->rcu, hugepd_free_rcu_callback); in hugepd_free()
296 *batchp = NULL; in hugepd_free()