| Function report | 
| Source Code: security\selinux\avc.c | Create Date:2022-07-28 18:42:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:avc_get_hash_stats
Proto:int avc_get_hash_stats(struct selinux_avc *avc, char *page)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct selinux_avc * | avc | |
| char * | page | 
| 158 | slots_used = 0 | 
| 159 | max_chain_len = 0 | 
| 160 | When i < AVC_CACHE_SLOTS cycle | 
| 161 | head = head for avc_node->list [i] | 
| 162 | If Not hlist_empty(head) Then | 
| 163 | slots_used++ | 
| 164 | chain_len = 0 | 
| 166 | chain_len++ | 
| 167 | If chain_len > max_chain_len Then max_chain_len = chain_len | 
| Name | Describe | 
|---|---|
| sel_read_avc_hash_stats | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |