Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\gup.c Create Date:2022-07-28 14:34:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:put_user_pages() - release an array of gup-pinned pages.*@pages: array of pages to be marked dirty and released.*@npages: number of pages in the @pages array.* For each page in the @pages array, release the page using put_user_page().

Proto:void put_user_pages(struct page **pages, unsigned long npages)

Type:void

Parameter:

TypeParameterName
struct page **pages
unsigned longnpages
117  When index < npages cycle put_user_page() - release a gup-pinned page*@page: pointer to page to be released* Pages that were pinned via get_user_pages*() must be released via* either put_user_page(), or one of the put_user_pages*() routines* below
Caller
NameDescribe
put_user_pages_dirty_lockput_user_pages_dirty_lock() - release and optionally dirty gup-pinned pages*@pages: array of pages to be maybe marked dirty, and definitely released