aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index c085af2332d8..d5fdae2eb183 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -169,9 +169,10 @@ static int sync_page(void *word)
169/** 169/**
170 * filemap_fdatawrite_range - start writeback against all of a mapping's 170 * filemap_fdatawrite_range - start writeback against all of a mapping's
171 * dirty pages that lie within the byte offsets <start, end> 171 * dirty pages that lie within the byte offsets <start, end>
172 * @mapping: address space structure to write 172 * @mapping: address space structure to write
173 * @start: offset in bytes where the range starts 173 * @start: offset in bytes where the range starts
174 * @end : offset in bytes where the range ends 174 * @end: offset in bytes where the range ends
175 * @sync_mode: enable synchronous operation
175 * 176 *
176 * If sync_mode is WB_SYNC_ALL then this is a "data integrity" operation, as 177 * If sync_mode is WB_SYNC_ALL then this is a "data integrity" operation, as
177 * opposed to a regular memory * cleansing writeback. The difference between 178 * opposed to a regular memory * cleansing writeback. The difference between
@@ -535,8 +536,8 @@ EXPORT_SYMBOL(find_trylock_page);
535/** 536/**
536 * find_lock_page - locate, pin and lock a pagecache page 537 * find_lock_page - locate, pin and lock a pagecache page
537 * 538 *
538 * @mapping - the address_space to search 539 * @mapping: the address_space to search
539 * @offset - the page index 540 * @offset: the page index
540 * 541 *
541 * Locates the desired pagecache page, locks it, increments its reference 542 * Locates the desired pagecache page, locks it, increments its reference
542 * count and returns its address. 543 * count and returns its address.
@@ -575,9 +576,9 @@ EXPORT_SYMBOL(find_lock_page);
575/** 576/**
576 * find_or_create_page - locate or add a pagecache page 577 * find_or_create_page - locate or add a pagecache page
577 * 578 *
578 * @mapping - the page's address_space 579 * @mapping: the page's address_space
579 * @index - the page's index into the mapping 580 * @index: the page's index into the mapping
580 * @gfp_mask - page allocation mode 581 * @gfp_mask: page allocation mode
581 * 582 *
582 * Locates a page in the pagecache. If the page is not present, a new page 583 * Locates a page in the pagecache. If the page is not present, a new page
583 * is allocated using @gfp_mask and is added to the pagecache and to the VM's 584 * is allocated using @gfp_mask and is added to the pagecache and to the VM's