Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\word-at-a-time.h Create Date:2022-07-28 06:00:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:prep_zero_mask

Proto:static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longa
unsigned longbits
const struct word_at_a_time *c
56  Return bits
Caller
NameDescribe
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_userDo a strncpy, return length of string without final '\0'.* 'count' is the user-supplied count (return 'count' if we* hit it), 'max' is the address space maximum (and we return* -EFAULT if we hit it).
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