函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:has_unmap_ctx

函数原型:static bool has_unmap_ctx(struct userfaultfd_ctx *ctx, struct list_head *unmaps, unsigned long start, unsigned long end)

返回类型:bool

参数:

类型参数名称
struct userfaultfd_ctx *ctx
struct list_head *unmaps
unsigned longstart
unsigned longend
821  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(unmap_ctx, unmaps, list)
822  如果ctx恒等于ctxstart恒等于startend恒等于end则返回:true
826  返回:false
调用者
名称描述
userfaultfd_unmap_prep