函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\userfaultfd.c Create Date:2022-07-29 10:52:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__wake_userfault

函数原型:static void __wake_userfault(struct userfaultfd_ctx *ctx, struct userfaultfd_wake_range *range)

返回类型:void

参数:

类型参数名称
struct userfaultfd_ctx *ctx
struct userfaultfd_wake_range *range
1233  spin_lock_irq( & lock)
1235  如果waitqueue_active -- locklessly test for waiters on the queue*@wq_head: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will___wake_up_locked_key( & waitqueue head for the pending (i.e. not read) userfaults , Convenience macros for the sake of wake_up(): , range)
1238  如果waitqueue_active -- locklessly test for waiters on the queue*@wq_head: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will___wake_up - wake up threads blocked on a waitqueue
1240  spin_unlock_irq( & lock)
调用者
名称描述
wake_userfault