Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:show_mark_fhandle

Proto:static void show_mark_fhandle(struct seq_file *m, struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
struct inode *inode
44  struct{struct file_handle handle;u8 pad[128];}f
50  handle_bytes = size of pad
51  size = handle_bytes >> 2
53  ret = exportfs_encode_inode_fh(inode, (structfid * ) file identifier , & size, NULL)
54  If ret == FILEID_INVALID || ret < 0 Then
55  WARN_ONCE(1, "Can't encode file handler for inotify: %d\n", ret)
56  Return
59  handle_type = ret
60  handle_bytes = size * sizeof(u32)
62  seq_printf(m, "fhandle-bytes:%x fhandle-type:%x f_handle:", handle_bytes, handle_type)
65  When i < handle_bytes cycle seq_printf(m, "%02x", (int) file identifier [i])
Caller
NameDescribe
inotify_fdinfo
fanotify_fdinfo