Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\label.c Create Date:2022-07-28 19:54:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:label_count_strn_entries

Proto:static int label_count_strn_entries(const char *str, size_t n)

Type:int

Parameter:

TypeParameterName
const char *str
size_tn
1810  end = str + n
1812  count = 1
1814  AA_BUG(!str)
1816  When split cycle
1819  count++
1820  str = split + 3
1823  Return count
Caller
NameDescribe
aa_label_strn_parseaa_label_strn_parse - parse, validate and convert a text string to a label*@base: base label to use for lookups (NOT NULL)*@str: null terminated text string (NOT NULL)*@n: length of str to parse, will stop at \0 if encountered before n*@gfp: allocation