函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\string.c Create Date:2022-07-27 06:59:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:memchr_inv - Find an unmatching character in an area of memory.*@start: The memory area*@c: Find a character other than c*@bytes: The size of the area.* returns the address of the first character other than @c, or %NULL

函数原型:void *memchr_inv(const void *start, int c, size_t bytes)

返回类型:void

参数:

类型参数名称
const void *start
intc
size_tbytes
1032  value等于c
1036  如果bytes小于等于16则返回:check_bytes8(start, value, bytes)
1039  value64等于value
1046  value64或等于value64左移8位
1047  value64或等于value64左移16位
1048  value64或等于value64左移32位
1051  prefix等于start取模8
1052  如果prefix
1055  prefix等于8减prefix
1056  r等于check_bytes8(start, value, prefix)
1057  如果r则返回:r
1059  start加等于prefix
1060  bytes减等于prefix
1063  words等于bytes除8
1065 words循环
1066  如果start不等于value64则返回:check_bytes8(start, value, 8)
1068  start加等于8
1069  words自减
1072  返回:check_bytes8(start, value, bytes % 8)
调用者
名称描述
is_zeroed
do_test
do_remove_keyTry to remove an fscrypt master encryption key
fscrypt_ioctl_get_key_statusRetrieve the status of an fscrypt master encryption key
fscrypt_supported_policy
fsverity_ioctl_enablesverity_ioctl_enable() - enable verity on a file* Enable fs-verity on a file. See the "FS_IOC_ENABLE_VERITY" section of* Documentation/filesystems/fsverity.rst for the documentation.* Return: 0 on success, -errno on failure
fsverity_create_infoValidate the given fsverity_descriptor and create a new fsverity_info from* it. The signature (if present) is also checked.
validate_xstate_headerValidate an xstate header supplied by userspace (ptrace or sigreturn)
ib_is_buffer_cleared
check_poison_mem
__keyctl_dh_compute
fscrypt_ioctl_add_keyAdd a master encryption key to the filesystem, causing all files which were* encrypted with it to appear "unlocked" (decrypted) when accessed.* When adding a key for use by v1 encryption policies, this ioctl is
fscrypt_supported_policyscrypt_supported_policy - check whether an encryption policy is supported* Given an encryption policy, check whether all its encryption modes and other* settings are supported by this kernel