1ADD_TO_PAGE_CACHE_LO(9)   Memory Management in Linux   ADD_TO_PAGE_CACHE_LO(9)
2
3
4

NAME

6       add_to_page_cache_locked - add a locked page to the pagecache
7

SYNOPSIS

9       int add_to_page_cache_locked(struct page * page,
10                                    struct address_space * mapping,
11                                    pgoff_t offset, gfp_t gfp_mask);
12

ARGUMENTS

14       page
15           page to add
16
17       mapping
18           the pageĀ“s address_space
19
20       offset
21           page index
22
23       gfp_mask
24           page allocation mode
25

DESCRIPTION

27       This function is used to add a page to the pagecache. It must be
28       locked. This function does not add the page to the LRU. The caller must
29       do that.
30
32Kernel Hackers Manual 2.6.         June 2019           ADD_TO_PAGE_CACHE_LO(9)
Impressum