函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fanotify_event_info_len

函数原型:static int fanotify_event_info_len(struct fanotify_event *event)

返回类型:int

参数:

类型参数名称
struct fanotify_event *event
56  如果非fanotify_event_has_fid(event)则返回:0
59  返回:undup - round up to the next specified multiple*@x: the value to up*@y: multiple to round up to* Rounds @x up to next multiple of @y. If @y will always be a power* of 2, consider using the faster round_up().(sizeof(structfanotify_event_info_fid) + sizeof(structfile_handle) + fh_len, FANOTIFY_EVENT_ALIGN)
调用者
名称描述
get_one_eventGet an fsnotify notification event if one exists and is small* enough to fit in "count". Return an error pointer if the count* is not large enough. When permission event is dequeued, its state is* updated accordingly.
copy_fid_to_user
copy_event_to_user