Lines Matching refs:table
168 static int proc_blackhole_detect_timeout(const struct ctl_table *table, in proc_blackhole_detect_timeout() argument
172 struct mptcp_pernet *pernet = container_of(table->data, in proc_blackhole_detect_timeout()
177 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_blackhole_detect_timeout()
370 struct ctl_table *table; in mptcp_pernet_new_table() local
372 table = mptcp_sysctl_table; in mptcp_pernet_new_table()
374 table = kmemdup(table, sizeof(mptcp_sysctl_table), GFP_KERNEL); in mptcp_pernet_new_table()
375 if (!table) in mptcp_pernet_new_table()
379 table[0].data = &pernet->mptcp_enabled; in mptcp_pernet_new_table()
380 table[1].data = &pernet->add_addr_timeout; in mptcp_pernet_new_table()
381 table[2].data = &pernet->checksum_enabled; in mptcp_pernet_new_table()
382 table[3].data = &pernet->allow_join_initial_addr_port; in mptcp_pernet_new_table()
383 table[4].data = &pernet->stale_loss_cnt; in mptcp_pernet_new_table()
384 table[5].data = &pernet->pm_type; in mptcp_pernet_new_table()
385 table[6].data = &pernet->scheduler; in mptcp_pernet_new_table()
387 table[8].data = &pernet->close_timeout; in mptcp_pernet_new_table()
388 table[9].data = &pernet->blackhole_timeout; in mptcp_pernet_new_table()
389 table[10].data = &pernet->syn_retrans_before_tcp_fallback; in mptcp_pernet_new_table()
390 table[11].data = &pernet->path_manager; in mptcp_pernet_new_table()
393 hdr = register_net_sysctl_sz(net, MPTCP_SYSCTL_PATH, table, in mptcp_pernet_new_table()
404 kfree(table); in mptcp_pernet_new_table()
411 const struct ctl_table *table = pernet->ctl_table_hdr->ctl_table_arg; in mptcp_pernet_del_table() local
415 kfree(table); in mptcp_pernet_del_table()