函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:touch_atime

函数原型:void touch_atime(const struct path *path)

返回类型:void

参数:

类型参数名称
const struct path *path
1739  mnt等于mnt
1740  inode等于获得目录项的索引节点
1743  如果非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,则返回
1746  如果非sb_start_write_trylock(i_sb)则返回
1749  如果__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则转到: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  超级块解除写访问
调用者
名称描述
bpf_prog_get_type_path
get_link
bpf_obj_do_get
file_accessed