Lines Matching refs:hash
283 int hash; in l2tp_session_find_nth() local
288 for (hash = 0; hash < L2TP_HASH_SIZE; hash++) { in l2tp_session_find_nth()
289 hlist_for_each_entry(session, &tunnel->session_hlist[hash], hlist) { in l2tp_session_find_nth()
309 int hash; in l2tp_session_find_by_ifname() local
313 for (hash = 0; hash < L2TP_HASH_SIZE_2; hash++) { in l2tp_session_find_by_ifname()
314 hlist_for_each_entry_rcu(session, &pn->l2tp_session_hlist[hash], global_hlist) { in l2tp_session_find_by_ifname()
1240 int hash; in l2tp_tunnel_closeall() local
1251 for (hash = 0; hash < L2TP_HASH_SIZE; hash++) { in l2tp_tunnel_closeall()
1253 hlist_for_each_safe(walk, tmp, &tunnel->session_hlist[hash]) { in l2tp_tunnel_closeall()
1835 int hash; in l2tp_init_net() local
1840 for (hash = 0; hash < L2TP_HASH_SIZE_2; hash++) in l2tp_init_net()
1841 INIT_HLIST_HEAD(&pn->l2tp_session_hlist[hash]); in l2tp_init_net()