函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:add_page_wait_queue - Add an arbitrary waiter to a page's wait queue*@page: Page defining the wait queue of interest*@waiter: Waiter to add to the queue* Add an arbitrary @waiter to the wait queue for the nominated @page.

函数原型:void add_page_wait_queue(struct page *page, wait_queue_entry_t *waiter)

返回类型:void

参数:

类型参数名称
struct page *page
wait_queue_entry_t *waiter
1263  q等于page_waitqueue(page)
1266  spin_lock_irqsave( & lock, flags)
1267  __add_wait_queue_entry_tail(q, waiter)
1268  SetPageWaiters(page)
1269  spin_unlock_irqrestore( & lock, flags)