]> Git Repo - J-linux.git/blob - rust/helpers/page.c
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / rust / helpers / page.c
1 // SPDX-License-Identifier: GPL-2.0
2
3 #include <linux/gfp.h>
4 #include <linux/highmem.h>
5
6 struct page *rust_helper_alloc_pages(gfp_t gfp_mask, unsigned int order)
7 {
8         return alloc_pages(gfp_mask, order);
9 }
10
11 void *rust_helper_kmap_local_page(struct page *page)
12 {
13         return kmap_local_page(page);
14 }
15
16 void rust_helper_kunmap_local(const void *addr)
17 {
18         kunmap_local(addr);
19 }
This page took 0.026155 seconds and 4 git commands to generate.