Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cp_new_stat64

Proto:static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf)

Type:long

Parameter:

TypeParameterName
struct kstat *stat
struct stat64 __user *statbuf
447  ---------- LFS-64 ----------- (tmp)
453  st_dev = huge_encode_dev(dev)
454  st_rdev = huge_encode_dev(rdev)
456  st_ino = ino
457  If size of st_ino < size of ino && st_ino != ino Then Return -EOVERFLOW
462  st_mode = mode
463  st_nlink = nlink
464  st_uid = m_kuid_munged - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid.
465  st_gid = m_kgid_munged - Create a gid from a kgid user-namespace pair.*@targ: The user namespace we want a gid in.*@kgid: The kernel internal gid to start with.* Map @kgid into the user-namespace specified by @targ and* return the resulting gid.
466  st_atime = seconds
467  st_atime_nsec = nanoseconds
468  st_mtime = seconds
469  st_mtime_nsec = nanoseconds
470  st_ctime = seconds
471  st_ctime_nsec = nanoseconds
472  st_size = size
473  st_blocks = blocks
474  st_blksize = Preferred I/O size
475  Return If copy_to_user(statbuf, & tmp, size of tmp ) Then -EFAULT Else 0
Caller
NameDescribe
SYSCALL_DEFINE2
SYSCALL_DEFINE2
SYSCALL_DEFINE2
SYSCALL_DEFINE4