/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_tables_api.c | 95 struct nft_table *table, 101 ctx->table = table; 130 static void nf_tables_unregister_hooks(const struct nft_table *table, argument 134 if (!(table->flags & NFT_TABLE_F_DORMANT) && 139 /* Internal table flags */ 151 ctx->table->flags |= NFT_TABLE_INACTIVE; 165 list_del_rcu(&ctx->table->list); 192 ctx->table->use--; 323 ctx->table 91 nft_ctx_init(struct nft_ctx *ctx, const struct sk_buff *skb, const struct nlmsghdr *nlh, struct nft_af_info *afi, struct nft_table *table, struct nft_chain *chain, const struct nlattr * const *nla) argument 335 struct nft_table *table; local 347 struct nft_table *table; local 359 nf_tables_alloc_handle(struct nft_table *table) argument 408 nf_tables_fill_table_info(struct sk_buff *skb, struct net *net, u32 portid, u32 seq, int event, u32 flags, int family, const struct nft_table *table) argument 473 const struct nft_table *table; local 516 const struct nft_table *table; local 556 nf_tables_table_enable(const struct nft_af_info *afi, struct nft_table *table) argument 586 nf_tables_table_disable(const struct nft_af_info *afi, struct nft_table *table) argument 648 struct nft_table *table; local 746 struct nft_table *table, *nt; local 777 struct nft_table *table; local 839 nf_tables_chain_lookup_byhandle(const struct nft_table *table, u64 handle) argument 851 nf_tables_chain_lookup(const struct nft_table *table, const struct nlattr *nla) argument 917 nf_tables_fill_chain_info(struct sk_buff *skb, struct net *net, u32 portid, u32 seq, int event, u32 flags, int family, const struct nft_table *table, const struct nft_chain *chain) argument 1014 const struct nft_table *table; local 1060 const struct nft_table *table; local 1177 struct nft_table *table; local 1398 struct nft_table *table; local 1651 nf_tables_fill_rule_info(struct sk_buff *skb, struct net *net, u32 portid, u32 seq, int event, u32 flags, int family, const struct nft_table *table, const struct nft_chain *chain, const struct nft_rule *rule) argument 1752 const struct nft_table *table; local 1803 const struct nft_table *table; local 1883 struct nft_table *table; local 2044 struct nft_table *table; local 2211 struct nft_table *table = NULL; local 2234 nf_tables_set_lookup(const struct nft_table *table, const struct nlattr *nla) argument 2403 struct nft_table *table, *cur_table = (struct nft_table *)cb->args[2]; local 2552 struct nft_table *table; local 2827 struct nft_table *table; local [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 | x_tables.c | 384 if (par->match->table != NULL && 385 strcmp(par->match->table, par->table) != 0) { 386 pr_err("%s_tables: %s match: only valid in %s table, not %s\n", 388 par->match->table, par->table); 559 if (par->target->table != NULL && 560 strcmp(par->target->table, par->table) != 0) { 561 pr_err("%s_tables: %s target: only valid in %s table, no 727 xt_table_unlock(struct xt_table *table) argument 789 xt_replace_table(struct xt_table *table, unsigned int num_counters, struct xt_table_info *newinfo, int *error) argument 858 struct xt_table *t, *table; local 900 xt_unregister_table(struct xt_table *table) argument 948 struct xt_table *table = list_entry(v, struct xt_table, list); local 1188 xt_hook_link(const struct xt_table *table, nf_hookfn *fn) argument 1227 xt_hook_unlink(const struct xt_table *table, struct nf_hook_ops *ops) argument [all...] |
H A D | xt_CONNSECMARK.c | 92 if (strcmp(par->table, "mangle") != 0 && 93 strcmp(par->table, "security") != 0) { 95 "or \'security\' tables, not \'%s\'.\n", par->table);
|
H A D | xt_TRACE.c | 24 .table = "raw",
|
H A D | nfnetlink.c | 41 } table[NFNL_SUBSYS_COUNT]; variable in typeref:struct:__anon98 56 mutex_lock(&table[subsys_id].mutex); 62 mutex_unlock(&table[subsys_id].mutex); 69 return lockdep_is_held(&table[subsys_id].mutex); 77 if (table[n->subsys_id].subsys) { 81 rcu_assign_pointer(table[n->subsys_id].subsys, n); 91 table[n->subsys_id].subsys = NULL; 105 return rcu_dereference(table[subsys_id].subsys); 210 if (rcu_dereference_protected(table[subsys_id].subsys, 211 lockdep_is_held(&table[subsys_i [all...] |
H A D | nf_log.c | 358 static int nf_log_proc_dostring(struct ctl_table *table, int write, argument 365 int tindex = (unsigned long)table->extra1; 391 table->data = "NONE"; 393 table->data = logger->name; 394 r = proc_dostring(table, write, buffer, lenp, ppos); 404 struct ctl_table *table; local 406 table = nf_log_sysctl_table; 408 table = kmemdup(nf_log_sysctl_table, 411 if (!table) 432 table); 447 struct ctl_table *table; local [all...] |
/net/sched/ |
H A D | sch_gred.c | 62 static inline int gred_wred_mode(struct gred_sched *table) argument 64 return test_bit(GRED_WRED_MODE, &table->flags); 67 static inline void gred_enable_wred_mode(struct gred_sched *table) argument 69 __set_bit(GRED_WRED_MODE, &table->flags); 72 static inline void gred_disable_wred_mode(struct gred_sched *table) argument 74 __clear_bit(GRED_WRED_MODE, &table->flags); 77 static inline int gred_rio_mode(struct gred_sched *table) argument 79 return test_bit(GRED_RIO_MODE, &table->flags); 82 static inline void gred_enable_rio_mode(struct gred_sched *table) argument 84 __set_bit(GRED_RIO_MODE, &table 87 gred_disable_rio_mode(struct gred_sched *table) argument 94 struct gred_sched *table = qdisc_priv(sch); local 113 gred_backlog(struct gred_sched *table, struct gred_sched_data *q, struct Qdisc *sch) argument 128 gred_load_wred_set(const struct gred_sched *table, struct gred_sched_data *q) argument 135 gred_store_wred_set(struct gred_sched *table, struct gred_sched_data *q) argument 337 struct gred_sched *table = qdisc_priv(sch); local 388 struct gred_sched *table = qdisc_priv(sch); local 421 struct gred_sched *table = qdisc_priv(sch); local 509 struct gred_sched *table = qdisc_priv(sch); local 593 struct gred_sched *table = qdisc_priv(sch); local [all...] |
/net/batman-adv/ |
H A D | hash.c | 27 INIT_HLIST_HEAD(&hash->table[i]); 36 kfree(hash->table); 49 hash->table = kmalloc_array(size, sizeof(*hash->table), GFP_ATOMIC); 50 if (!hash->table) 63 kfree(hash->table);
|
H A D | Makefile | 24 batman-adv-$(CONFIG_BATMAN_ADV_DAT) += distributed-arp-table.o 38 batman-adv-y += translation-table.o
|
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/openvswitch/ |
H A D | flow_table.h | 64 int ovs_flow_tbl_count(struct flow_table *table); 65 void ovs_flow_tbl_destroy(struct flow_table *table, bool deferred); 68 int ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow, 70 void ovs_flow_tbl_remove(struct flow_table *table, struct sw_flow *flow); 71 int ovs_flow_tbl_num_masks(const struct flow_table *table); 72 struct sw_flow *ovs_flow_tbl_dump_next(struct table_instance *table,
|
H A D | flow_table.c | 110 int ovs_flow_tbl_count(struct flow_table *table) argument 112 return table->count; 201 int ovs_flow_tbl_init(struct flow_table *table) argument 210 rcu_assign_pointer(table->ti, ti); 211 INIT_LIST_HEAD(&table->mask_list); 212 table->last_rehash = jiffies; 213 table->count = 0; 253 void ovs_flow_tbl_destroy(struct flow_table *table, bool deferred) argument 255 struct table_instance *ti = ovsl_dereference(table->ti); 311 /* Insert in new table 475 ovs_flow_tbl_num_masks(const struct flow_table *table) argument 510 ovs_flow_tbl_remove(struct flow_table *table, struct sw_flow *flow) argument 585 ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow, struct sw_flow_mask *mask) argument [all...] |
/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/wimax/ |
H A D | Makefile | 5 id-table.o \
|
/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/ipv4/ |
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/bridge/netfilter/ |
H A D | ebt_dnat.c | 38 if ((strcmp(par->table, "nat") != 0 || 41 (strcmp(par->table, "broute") != 0 ||
|
H A D | ebt_redirect.c | 45 if ((strcmp(par->table, "nat") != 0 || 47 (strcmp(par->table, "broute") != 0 ||
|
/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);
|