函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\gup.c Create Date:2022-07-27 15:59:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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().

函数原型:void put_user_pages(struct page **pages, unsigned long npages)

返回类型:void

参数:

类型参数名称
struct page **pages
unsigned longnpages
117 index小于npages循环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
调用者
名称描述
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
io_sqe_buffer_register