Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:touch_atime

Proto:void touch_atime(const struct path *path)

Type:void

Parameter:

TypeParameterName
const struct path *path
1739  mnt = mnt
1740  inode = d_inode - Get the actual inode of this dentry*@dentry: The dentry to query* This is the helper normal filesystems should use to get at their own inodes* in their own dentries and ignore the layering superimposed upon them.
1743  If Not h_atime - update the access time*@path: the &struct path to update*@inode: inode to update* Update the accessed time on an inode and mark it for writeback.* This function automatically handles read only file systems and media, Then Return
1746  If Not sb_start_write_trylock(i_sb) Then Return
1749  If __mnt_want_write - get write access to a mount without freeze protection*@m: the mount on which to take a write* This tells the low-level filesystem that a write is about to be performed to* it, and makes sure that writes are allowed (mnt it read-write) != 0 Then Go to skip_update
1760  now = rrent_time - Return FS time*@inode: inode.* Return the current time truncated to the time granularity supported by* the fs.* Note that inode and inode->sb cannot be NULL.* Otherwise, the function warns and returns time without truncation.
1761  This does the actual work of updating an inodes time or version. Must have* had called mnt_want_write() before calling this.
1762  __mnt_drop_write - give up write access to a mount*@mnt: the mount on which to give up write access* Tells the low-level filesystem that we are done* performing writes to it. Must be matched with* __mnt_want_write() call above.
1763  skip_update :
1764  sb_end_write - drop write access to a superblock*@sb: the super we wrote to* Decrement number of writers to the filesystem. Wake up possible waiters* wanting to freeze the filesystem.
Caller
NameDescribe
bpf_prog_get_type_path
get_link
file_accessed