/net/unix/ |
H A D | sysctl_net_unix.c | 31 struct ctl_table *table; local 33 table = kmemdup(unix_table, sizeof(unix_table), GFP_KERNEL); 34 if (table == NULL) 39 table[0].procname = NULL; 41 table[0].data = &net->unx.sysctl_max_dgram_qlen; 42 net->unx.ctl = register_net_sysctl(net, "net/unix", table); 49 kfree(table); 56 struct ctl_table *table; local 58 table = net->unx.ctl->ctl_table_arg; 60 kfree(table); [all...] |
/net/xfrm/ |
H A D | xfrm_sysctl.c | 45 struct ctl_table *table; local 49 table = kmemdup(xfrm_table, sizeof(xfrm_table), GFP_KERNEL); 50 if (!table) 52 table[0].data = &net->xfrm.sysctl_aevent_etime; 53 table[1].data = &net->xfrm.sysctl_aevent_rseqth; 54 table[2].data = &net->xfrm.sysctl_larval_drop; 55 table[3].data = &net->xfrm.sysctl_acq_expires; 59 table[0].procname = NULL; 61 net->xfrm.sysctl_hdr = register_net_sysctl(net, "net/core", table); 67 kfree(table); 74 struct ctl_table *table; local [all...] |
/net/netfilter/ |
H A D | nf_conntrack_timestamp.c | 45 struct ctl_table *table; local 47 table = kmemdup(tstamp_sysctl_table, sizeof(tstamp_sysctl_table), 49 if (!table) 52 table[0].data = &net->ct.sysctl_tstamp; 56 table[0].procname = NULL; 59 table); 67 kfree(table); 74 struct ctl_table *table; local 76 table = net->ct.tstamp_sysctl_header->ctl_table_arg; 78 kfree(table); [all...] |
H A D | nf_conntrack_acct.c | 65 struct ctl_table *table; local 67 table = kmemdup(acct_sysctl_table, sizeof(acct_sysctl_table), 69 if (!table) 72 table[0].data = &net->ct.sysctl_acct; 76 table[0].procname = NULL; 79 table); 87 kfree(table); 94 struct ctl_table *table; local 96 table = net->ct.acct_sysctl_header->ctl_table_arg; 98 kfree(table); [all...] |
H A D | nf_conntrack_ecache.c | 267 struct ctl_table *table; local 269 table = kmemdup(event_sysctl_table, sizeof(event_sysctl_table), 271 if (!table) 274 table[0].data = &net->ct.sysctl_events; 278 table[0].procname = NULL; 281 register_net_sysctl(net, "net/netfilter", table); 289 kfree(table); 296 struct ctl_table *table; local 298 table = net->ct.event_sysctl_header->ctl_table_arg; 300 kfree(table); [all...] |
H A D | nf_conntrack_helper.c | 60 struct ctl_table *table; local 62 table = kmemdup(helper_sysctl_table, sizeof(helper_sysctl_table), 64 if (!table) 67 table[0].data = &net->ct.sysctl_auto_assign_helper; 71 table[0].procname = NULL; 74 register_net_sysctl(net, "net/netfilter", table); 83 kfree(table); 90 struct ctl_table *table; local 92 table = net->ct.helper_sysctl_header->ctl_table_arg; 94 kfree(table); [all...] |
/net/mac802154/ |
H A D | llsec.h | 64 struct ieee802154_llsec_table table; member in struct:mac802154_llsec
|
/net/phonet/ |
H A D | sysctl.c | 64 static int proc_local_port_range(struct ctl_table *table, int write, argument 73 .mode = table->mode,
|
/net/sunrpc/ |
H A D | sysctl.c | 6 * I would prefer to register the sunrpc table below sys/net, but that's 61 static int proc_do_xprt(struct ctl_table *table, int write, argument 76 proc_dodebug(struct ctl_table *table, int write, argument 112 *(unsigned int *) table->data = value; 114 if (strcmp(table->procname, "rpc_debug") == 0) 119 len = sprintf(tmpbuf, "%d", *(unsigned int *) table->data);
|
/net/ |
H A D | sysctl_net.c | 40 /* Return standard mode bits for table entry. */ 42 struct ctl_table *table) 51 int mode = (table->mode >> 6) & 7; 56 int mode = (table->mode >> 3) & 7; 59 return table->mode; 104 const char *path, struct ctl_table *table) 106 return __register_sysctl_table(&net->sysctls, path, table); 41 net_ctl_permissions(struct ctl_table_header *head, struct ctl_table *table) argument 103 register_net_sysctl(struct net *net, const char *path, struct ctl_table *table) argument
|
/net/ax25/ |
H A D | sysctl_net_ax25.c | 155 struct ctl_table *table; local 157 table = kmemdup(ax25_param_table, sizeof(ax25_param_table), GFP_KERNEL); 158 if (!table) 162 table[k].data = &ax25_dev->values[k]; 165 ax25_dev->sysheader = register_net_sysctl(&init_net, path, table); 167 kfree(table); 176 struct ctl_table *table; local 180 table = header->ctl_table_arg; 182 kfree(table);
|
/net/batman-adv/ |
H A D | hash.h | 37 struct hlist_head *table; /* the hashtable itself with the buckets */ member in struct:batadv_hashtable 66 head = &hash->table[i]; 106 * @hash: storage hash table 131 head = &hash->table[index]; 171 head = &hash->table[index];
|
/net/core/ |
H A D | sysctl_net_core.c | 30 static int rps_sock_flow_sysctl(struct ctl_table *table, int write, argument 38 .mode = table->mode 97 static int flow_limit_cpu_sysctl(struct ctl_table *table, int write, argument 176 static int flow_limit_table_len_sysctl(struct ctl_table *table, int write, argument 185 ptr = table->data; 187 ret = proc_dointvec(table, write, buffer, lenp, ppos); 199 static int set_default_qdisc(struct ctl_table *table, int write, argument
|
/net/ipv4/ |
H A D | udp_diag.c | 93 static void udp_dump(struct udp_table *table, struct sk_buff *skb, struct netlink_callback *cb, argument 102 for (slot = s_slot; slot <= table->mask; num = s_num = 0, slot++) { 105 struct udp_hslot *hslot = &table->hash[slot];
|
H A D | fib_rules.c | 97 tbl = fib_get_table(rule->fr_net, rule->table); 179 if (rule->table == RT_TABLE_UNSPEC) { 181 struct fib_table *table; local 183 table = fib_empty_table(net); 184 if (table == NULL) { 189 rule->table = table->tb_id;
|
H A D | sysctl_net_ipv4.c | 55 static int ipv4_local_port_range(struct ctl_table *table, int write, argument 60 container_of(table->data, struct net, ipv4.ip_local_ports.range); 66 .mode = table->mode, 86 static void inet_get_ping_group_range_table(struct ctl_table *table, kgid_t *low, kgid_t *high) argument 88 kgid_t *data = table->data; 90 container_of(table->data, struct net, ipv4.ping_group_range.range); 101 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high) argument 103 kgid_t *data = table->data; 105 container_of(table->data, struct net, ipv4.ping_group_range.range); 113 static int ipv4_ping_group_range(struct ctl_table *table, in argument 899 struct ctl_table *table; local 935 struct ctl_table *table; local [all...] |
H A D | xfrm4_policy.c | 272 struct ctl_table *table; local 275 table = xfrm4_policy_table; 277 table = kmemdup(table, sizeof(xfrm4_policy_table), GFP_KERNEL); 278 if (!table) 281 table[0].data = &net->xfrm.xfrm4_dst_ops.gc_thresh; 284 hdr = register_net_sysctl(net, "net/ipv4", table); 293 kfree(table); 300 struct ctl_table *table; local 305 table [all...] |
/net/irda/ |
H A D | irsysctl.c | 76 static int do_devname(struct ctl_table *table, int write, argument 81 ret = proc_dostring(table, write, buffer, lenp, ppos); 93 static int do_discovery(struct ctl_table *table, int write, argument 98 ret = proc_dointvec(table, write, buffer, lenp, ppos);
|
/net/sched/ |
H A D | act_ipt.c | 4 *TODO: Add other tables. For now we only support the ipv4 table targets 33 static int ipt_init_target(struct xt_entry_target *t, char *table, unsigned int hook) argument 45 par.table = table;
|
/net/sunrpc/xprtrdma/ |
H A D | svc_rdma.c | 87 static int read_reset_stat(struct ctl_table *table, int write, argument 91 atomic_t *stat = (atomic_t *)table->data;
|
/net/decnet/ |
H A D | dn_rules.c | 92 tbl = dn_fib_get_table(rule->table, 0); 131 if (rule->table == RT_TABLE_UNSPEC) { 133 struct dn_fib_table *table; local 135 table = dn_fib_empty_table(); 136 if (table == NULL) { 141 rule->table = table->n;
|
H A D | sysctl_net_decnet.c | 135 static int dn_node_address_handler(struct ctl_table *table, int write, argument 186 static int dn_def_dev_handler(struct ctl_table *table, int write, argument
|
/net/ipv6/ |
H A D | fib6_rules.c | 55 struct fib6_table *table; local 78 table = fib6_get_table(net, rule->table); 79 if (!table) { 84 rt = lookup(net, table, flp6, flags); 191 if (rule->table == RT6_TABLE_UNSPEC) 194 if (fib6_new_table(net, rule->table) == NULL) {
|
H A D | xfrm6_policy.c | 337 struct ctl_table *table; local 340 table = xfrm6_policy_table; 342 table = kmemdup(table, sizeof(xfrm6_policy_table), GFP_KERNEL); 343 if (!table) 346 table[0].data = &net->xfrm.xfrm6_dst_ops.gc_thresh; 349 hdr = register_net_sysctl(net, "net/ipv6", table); 358 kfree(table); 365 struct ctl_table *table; local 370 table [all...] |
/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 37 * ipvs protocol table. 200 ip_vs_create_timeout_table(int *table, int size) argument 202 return kmemdup(table, size, GFP_KERNEL); 210 ip_vs_set_state_timeout(int *table, int num, const char *const *names, argument 215 if (!table || !name || !to) 221 table[i] = to * HZ;
|