Lines Matching refs:lopt
44 struct listen_sock *lopt = NULL;
52 lopt = kzalloc(lopt_size, GFP_KERNEL |
55 if (!lopt)
56 lopt = vzalloc(lopt_size);
57 if (!lopt)
60 get_random_bytes(&lopt->hash_rnd, sizeof(lopt->hash_rnd));
63 lopt->nr_table_entries = nr_table_entries;
64 lopt->max_qlen_log = ilog2(nr_table_entries);
67 queue->listen_opt = lopt;
82 struct listen_sock *lopt;
85 lopt = queue->listen_opt;
89 return lopt;
95 struct listen_sock *lopt = reqsk_queue_yank_listen_sk(queue);
97 if (lopt->qlen != 0) {
100 for (i = 0; i < lopt->nr_table_entries; i++) {
103 while ((req = lopt->syn_table[i]) != NULL) {
104 lopt->syn_table[i] = req->dl_next;
105 lopt->qlen--;
111 WARN_ON(lopt->qlen != 0);
112 kvfree(lopt);