函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\word-at-a-time.h Create Date:2022-07-27 06:59:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:判断为零

函数原型:static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c)

返回类型:unsigned long

参数:

类型参数名称
unsigned longa
unsigned long *bits
const struct word_at_a_time *c
49  mask等于aone_bits按位与a的反按位与high_bits
50  bits等于mask
51  返回:mask
调用者
名称描述
strscpystrscpy - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The
do_strncpy_from_user复制指定长度字符串
do_strnlen_userDo a strnlen, return length of string *with* final '\0'.* 'count' is the user-supplied count, while 'max' is the* address space maximum.* Return 0 for exceptions (which includes hitting the address* space maximum), or 'count+1' if hitting the user-supplied