Function report |
Source Code:security\selinux\ibpkey.c |
Create Date:2022-07-28 19:10:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sel_ib_pkey_hashfn - Hashing function for the pkey table*@pkey: pkey number* Description:* This is the hashing function for the pkey table, it returns the bucket* number for the given pkey.
Proto:static unsigned int sel_ib_pkey_hashfn(u16 pkey)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
u16 | pkey |
58 | Return pkey & SEL_PKEY_HASH_SIZE - 1 |
Name | Describe |
---|---|
sel_ib_pkey_find | sel_ib_pkey_find - Search for a pkey record*@subnet_prefix: subnet_prefix*@pkey_num: pkey_num* Description:* Search the pkey table and return the matching record. If an entry* can not be found in the table return NULL. |
sel_ib_pkey_insert | sel_ib_pkey_insert - Insert a new pkey into the table*@pkey: the new pkey record* Description:* Add a new pkey record to the hash table. |
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 |