Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lowest_in_progress

Proto:static async_cookie_t lowest_in_progress(struct async_domain *domain)

Type:async_cookie_t

Parameter:

TypeParameterName
struct async_domain *domain
83  struct async_entry * first = NULL
84  ret = finity cookie
87  spin_lock_irqsave( & async_lock, flags)
89  If domain Then
90  If Not list_empty - tests whether a list is empty*@head: the list to test. Then first = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & pending, structasync_entry, domain_list)
93  Else
94  If Not list_empty - tests whether a list is empty*@head: the list to test. Then first = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & async_global_pending, structasync_entry, global_list)
99  If first Then ret = cookie
102  spin_unlock_irqrestore( & async_lock, flags)
103  Return ret
Caller
NameDescribe
async_synchronize_cookie_domainasync_synchronize_cookie_domain - synchronize asynchronous function calls within a certain domain with cookie checkpointing*@cookie: async_cookie_t to use as checkpoint*@domain: the domain to synchronize (%NULL for all registered domains)* This function