Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:void add_page_wait_queue(struct page *page, wait_queue_entry_t *waiter)

Type:void

Parameter:

TypeParameterName
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)