Searched refs:table_perturb (Results 1 – 2 of 2) sorted by relevance
740 static u32 *table_perturb; variable783 get_random_slow_once(table_perturb, in __inet_hash_connect()784 INET_TABLE_PERTURB_SIZE * sizeof(*table_perturb)); in __inet_hash_connect()787 offset = READ_ONCE(table_perturb[index]) + (port_offset >> 32); in __inet_hash_connect()848 WRITE_ONCE(table_perturb[index], READ_ONCE(table_perturb[index]) + i + 2); in __inet_hash_connect()923 table_perturb = kmalloc_array(INET_TABLE_PERTURB_SIZE, in inet_hashinfo2_init()924 sizeof(*table_perturb), GFP_KERNEL); in inet_hashinfo2_init()925 if (!table_perturb) in inet_hashinfo2_init()
25620 -static u32 table_perturb[1 << INET_TABLE_PERTURB_SHIFT];25639 - net_get_random_once(table_perturb, sizeof(table_perturb));25642 - offset = READ_ONCE(table_perturb[index]) + port_offset;25651 - WRITE_ONCE(table_perturb[index], READ_ONCE(table_perturb[index]) + i + 2);