Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\notify\fanotify\fanotify_user.c Create Date:2022-07-28 20:18:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fanotify_event_info_len

Proto:static int fanotify_event_info_len(struct fanotify_event *event)

Type:int

Parameter:

TypeParameterName
struct fanotify_event *event
56  If Not fanotify_event_has_fid(event) Then Return 0
59  Return 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)
Caller
NameDescribe
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