Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-28 19:37:00
Last Modify:2020-03-18 09:15:18 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_write_stat - Set memory quota.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0.

Proto:static int tomoyo_write_stat(struct tomoyo_io_buffer *head)

Type:int

Parameter:

TypeParameterName
struct tomoyo_io_buffer *head
2396  data = Buffer for writing.
2399  If tomoyo_str_starts( & data, "Memory used by ") Then When i < TOMOYO_MAX_MEMORY_STAT cycle
2401  If tomoyo_str_starts( & data, String table for /sys/kernel/security/tomoyo/stat interface. [i]) Then sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments
2403  Return 0