Home
last modified time | relevance | path

Searched refs:nentries (Results 1 – 20 of 20) sorted by relevance

/linux-3.4.99/net/bridge/netfilter/
Debtables.c189 int i, nentries; in ebt_do_table() local
208 cb_base = COUNTER_BASE(private->counters, private->nentries, in ebt_do_table()
215 nentries = private->hook_entry[hook]->nentries; in ebt_do_table()
221 while (i < nentries) { in ebt_do_table()
271 nentries = chaininfo->nentries; in ebt_do_table()
299 nentries = chaininfo->nentries; in ebt_do_table()
434 newinfo->nentries = repl->nentries; in ebt_verify_pointers()
531 *n = ((struct ebt_entries *)e)->nentries; in ebt_check_entry_size_and_hooks()
769 int i, chain_nr = -1, pos = 0, nentries = chain->nentries, verdict; in check_chainloops() local
773 while (pos < nentries || chain_nr != -1) { in check_chainloops()
[all …]
/linux-3.4.99/arch/sparc/mm/
Dtsb.c18 …nline unsigned long tsb_hash(unsigned long vaddr, unsigned long hash_shift, unsigned long nentries) in tsb_hash() argument
21 return vaddr & (nentries - 1); in tsb_hash()
50 unsigned long nentries) in __flush_tsb_one_entry() argument
55 hash = tsb_hash(v, hash_shift, nentries); in __flush_tsb_one_entry()
63 unsigned long tsb, unsigned long nentries) in __flush_tsb_one() argument
68 __flush_tsb_one_entry(tsb, tb->vaddrs[i], hash_shift, nentries); in __flush_tsb_one()
74 unsigned long nentries, base, flags; in flush_tsb_user() local
79 nentries = mm->context.tsb_block[MM_TSB_BASE].tsb_nentries; in flush_tsb_user()
82 __flush_tsb_one(tb, PAGE_SHIFT, base, nentries); in flush_tsb_user()
87 nentries = mm->context.tsb_block[MM_TSB_HUGE].tsb_nentries; in flush_tsb_user()
[all …]
/linux-3.4.99/arch/sh/mm/
Dtlb-debugfs.c45 unsigned int nentries, entry; in tlb_seq_show() local
59 nentries = 4; in tlb_seq_show()
65 nentries = 64; in tlb_seq_show()
82 nentries = 4; in tlb_seq_show()
88 nentries = 64; in tlb_seq_show()
93 for (entry = 0; entry < nentries; entry++) { in tlb_seq_show()
/linux-3.4.99/drivers/isdn/hardware/eicon/
Ddiva_dma.c41 struct _diva_dma_map_entry *diva_alloc_dma_map(void *os_context, int nentries) { in diva_alloc_dma_map() argument
42 diva_dma_map_entry_t *pmap = diva_os_malloc(0, sizeof(*pmap) * (nentries + 1)); in diva_alloc_dma_map()
44 memset(pmap, 0, sizeof(*pmap) * (nentries + 1)); in diva_alloc_dma_map()
Ddiva_dma.h29 struct _diva_dma_map_entry *diva_alloc_dma_map(void *os_context, int nentries);
44 int nentries);
Ddivasmain.c349 struct _diva_dma_map_entry **ppmap, int nentries) in diva_init_dma_map() argument
353 diva_alloc_dma_map(hdev, nentries); in diva_init_dma_map()
361 for (i = 0; i < nentries; i++) { in diva_init_dma_map()
/linux-3.4.99/drivers/misc/sgi-xp/
Dxp_main.c158 u16 nentries, u32 assigned_limit, u32 idle_limit) in xpc_connect() argument
163 DBUG_ON(payload_size == 0 || nentries == 0); in xpc_connect()
183 registration->nentries = nentries; in xpc_connect()
235 registration->nentries = 0; in xpc_disconnect()
Dxpc_uv.c1087 int nentries; in xpc_allocate_send_msg_slot_uv() local
1091 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_send_msg_slot_uv()
1092 nbytes = nentries * sizeof(struct xpc_send_msg_slot_uv); in xpc_allocate_send_msg_slot_uv()
1097 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_send_msg_slot_uv()
1106 if (nentries < ch->local_nentries) in xpc_allocate_send_msg_slot_uv()
1107 ch->local_nentries = nentries; in xpc_allocate_send_msg_slot_uv()
1121 int nentries; in xpc_allocate_recv_msg_slot_uv() local
1125 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_recv_msg_slot_uv()
1126 nbytes = nentries * ch->entry_size; in xpc_allocate_recv_msg_slot_uv()
1131 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_recv_msg_slot_uv()
[all …]
Dxpc_sn2.c1565 int nentries; in xpc_allocate_local_msgqueue_sn2() local
1568 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_local_msgqueue_sn2()
1570 nbytes = nentries * ch->entry_size; in xpc_allocate_local_msgqueue_sn2()
1577 nbytes = nentries * sizeof(struct xpc_notify_sn2); in xpc_allocate_local_msgqueue_sn2()
1586 if (nentries < ch->local_nentries) { in xpc_allocate_local_msgqueue_sn2()
1588 "partid=%d, channel=%d\n", nentries, in xpc_allocate_local_msgqueue_sn2()
1591 ch->local_nentries = nentries; in xpc_allocate_local_msgqueue_sn2()
1610 int nentries; in xpc_allocate_remote_msgqueue_sn2() local
1615 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_remote_msgqueue_sn2()
1617 nbytes = nentries * ch->entry_size; in xpc_allocate_remote_msgqueue_sn2()
[all …]
Dxp.h271 u16 nentries; /* #of msg entries in local msg queue */ member
Dxpc_channel.c501 ch->local_nentries = registration->nentries; in xpc_connect_channel()
/linux-3.4.99/include/linux/netfilter_bridge/
Debtables.h46 unsigned int nentries; member
62 unsigned int nentries; member
86 unsigned int nentries; member
264 unsigned int nentries; member
/linux-3.4.99/arch/tile/include/hv/
Ddrv_xgbe_intf.h329 #define __netio_fastio_send_pkt_vec(fastio_index, seqno, nentries, va) \ argument
331 nentries, va)
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c71 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); in arp_hash()
226 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) in alloc_l2e()
449 d->nentries = l2t_capacity; in t3_init_l2t()
Dl2t.h74 unsigned int nentries; /* number of entries */ member
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c2091 int ret, nentries; in t4_sge_alloc_eth_txq() local
2096 nentries = txq->q.size + STAT_LEN / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq()
2119 FW_EQ_ETH_CMD_EQSIZE(nentries)); in t4_sge_alloc_eth_txq()
2127 nentries * sizeof(struct tx_desc), in t4_sge_alloc_eth_txq()
2144 int ret, nentries; in t4_sge_alloc_ctrl_txq() local
2149 nentries = txq->q.size + STAT_LEN / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq()
2151 txq->q.desc = alloc_ring(adap->pdev_dev, nentries, in t4_sge_alloc_ctrl_txq()
2172 FW_EQ_CTRL_CMD_EQSIZE(nentries)); in t4_sge_alloc_ctrl_txq()
2178 nentries * sizeof(struct tx_desc), in t4_sge_alloc_ctrl_txq()
2195 int ret, nentries; in t4_sge_alloc_ofld_txq() local
[all …]
/linux-3.4.99/arch/ia64/kernel/
Dacpi.c91 u64 i, nentries; in acpi_get_sysname() local
129 nentries = (hdr->length - sizeof(*hdr)) / in acpi_get_sysname()
131 for (i = 0; i < nentries; i++) { in acpi_get_sysname()
/linux-3.4.99/drivers/atm/
Dfirestream.c1402 struct queue *txq, int queue, int nentries, int is_rq) in init_q() argument
1404 int sz = nentries * sizeof (struct FS_QENTRY); in init_q()
1410 queue, nentries); in init_q()
1418 write_fs (dev, Q_EA(queue), virt_to_bus(p+nentries-1)); in init_q()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c2209 int ret, nentries; in t4vf_sge_alloc_eth_txq() local
2217 nentries = txq->q.size + STAT_LEN / sizeof(struct tx_desc); in t4vf_sge_alloc_eth_txq()
2254 FW_EQ_ETH_CMD_EQSIZE(nentries)); in t4vf_sge_alloc_eth_txq()
2270 nentries * sizeof(struct tx_desc), in t4vf_sge_alloc_eth_txq()
/linux-3.4.99/fs/afs/
Ddir.c96 uint8_t nentries; member
247 for (offset = AFS_DIRENT_PER_BLOCK - block->pagehdr.nentries; in afs_dir_iterate_block()