函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-29 10:39:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mnt_warn_timestamp_expiry

函数原型:static void mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt)

返回类型:void

参数:

类型参数名称
struct path *mountpoint
struct vfsmount *mnt
2471  sb等于 pointer to superblock
2473  如果非__mnt_is_readonly: check whether a mount is read-only*@mnt: the mount to check for its write status* This shouldn't be used directly ouside of the VFS.* It does not guarantee that the filesystem will stay* r/w, just that it is right *now*. This can not andktime_get_real_seconds - Get the seconds portion of CLOCK_REALTIME* Returns the wall clock seconds since 1970. This replaces the* get_seconds() interface which is not y2038 safe on 32bit systems.Limits for settimeofday():* To prevent setting the time close to the wraparound point time setting* is limited so a reasonable uptime can be accomodated. Uptime of 30 years* should be really sufficient, which means the cutoff is 2232. At that大于s_time_max
2475  buf等于__get_free_page(GFP_KERNEL)
2476  mntpath等于如果bufd_path(mountpoint, buf, PAGE_SIZE)否则错误号
2479  me64_to_tm - converts the calendar time to local broken-down time*@totalsecs the number of seconds elapsed since 00:00:00 on January 1, 1970,* Coordinated Universal Time (UTC)
2481  打印警告信息("%s filesystem being %s at %s supports timestamps until %04ld (0x%llx)\n", name, is_mounted(mnt) ? "remounted" : "mounted", mntpath, he number of years since 1900 + 1900, (unsignedlonglong)s_time_max)
2487  free_page((unsignedlong)buf)
调用者
名称描述
do_reconfigure_mntHandle reconfiguration of the mountpoint only without alteration of the* superblock it refers to. This is triggered by specifying MS_REMOUNT|MS_BIND* to mount(2).
do_remounthange filesystem flags. dir should be a physical root of filesystem.* If you've mounted a non-root directory somewhere and want to do remount* on it - tough luck.
do_new_mount_fcCreate a new mount using a superblock configuration and request it* be added to the namespace tree.