函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\util.c Create Date:2022-07-27 21:16:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:moyo_convert_time - Convert time_t to YYYY/MM/DD hh/mm/ss.*@time: Seconds since 1970/01/01 00:00:00.*@stamp: Pointer to "struct tomoyo_time".* Returns nothing.

函数原型:void tomoyo_convert_time(time64_t time64, struct tomoyo_time *stamp)

返回类型:void

参数:

类型参数名称
time64_ttime64
struct tomoyo_time *stamp
95  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)
96  sec等于he number of seconds after the minute, normally in the range* 0 to 59, but can be up to 60 to allow for leap seconds
97  min等于he number of minutes after the hour, in the range 0 to 59
98  hour等于he number of hours past midnight, in the range 0 to 23
99  day等于he day of the month, in the range 1 to 31
100  month等于he number of months since January, in the range 0 to 11 加1
101  year等于he number of years since 1900 加1900
调用者
名称描述
tomoyo_read_statmoyo_read_stat - Read statistic data.*@head: Pointer to "struct tomoyo_io_buffer".* Returns nothing.