函数逻辑报告

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

函数名称:This does the actual work of updating an inodes time or version. Must have* had called mnt_want_write() before calling this.

函数原型:static int update_time(struct inode *inode, struct timespec64 *time, int flags)

返回类型:int

参数:

类型参数名称
struct inode *inode
struct timespec64 *time
intflags
1685  int( * update_time)(struct inode * , struct timespec64 * , int)
1687  update_time等于如果update_timeupdate_time否则generic_update_time
1690  返回:update_time(inode, time, flags)
调用者
名称描述
touch_atime
file_update_timele_update_time - update mtime and ctime time*@file: file accessed* Update the mtime and ctime members of an inode and mark the inode* for writeback