Searched refs:nentries (Results 1 – 7 of 7) sorted by relevance
/net/bridge/netfilter/ |
D | ebtables.c | 197 int i, nentries; in ebt_do_table() local 213 cb_base = COUNTER_BASE(private->counters, private->nentries, in ebt_do_table() 220 nentries = private->hook_entry[hook]->nentries; in ebt_do_table() 226 while (i < nentries) { in ebt_do_table() 272 nentries = chaininfo->nentries; in ebt_do_table() 298 nentries = chaininfo->nentries; in ebt_do_table() 478 newinfo->nentries = repl->nentries; in ebt_verify_pointers() 565 *n = ((struct ebt_entries *)e)->nentries; in ebt_check_entry_size_and_hooks() 803 int i, chain_nr = -1, pos = 0, nentries = chain->nentries, verdict; in check_chainloops() local 807 while (pos < nentries || chain_nr != -1) { in check_chainloops() [all …]
|
/net/xdp/ |
D | xsk_queue.c | 20 return struct_size(umem_ring, desc, q->nentries); in xskq_get_ring_size() 21 return struct_size(rxtx_ring, desc, q->nentries); in xskq_get_ring_size() 24 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue) in xskq_create() argument 33 q->nentries = nentries; in xskq_create() 34 q->ring_mask = nentries - 1; in xskq_create()
|
D | xsk_queue.h | 42 u32 nentries; member 351 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() 358 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() 459 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue);
|
D | xsk_diag.c | 31 dr.entries = queue->nentries; in xsk_diag_put_ring()
|
D | xsk_buff_pool.c | 47 pool->tx_descs = kvcalloc(xs->tx->nentries, sizeof(*pool->tx_descs), in xp_alloc_tx_descs()
|
D | xsk.c | 297 if (xskq_cons_present_entries(xs->tx) > xs->tx->nentries / 2) in xsk_tx_writeable()
|
/net/netfilter/ |
D | nf_tables_api.c | 3486 unsigned int nentries) in audit_log_rule_reset() argument 3491 audit_log_nfcfg(buf, table->family, nentries, in audit_log_rule_reset() 5742 unsigned int nentries) in audit_log_nft_set_reset() argument 5746 audit_log_nfcfg(buf, table->family, nentries, in audit_log_nft_set_reset() 7711 unsigned int base_seq, unsigned int nentries) in audit_log_obj_reset() argument 7715 audit_log_nfcfg(buf, table->family, nentries, in audit_log_obj_reset()
|