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

/linux-4.4.14/security/selinux/
H A Dnetnode.c46 #define SEL_NETNODE_HASH_SIZE 256 macro
69 static struct sel_netnode_bkt sel_netnode_hash[SEL_NETNODE_HASH_SIZE];
84 return (addr & (SEL_NETNODE_HASH_SIZE - 1)); sel_netnode_hashfn_ipv4()
101 return (addr->s6_addr32[3] & (SEL_NETNODE_HASH_SIZE - 1)); sel_netnode_hashfn_ipv6()
292 for (idx = 0; idx < SEL_NETNODE_HASH_SIZE; idx++) { sel_netnode_flush()
310 for (iter = 0; iter < SEL_NETNODE_HASH_SIZE; iter++) { sel_netnode_init()

Completed in 147 milliseconds