Lines Matching defs:lopt
41 struct listen_sock *lopt;
48 lopt = __vmalloc(lopt_size,
52 lopt = kzalloc(lopt_size, GFP_KERNEL);
53 if (lopt == NULL)
56 for (lopt->max_qlen_log = 3;
57 (1 << lopt->max_qlen_log) < nr_table_entries;
58 lopt->max_qlen_log++);
60 get_random_bytes(&lopt->hash_rnd, sizeof(lopt->hash_rnd));
63 lopt->nr_table_entries = nr_table_entries;
66 queue->listen_opt = lopt;
77 struct listen_sock *lopt = reqsk_queue_yank_listen_sk(queue);
79 lopt->nr_table_entries * sizeof(struct request_sock *);
81 if (lopt->qlen != 0) {
84 for (i = 0; i < lopt->nr_table_entries; i++) {
87 while ((req = lopt->syn_table[i]) != NULL) {
88 lopt->syn_table[i] = req->dl_next;
89 lopt->qlen--;
95 BUG_TRAP(lopt->qlen == 0);
97 vfree(lopt);
99 kfree(lopt);