/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_acct.c | 63 struct ctl_table *table; local 65 table = kmemdup(acct_sysctl_table, sizeof(acct_sysctl_table), 67 if (!table) 70 table[0].data = &net->ct.sysctl_acct; 74 table[0].procname = NULL; 77 table); 85 kfree(table); 92 struct ctl_table *table; local 94 table = net->ct.acct_sysctl_header->ctl_table_arg; 96 kfree(table); [all...] |
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_ecache.c | 191 struct ctl_table *table; local 193 table = kmemdup(event_sysctl_table, sizeof(event_sysctl_table), 195 if (!table) 198 table[0].data = &net->ct.sysctl_events; 199 table[1].data = &net->ct.sysctl_events_retry_timeout; 203 table[0].procname = NULL; 206 register_net_sysctl(net, "net/netfilter", table); 214 kfree(table); 221 struct ctl_table *table; local 223 table [all...] |
/net/core/ |
H A D | sysctl_net_core.c | 26 static int rps_sock_flow_sysctl(ctl_table *table, int write, argument 34 .mode = table->mode
|
/net/phonet/ |
H A D | sysctl.c | 64 static int proc_local_port_range(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(ctl_table *table, int write, argument 76 proc_dodebug(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/tipc/ |
H A D | ref.c | 53 * struct tipc_ref_table - table of TIPC object reference entries 73 * Object reference table consists of 2**N entries. 95 * tipc_ref_table_init - create reference table for objects 99 struct reference *table; local 108 /* allocate table & mark all entries as uninitialized */ 109 table = vzalloc(actual_size * sizeof(struct reference)); 110 if (table == NULL) 113 tipc_ref_table.entries = table; 125 * tipc_ref_table_stop - destroy reference table for objects 139 * Register an object pointer in reference table an [all...] |
/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 | 39 struct hlist_head *table; /* the hashtable itself with the buckets */ member in struct:batadv_hashtable 68 head = &hash->table[i]; 108 * @hash: storage hash table 133 head = &hash->table[index]; 173 head = &hash->table[index];
|
/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 | 93 tbl = fib_get_table(rule->fr_net, rule->table); 148 if (rule->table == RT_TABLE_UNSPEC) { 150 struct fib_table *table; local 152 table = fib_empty_table(net); 153 if (table == NULL) { 158 rule->table = table->tb_id;
|
H A D | sysctl_net_ipv4.c | 52 static int ipv4_local_port_range(ctl_table *table, int write, argument 61 .mode = table->mode, 80 static void inet_get_ping_group_range_table(struct ctl_table *table, kgid_t *low, kgid_t *high) argument 82 kgid_t *data = table->data; 93 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high) argument 95 kgid_t *data = table->data; 103 static int ipv4_ping_group_range(ctl_table *table, int write, argument 114 .mode = table->mode, 119 inet_get_ping_group_range_table(table, &low, &high); 132 set_ping_group_range(table, lo 881 struct ctl_table *table; local 935 struct ctl_table *table; local [all...] |
H A D | xfrm4_policy.c | 267 struct ctl_table *table; local 270 table = xfrm4_policy_table; 272 table = kmemdup(table, sizeof(xfrm4_policy_table), GFP_KERNEL); 273 if (!table) 276 table[0].data = &net->xfrm.xfrm4_dst_ops.gc_thresh; 279 hdr = register_net_sysctl(net, "net/ipv4", table); 288 kfree(table); 295 struct ctl_table *table; local 300 table [all...] |
/net/ipv6/ |
H A D | fib6_rules.c | 55 struct fib6_table *table; local 74 table = fib6_get_table(net, rule->table); 75 if (table) 76 rt = lookup(net, table, flp6, flags); 157 if (rule->table == RT6_TABLE_UNSPEC) 160 if (fib6_new_table(net, rule->table) == NULL) {
|
H A D | xfrm6_policy.c | 327 struct ctl_table *table; local 330 table = xfrm6_policy_table; 332 table = kmemdup(table, sizeof(xfrm6_policy_table), GFP_KERNEL); 333 if (!table) 336 table[0].data = &net->xfrm.xfrm6_dst_ops.gc_thresh; 339 hdr = register_net_sysctl(net, "net/ipv6", table); 348 kfree(table); 355 struct ctl_table *table; local 360 table [all...] |
/net/irda/ |
H A D | irsysctl.c | 76 static int do_devname(ctl_table *table, int write, argument 81 ret = proc_dostring(table, write, buffer, lenp, ppos); 93 static int do_discovery(ctl_table *table, int write, argument 98 ret = proc_dointvec(table, write, buffer, lenp, ppos);
|
/net/openvswitch/ |
H A D | datapath.h | 41 * the flow table. 43 * table. The sum of @n_hit and @n_miss is the number of packets that have 46 * table that could not be sent to userspace (normally due to an overflow in 60 * @table: Current flow table. Protected by ovs_mutex and RCU. 61 * @ports: Hash table for ports. %OVSP_LOCAL port always exists. Protected by 73 /* Flow table. */ 74 struct flow_table __rcu *table; member in struct:datapath
|
/net/sctp/ |
H A D | sysctl.c | 353 struct ctl_table *table; local 356 table = kmemdup(sctp_net_table, sizeof(sctp_net_table), GFP_KERNEL); 357 if (!table) 360 for (i = 0; table[i].data; i++) 361 table[i].data += (char *)(&net->sctp) - (char *)&init_net.sctp; 363 net->sctp.sysctl_header = register_net_sysctl(net, "net/sctp", table); 369 struct ctl_table *table; local 371 table = net->sctp.sysctl_header->ctl_table_arg; 373 kfree(table);
|
/net/sunrpc/xprtrdma/ |
H A D | svc_rdma.c | 87 static int read_reset_stat(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(ctl_table *table, int write, argument 186 static int dn_def_dev_handler(ctl_table *table, int write, argument
|
/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;
|