Searched defs:entries (Results 1 - 15 of 15) sorted by relevance

/net/can/
H A Daf_can.h74 int entries; member in struct:dev_rcv_lists
/net/xfrm/
H A Dxfrm_algo.c23 * Algorithms supported by IPsec. These entries contain properties which
586 int entries; member in struct:xfrm_algo_list
593 .entries = ARRAY_SIZE(aead_list),
600 .entries = ARRAY_SIZE(aalg_list),
607 .entries = ARRAY_SIZE(ealg_list),
614 .entries = ARRAY_SIZE(calg_list),
627 for (i = 0; i < algo_list->entries; i++) {
/net/mac80211/
H A Dmesh.h135 * @entries: number of entries in the table
153 atomic_t entries; /* Up to MAX_MESH_NEIGHBOURS */ member in struct:mesh_table
H A Dmesh.c219 int entries = 0; local
227 ++entries;
229 entries == RMC_QUEUE_MAX_LEN) {
232 --entries;
/net/netfilter/ipvs/
H A Dip_vs_lblc.c16 * collect stale entries of 24+ hours when
60 * It is for garbage collection of stale IPVS lblc entries,
72 * entries that haven't been touched for a day.
108 struct timer_list periodic_timer; /* collect stale entries */
109 atomic_t entries; /* number of entries */ member in struct:ip_vs_lblc_table
110 int max_size; /* maximum size of entries */
176 atomic_inc(&tbl->entries);
230 * Flush all the entries of the specified table.
244 atomic_dec(&tbl->entries);
[all...]
H A Dip_vs_lblcr.c60 * It is for garbage collection of stale IPVS lblcr entries,
72 * entries that haven't been touched for a day.
278 atomic_t entries; /* number of entries */ member in struct:ip_vs_lblcr_table
279 int max_size; /* maximum size of entries */
280 struct timer_list periodic_timer; /* collect stale entries */
339 atomic_inc(&tbl->entries);
396 * Flush all the entries of the specified table.
443 atomic_dec(&tbl->entries);
453 * It is used to collect stale entries whe
[all...]
/net/ipv4/netfilter/
H A Dipt_CLUSTERIP.c44 atomic_t entries; /* number of entries/rules member in struct:clusterip_config
96 /* decrease the count of entries using/referencing this config. If last
106 if (atomic_dec_and_lock(&c->entries, &cn->lock)) {
150 atomic_inc(&c->entries);
186 atomic_set(&c->entries, 1);
429 /* if no more entries are referencing the config, remove it
H A Darp_tables.c279 table_base = private->entries[smp_processor_id()];
642 /* Walk through entries, checking offsets. */
661 duprintf("translate_table: %u not %u entries\n",
708 if (newinfo->entries[i] && newinfo->entries[i] != entry0)
709 memcpy(newinfo->entries[i], entry0, newinfo->size);
726 xt_entry_foreach(iter, t->entries[cpu], t->size) {
778 loc_cpu_entry = private->entries[raw_smp_processor_id()];
873 /* we dont care about newinfo->entries[] */
874 memcpy(newinfo, info, offsetof(struct xt_table_info, entries));
1483 struct compat_arpt_entry entries[0]; member in struct:compat_arpt_replace
[all...]
H A Dip_tables.c264 table_base = private->entries[smp_processor_id()];
335 table_base = private->entries[cpu];
811 /* Walk through entries, checking offsets. */
827 duprintf("translate_table: %u not %u entries\n",
872 if (newinfo->entries[i] && newinfo->entries[i] != entry0)
873 memcpy(newinfo->entries[i], entry0, newinfo->size);
891 xt_entry_foreach(iter, t->entries[cpu], t->size) {
947 loc_cpu_entry = private->entries[raw_smp_processor_id()];
1061 /* we dont care about newinfo->entries[] */
1399 struct compat_ipt_entry entries[0]; member in struct:compat_ipt_replace
[all...]
/net/netfilter/
H A Dxt_recent.c81 unsigned int entries; member in struct:recent_table
147 t->entries--;
151 * Drop entries with timestamps older then 'time'.
175 if (t->entries >= ip_list_tot) {
194 t->entries++;
/net/bridge/netfilter/
H A Debtables.c220 base = private->entries;
436 struct ebt_entry *e = (void *)newinfo->entries + offset;
445 repl->entries + offset)
507 /* this checks if the previous chain has as many entries
510 BUGPRINT("nentries does not equal the nr of entries "
559 * entries is a jump to the beginning of a new chain.
834 /* do the parsing of the table/chains/entries/matches/watchers/targets, heh */
849 if (newinfo->hook_entry[i] != (struct ebt_entries *)newinfo->entries) {
866 i = 0; /* holds the expected nr. of entries for the chain */
867 j = 0; /* holds the up to now counted entries fo
1434 char *entries; local
1571 compat_uptr_t entries; member in struct:compat_ebt_replace
1786 const void *entries = info->entries; local
[all...]
/net/core/
H A Dneighbour.c75 Neighbour entries are protected:
276 int entries; local
278 entries = atomic_inc_return(&tbl->entries) - 1;
279 if (entries >= tbl->gc_thresh3 ||
280 (entries >= tbl->gc_thresh2 &&
283 entries >= tbl->gc_thresh3)
309 atomic_dec(&tbl->entries);
508 if (atomic_read(&tbl->entries) > (1 << nht->hash_shift))
726 atomic_dec(&neigh->tbl->entries);
[all...]
/net/ipv6/netfilter/
H A Dip6_tables.c290 table_base = private->entries[smp_processor_id()];
358 table_base = private->entries[cpu];
821 /* Walk through entries, checking offsets. */
837 duprintf("translate_table: %u not %u entries\n",
882 if (newinfo->entries[i] && newinfo->entries[i] != entry0)
883 memcpy(newinfo->entries[i], entry0, newinfo->size);
901 xt_entry_foreach(iter, t->entries[cpu], t->size) {
957 loc_cpu_entry = private->entries[raw_smp_processor_id()];
1071 /* we dont care about newinfo->entries[] */
1411 struct compat_ip6t_entry entries[0]; member in struct:compat_ip6t_replace
[all...]
/net/tipc/
H A Dsocket.c2312 * struct tipc_ref_table - table of TIPC socket reference entries
2313 * @entries: pointer to array of reference entries
2322 struct reference *entries; member in struct:ref_table
2331 /* Socket reference table consists of 2**N entries.
2367 /* allocate table & mark all entries as uninitialized */
2372 tipc_ref_table.entries = table;
2388 if (!tipc_ref_table.entries)
2390 vfree(tipc_ref_table.entries);
2391 tipc_ref_table.entries
[all...]
/net/ipv6/
H A Droute.c686 /* no entries matched; do round-robin */
1441 int entries; local
1443 entries = dst_entries_get_fast(ops);
1445 entries <= rt_max_size)
1450 entries = dst_entries_get_slow(ops);
1451 if (entries < ops->gc_thresh)
1455 return entries > rt_max_size;
2185 /* remove deleted ip from prefsrc entries */
2221 /* Remove routers and update dst entries when gateway turn into host. */

Completed in 715 milliseconds