Home
last modified time | relevance | path

Searched refs:SEL_NETNODE_HASH_SIZE (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/security/selinux/
H A Dnetnode.c36 #define SEL_NETNODE_HASH_SIZE 256 macro
58 static struct sel_netnode_bkt sel_netnode_hash[SEL_NETNODE_HASH_SIZE];
73 return (addr & (SEL_NETNODE_HASH_SIZE - 1)); in sel_netnode_hashfn_ipv4()
90 return (addr->s6_addr32[3] & (SEL_NETNODE_HASH_SIZE - 1)); in sel_netnode_hashfn_ipv6()
279 for (idx = 0; idx < SEL_NETNODE_HASH_SIZE; idx++) { in sel_netnode_flush()
297 for (iter = 0; iter < SEL_NETNODE_HASH_SIZE; iter++) { in sel_netnode_init()