函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_round2 - Round up to power of 2 for calculating memory usage.*@size: Size to be rounded up.* Returns @size.* Since SLOB does not round up, this function simply returns @size.

函数原型:static inline int tomoyo_round2(size_t size)

返回类型:int

参数:

类型参数名称
size_tsize
1293  返回:size
调用者
名称描述
tomoyo_init_logmoyo_init_log - Allocate buffer for audit logs
tomoyo_write_log2moyo_write_log2 - Write an audit log.*@r: Pointer to "struct tomoyo_request_info".*@len: Buffer size needed for @fmt and @args.*@fmt: The printf()'s format string.*@args: va_list structure for @fmt.* Returns nothing.
tomoyo_supervisormoyo_supervisor - Ask for the supervisor's decision