函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-27 21:06:10
Last Modify:2020-03-18 09:15:18 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:moyo_write_stat - Set memory quota.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0.

函数原型:static int tomoyo_write_stat(struct tomoyo_io_buffer *head)

返回类型:int

参数:

类型参数名称
struct tomoyo_io_buffer *head
2396  data等于Buffer for writing.
2399  如果tomoyo_str_starts( & data, "Memory used by ")则以i小于TOMOYO_MAX_MEMORY_STAT循环
2401  如果tomoyo_str_starts( & data, String table for /sys/kernel/security/tomoyo/stat interface. [i])则sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments
2403  返回:0