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:sys_statx - System call to get enhanced stats*@dfd: Base directory to pathwalk from *or* fd to stat.*@filename: File to stat or "" with AT_EMPTY_PATH*@flags: AT_* flags to control pathwalk.*@mask: Parts of statx struct actually required.

Proto:SYSCALL_DEFINE5(statx, int, dfd, const char __user *, filename, unsigned, flags, unsigned int, mask, struct statx __user *, buffer)

Type:

Parameter:Nothing

579  If mask & Reserved for future struct statx expansion Then Return -EINVAL
581  If (flags & Type of synchronisation required from statx() ) == Type of synchronisation required from statx() Then Return -EINVAL
584  error = vfs_statx - Get basic and extra attributes by filename*@dfd: A file descriptor representing the base dir for a relative filename*@filename: The name of the file of interest*@flags: Flags to control the query*@stat: The result structure to fill in
585  If error Then Return error
588  Return cp_statx( & stat, Pointer to an auxiliary buffer (1 page) )