函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:COMPAT_SYSCALL_DEFINE5

函数原型:COMPAT_SYSCALL_DEFINE5(mount, const char __user *, dev_name, const char __user *, dir_name, const char __user *, type, compat_ulong_t, flags, const void __user *, data)

返回类型:

参数:

99  kernel_type等于copy_mount_string(type)
100  retval等于错误
101  如果是错误则转到:out
104  kernel_dev等于copy_mount_string(dev_name)
105  retval等于错误
106  如果是错误则转到:out1
109  options等于copy_mount_options(data)
110  retval等于错误
111  如果是错误则转到:out2
114  如果kernel_typeoptions
115  如果非字符串比较
116  retval等于负EINVAL
117  如果do_nfs4_super_data_conv(options)则转到:out3
122  retval等于Flags is a 32-bit value that allows up to 31 non-fs dependent flags to* be given to the mount() call (ie: read-only, no-dev, no-suid etc)
124  out3 :
125  释放内存
126  out2 :
127  释放内存
128  out1 :
129  释放内存
130  out :
131  返回:retval