/linux-4.4.14/net/bridge/netfilter/ |
D | ebtables.c | 191 int i, nentries; in ebt_do_table() local 211 cb_base = COUNTER_BASE(private->counters, private->nentries, in ebt_do_table() 218 nentries = private->hook_entry[hook]->nentries; in ebt_do_table() 224 while (i < nentries) { in ebt_do_table() 274 nentries = chaininfo->nentries; in ebt_do_table() 302 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-4.4.14/arch/sparc/mm/ |
D | tsb.c | 19 …nline unsigned long tsb_hash(unsigned long vaddr, unsigned long hash_shift, unsigned long nentries) in tsb_hash() argument 22 return vaddr & (nentries - 1); in tsb_hash() 51 unsigned long nentries) in __flush_tsb_one_entry() argument 56 hash = tsb_hash(v, hash_shift, nentries); in __flush_tsb_one_entry() 64 unsigned long tsb, unsigned long nentries) in __flush_tsb_one() argument 69 __flush_tsb_one_entry(tsb, tb->vaddrs[i], hash_shift, nentries); in __flush_tsb_one() 75 unsigned long nentries, base, flags; in flush_tsb_user() local 81 nentries = mm->context.tsb_block[MM_TSB_BASE].tsb_nentries; in flush_tsb_user() 84 __flush_tsb_one(tb, PAGE_SHIFT, base, nentries); in flush_tsb_user() 89 nentries = mm->context.tsb_block[MM_TSB_HUGE].tsb_nentries; in flush_tsb_user() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 817 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_init_src_ring() local 819 nentries = roundup_pow_of_two(attr->src_nentries); in ath10k_ce_init_src_ring() 822 nentries * sizeof(struct ce_desc)); in ath10k_ce_init_src_ring() 834 ath10k_ce_src_ring_size_set(ar, ctrl_addr, nentries); in ath10k_ce_init_src_ring() 838 ath10k_ce_src_ring_highmark_set(ar, ctrl_addr, nentries); in ath10k_ce_init_src_ring() 842 ce_id, nentries, src_ring->base_addr_owner_space); in ath10k_ce_init_src_ring() 854 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_init_dest_ring() local 856 nentries = roundup_pow_of_two(attr->dest_nentries); in ath10k_ce_init_dest_ring() 859 nentries * sizeof(struct ce_desc)); in ath10k_ce_init_dest_ring() 869 ath10k_ce_dest_ring_size_set(ar, ctrl_addr, nentries); in ath10k_ce_init_dest_ring() [all …]
|
D | pci.h | 105 __le32 nentries; member
|
D | pci.c | 222 .nentries = __cpu_to_le32(32), 232 .nentries = __cpu_to_le32(32), 242 .nentries = __cpu_to_le32(64), 252 .nentries = __cpu_to_le32(32), 262 .nentries = __cpu_to_le32(256), 274 .nentries = __cpu_to_le32(32), 284 .nentries = __cpu_to_le32(32), 294 .nentries = __cpu_to_le32(0), 304 .nentries = __cpu_to_le32(64), 314 .nentries = __cpu_to_le32(32), [all …]
|
D | ce.h | 57 unsigned int nentries; member
|
/linux-4.4.14/arch/sh/mm/ |
D | tlb-debugfs.c | 45 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-4.4.14/drivers/isdn/hardware/eicon/ |
D | diva_dma.c | 41 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()
|
D | diva_dma.h | 29 struct _diva_dma_map_entry *diva_alloc_dma_map(void *os_context, int nentries); 44 int nentries);
|
D | divasmain.c | 349 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-4.4.14/drivers/misc/sgi-xp/ |
D | xp_main.c | 158 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()
|
D | xpc_uv.c | 1087 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 …]
|
D | xpc_sn2.c | 1565 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 …]
|
D | xp.h | 271 u16 nentries; /* #of msg entries in local msg queue */ member
|
D | xpc_channel.c | 501 ch->local_nentries = registration->nentries; in xpc_connect_channel()
|
/linux-4.4.14/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 44 unsigned int nentries; member 60 unsigned int nentries; member 84 unsigned int nentries; member
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | user_sdma.h | 82 u16 nentries; member
|
D | file_ops.c | 677 memlen = ALIGN(sizeof(*cq->comps) * cq->nentries, PAGE_SIZE); in hfi1_file_mmap() 1210 cinfo.sdma_ring_size = user_sdma_comp_fp(fp)->nentries; in get_ctxt_info()
|
D | user_sdma.c | 418 cq->nentries = hfi1_sdma_comp_ring_size; in hfi1_user_sdma_alloc_queues()
|
/linux-4.4.14/arch/mips/include/asm/netlogic/xlp-hal/ |
D | xlp.h | 93 int nlm_get_dram_map(int node, uint64_t *dram_map, int nentries);
|
/linux-4.4.14/arch/tile/include/hv/ |
D | drv_xgbe_intf.h | 329 #define __netio_fastio_send_pkt_vec(fastio_index, seqno, nentries, va) \ argument 331 nentries, va)
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | l2t.c | 71 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() 451 d->nentries = l2t_capacity; in t3_init_l2t()
|
D | l2t.h | 74 unsigned int nentries; /* number of entries */ member
|
/linux-4.4.14/arch/mips/netlogic/xlp/ |
D | nlm_hal.c | 466 int nlm_get_dram_map(int node, uint64_t *dram_map, int nentries) in nlm_get_dram_map() argument 477 if (rv + 1 >= nentries) in nlm_get_dram_map()
|
/linux-4.4.14/fs/f2fs/ |
D | checkpoint.c | 551 unsigned int nentries = 0; in write_orphan_inodes() local 576 orphan_blk->ino[nentries++] = cpu_to_le32(orphan->ino); in write_orphan_inodes() 578 if (nentries == F2FS_ORPHANS_PER_BLOCK) { in write_orphan_inodes() 586 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes() 590 nentries = 0; in write_orphan_inodes() 598 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()
|
/linux-4.4.14/include/linux/netfilter_bridge/ |
D | ebtables.h | 85 unsigned int nentries; member
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 2641 int ret, nentries; in t4_sge_alloc_eth_txq() local 2647 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq() 2673 FW_EQ_ETH_CMD_EQSIZE_V(nentries)); in t4_sge_alloc_eth_txq() 2681 nentries * sizeof(struct tx_desc), in t4_sge_alloc_eth_txq() 2698 int ret, nentries; in t4_sge_alloc_ctrl_txq() local 2704 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq() 2706 txq->q.desc = alloc_ring(adap->pdev_dev, nentries, in t4_sge_alloc_ctrl_txq() 2728 FW_EQ_CTRL_CMD_EQSIZE_V(nentries)); in t4_sge_alloc_ctrl_txq() 2734 nentries * sizeof(struct tx_desc), in t4_sge_alloc_ctrl_txq() 2751 int ret, nentries; in t4_sge_alloc_ofld_txq() local [all …]
|
D | cxgb4_debugfs.c | 971 unsigned int nentries; /* number of entries in log[] */ member 993 if (index >= dinfo->nentries) in devlog_show() 994 index -= dinfo->nentries; in devlog_show() 1029 if (pos > dinfo->nentries) in devlog_get_idx() 1090 dinfo->nentries = (dparams->size / sizeof(struct fw_devlog_e)); in devlog_open() 1105 for (fseqno = ~((u32)0), index = 0; index < dinfo->nentries; index++) { in devlog_open()
|
D | t4_hw.c | 7216 unsigned int nentries, nentries128; in t4_init_devlog_params() local 7222 nentries = (nentries128 + 1) * 128; in t4_init_devlog_params() 7223 dparams->size = nentries * sizeof(struct fw_devlog_e); in t4_init_devlog_params()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | acpi.c | 86 u64 i, nentries; in acpi_get_sysname() local 122 nentries = (hdr->length - sizeof(*hdr)) / in acpi_get_sysname() 124 for (i = 0; i < nentries; i++) { in acpi_get_sysname()
|
/linux-4.4.14/drivers/atm/ |
D | firestream.c | 1402 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-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 2396 int ret, nentries; in t4vf_sge_alloc_eth_txq() local 2404 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4vf_sge_alloc_eth_txq() 2443 FW_EQ_ETH_CMD_EQSIZE_V(nentries)); in t4vf_sge_alloc_eth_txq() 2459 nentries * sizeof(struct tx_desc), in t4vf_sge_alloc_eth_txq()
|
/linux-4.4.14/fs/afs/ |
D | dir.c | 96 uint8_t nentries; member 245 for (offset = AFS_DIRENT_PER_BLOCK - block->pagehdr.nentries; in afs_dir_iterate_block()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | rs.c | 2642 int i, nentries; in rs_get_initial_rate() local 2676 nentries = ARRAY_SIZE(rs_optimal_rates_5ghz_legacy); in rs_get_initial_rate() 2680 nentries = ARRAY_SIZE(rs_optimal_rates_24ghz_legacy); in rs_get_initial_rate() 2684 for (i = 0; i < nentries; i++) { in rs_get_initial_rate()
|