Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\exec.c Create Date:2022-07-28 20:03:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:() counts the number of strings in array ARGV.

Proto:static int count(struct user_arg_ptr argv, int max)

Type:int

Parameter:

TypeParameterName
struct user_arg_ptrargv
intmax
426  i = 0
428  If (native != NULL) Then
429  cycle
432  If Not p Then Break
435  If IS_ERR(p) Then Return -EFAULT
438  If i >= max Then Return -E2BIG
440  ++i
444  cond_resched()
447  Return i
Caller
NameDescribe
prepare_arg_pages