Home
last modified time | relevance | path

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

1234

/openbmc/linux/net/xdp/
H A Dxsk_queue.c20 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()
H A Dxsk_queue.h42 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);
/openbmc/linux/arch/sparc/mm/
H A Dtsb.c25 return vaddr & (nentries - 1); in tsb_hash()
71 unsigned long nentries) in __flush_tsb_one_entry() argument
76 hash = tsb_hash(v, hash_shift, nentries); in __flush_tsb_one_entry()
95 unsigned long nentries, in __flush_huge_tsb_one_entry() argument
104 nentries); in __flush_huge_tsb_one_entry()
115 nentries, hugepage_shift); in __flush_huge_tsb_one()
122 unsigned long nentries, base, flags; in flush_tsb_user() local
155 unsigned long nentries, base, flags; in flush_tsb_user_page() local
166 nentries); in flush_tsb_user_page()
170 nentries, hugepage_shift); in flush_tsb_user_page()
[all …]
/openbmc/linux/net/bridge/netfilter/
H A Debtables.c272 nentries = chaininfo->nentries; in ebt_do_table()
298 nentries = chaininfo->nentries; in ebt_do_table()
478 newinfo->nentries = repl->nentries; in ebt_verify_pointers()
816 nentries = chain->nentries; in check_chainloops()
852 nentries = hlp2->nentries; in check_chainloops()
1219 newinfo->nentries = repl->nentries; in ebt_register_table()
1556 nentries = t->private->nentries; in copy_everything_to_user()
1561 nentries = t->table->nentries; in copy_everything_to_user()
1573 if (tmp.nentries != nentries) in copy_everything_to_user()
2409 tmp.nentries = t->table->nentries; in compat_do_ebt_get_ctl()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhw.c123 .nentries = __cpu_to_le32(32),
133 .nentries = __cpu_to_le32(32),
143 .nentries = __cpu_to_le32(32),
153 .nentries = __cpu_to_le32(32),
173 .nentries = __cpu_to_le32(32),
183 .nentries = __cpu_to_le32(32),
193 .nentries = __cpu_to_le32(32),
203 .nentries = __cpu_to_le32(32),
215 .nentries = __cpu_to_le32(32),
225 .nentries = __cpu_to_le32(32),
[all …]
H A Dce.c500 params.num_entries = ce_ring->nentries; in ath12k_ce_init_ring()
515 params.low_threshold = ce_ring->nentries - 3; in ath12k_ce_init_ring()
553 ce_ring->nentries = nentries; in ath12k_ce_alloc_ring()
554 ce_ring->nentries_mask = nentries - 1; in ath12k_ce_alloc_ring()
561 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath12k_ce_alloc_ring()
585 int nentries; in ath12k_ce_alloc_pipe() local
729 for (i = 0; i < ring->nentries; i++) { in ath12k_ce_rx_pipe_cleanup()
862 pipe->dest_ring->nentries - 2 : 0; in ath12k_ce_init_pipes()
898 pipe->src_ring->nentries * desc_sz + in ath12k_ce_free_pipes()
909 pipe->dest_ring->nentries * desc_sz + in ath12k_ce_free_pipes()
[all …]
H A Dce.h73 __le32 nentries; member
101 unsigned int nentries; member
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dce.c726 nentries -= 1; in ath10k_ce_rx_update_write_idx()
1436 u32 nentries) in ath10k_ce_alloc_shadow_base() argument
1459 nentries = roundup_pow_of_two(nentries); in ath10k_ce_alloc_src_ring()
1466 src_ring->nentries = nentries; in ath10k_ce_alloc_src_ring()
1517 nentries = roundup_pow_of_two(nentries); in ath10k_ce_alloc_src_ring_64()
1524 src_ring->nentries = nentries; in ath10k_ce_alloc_src_ring_64()
1570 u32 nentries; in ath10k_ce_alloc_dest_ring() local
1576 nentries), GFP_KERNEL); in ath10k_ce_alloc_dest_ring()
1580 dest_ring->nentries = nentries; in ath10k_ce_alloc_dest_ring()
1614 u32 nentries; in ath10k_ce_alloc_dest_ring_64() local
[all …]
H A Dsnoc.c247 .nentries = __cpu_to_le32(32),
257 .nentries = __cpu_to_le32(32),
267 .nentries = __cpu_to_le32(64),
277 .nentries = __cpu_to_le32(32),
307 .nentries = __cpu_to_le32(32),
317 .nentries = __cpu_to_le32(0),
327 .nentries = __cpu_to_le32(32),
337 .nentries = __cpu_to_le32(32),
347 .nentries = __cpu_to_le32(32),
357 .nentries = __cpu_to_le32(32),
[all …]
H A Dce.h62 unsigned int nentries; member
198 void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries);
397 __le32 nentries; member
/openbmc/linux/arch/sh/mm/
H A 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()
/openbmc/qemu/hw/pci/
H A Dmsix.c282 for (vector = 0; vector < nentries; ++vector) { in msix_mask_all()
312 int msix_init(struct PCIDevice *dev, unsigned short nentries, in msix_init() argument
328 if (nentries < 1 || nentries > PCI_MSIX_FLAGS_QSIZE + 1) { in msix_init()
333 table_size = nentries * PCI_MSIX_ENTRY_SIZE; in msix_init()
334 pba_size = QEMU_ALIGN_UP(nentries, 64) / 8; in msix_init()
357 pci_set_word(config + PCI_MSIX_FLAGS, nentries - 1); in msix_init()
358 dev->msix_entries_nr = nentries; in msix_init()
372 msix_mask_all(dev, nentries); in msix_init()
393 uint32_t bar_pba_size = QEMU_ALIGN_UP(nentries, 64) / 8; in msix_init_exclusive_bar()
402 if (nentries * PCI_MSIX_ENTRY_SIZE > bar_pba_offset) { in msix_init_exclusive_bar()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dce.c564 params.num_entries = ce_ring->nentries; in ath11k_ce_init_ring()
579 params.low_threshold = ce_ring->nentries - 3; in ath11k_ce_init_ring()
623 ce_ring->nentries = nentries; in ath11k_ce_alloc_ring()
624 ce_ring->nentries_mask = nentries - 1; in ath11k_ce_alloc_ring()
631 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath11k_ce_alloc_ring()
655 int nentries; in ath11k_ce_alloc_pipe() local
811 for (i = 0; i < ring->nentries; i++) { in ath11k_ce_rx_pipe_cleanup()
950 pipe->dest_ring->nentries - 2 : 0; in ath11k_ce_init_pipes()
991 pipe->src_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
1003 pipe->dest_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
[all …]
H A Dhw.c1295 .nentries = __cpu_to_le32(32),
1305 .nentries = __cpu_to_le32(32),
1315 .nentries = __cpu_to_le32(32),
1325 .nentries = __cpu_to_le32(32),
1345 .nentries = __cpu_to_le32(32),
1355 .nentries = __cpu_to_le32(32),
1365 .nentries = __cpu_to_le32(32),
1375 .nentries = __cpu_to_le32(32),
1395 .nentries = __cpu_to_le32(0),
1698 .nentries = __cpu_to_le32(0),
[all …]
H A Dce.h86 __le32 nentries; member
127 unsigned int nentries; member
/openbmc/linux/drivers/misc/sgi-xp/
H A Dxp_main.c135 u16 nentries, u32 assigned_limit, u32 idle_limit) in xpc_connect() argument
140 DBUG_ON(payload_size == 0 || nentries == 0); in xpc_connect()
160 registration->nentries = nentries; in xpc_connect()
213 registration->nentries = 0; in xpc_disconnect()
H A Dxpc_uv.c1091 int nentries; in xpc_allocate_send_msg_slot_uv() local
1095 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_send_msg_slot_uv()
1101 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_send_msg_slot_uv()
1110 if (nentries < ch->local_nentries) in xpc_allocate_send_msg_slot_uv()
1111 ch->local_nentries = nentries; in xpc_allocate_send_msg_slot_uv()
1125 int nentries; in xpc_allocate_recv_msg_slot_uv() local
1129 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_recv_msg_slot_uv()
1130 nbytes = nentries * ch->entry_size; in xpc_allocate_recv_msg_slot_uv()
1135 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_recv_msg_slot_uv()
1143 if (nentries < ch->remote_nentries) in xpc_allocate_recv_msg_slot_uv()
[all …]
/openbmc/linux/include/linux/
H A Dnvmem-consumer.h86 size_t nentries);
88 size_t nentries);
217 nvmem_add_cell_lookups(struct nvmem_cell_lookup *entries, size_t nentries) {} in nvmem_add_cell_lookups() argument
219 nvmem_del_cell_lookups(struct nvmem_cell_lookup *entries, size_t nentries) {} in nvmem_del_cell_lookups() argument
H A Daudit.h423 extern void __audit_log_nfcfg(const char *name, u8 af, unsigned int nentries,
567 unsigned int nentries, in audit_log_nfcfg() argument
571 __audit_log_nfcfg(name, af, nentries, op, gfp); in audit_log_nfcfg()
707 unsigned int nentries, in audit_log_nfcfg() argument
/openbmc/qemu/tests/qtest/
H A Dvirtio-9p-test.c113 uint32_t count, nentries; in fs_readdir() local
133 .count = &count, .nentries = &nentries, .entries = &entries in fs_readdir()
142 nentries, ==, in fs_readdir()
168 uint32_t nentries, npartialentries; in do_readdir_split() local
178 nentries = 0; in do_readdir_split()
202 .count = &count, .nentries = &npartialentries, in do_readdir_split()
209 nentries = npartialentries; in do_readdir_split()
213 nentries += npartialentries; in do_readdir_split()
225 nentries, ==, in do_readdir_split()
/openbmc/linux/include/uapi/linux/netfilter_bridge/
H A Debtables.h48 unsigned int nentries; member
64 unsigned int nentries; member
88 unsigned int nentries; member
/openbmc/linux/arch/s390/pci/
H A Dpci_clp.c338 u64 *resume_token, int *nentries) in clp_list_pci_req() argument
361 *nentries = (rrb->response.hdr.len - LIST_PCI_HDR_LEN) / in clp_list_pci_req()
372 int nentries, i, rc; in clp_list_pci() local
375 rc = clp_list_pci_req(rrb, &resume_token, &nentries); in clp_list_pci()
378 for (i = 0; i < nentries; i++) in clp_list_pci()
390 int nentries, i, rc; in clp_find_pci() local
393 rc = clp_list_pci_req(rrb, &resume_token, &nentries); in clp_find_pci()
397 for (i = 0; i < nentries; i++) { in clp_find_pci()
/openbmc/qemu/include/hw/pci/
H A Dmsix.h10 int msix_init(PCIDevice *dev, unsigned short nentries,
15 int msix_init_exclusive_bar(PCIDevice *dev, unsigned short nentries,
/openbmc/linux/fs/afs/
H A Dvlclient.c185 u32 uniquifier, nentries, count; in afs_deliver_vl_get_addrs_u() local
207 nentries = ntohl(*bp++); in afs_deliver_vl_get_addrs_u()
210 nentries = min(nentries, count); in afs_deliver_vl_get_addrs_u()
211 alist = afs_alloc_addrlist(nentries, FS_SERVICE, AFS_FS_PORT); in afs_deliver_vl_get_addrs_u()
217 call->count2 = nentries; in afs_deliver_vl_get_addrs_u()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/cdrkit/files/
H A D0001-add-new-option-eltorito-platform.patch46 + int nentries = 0;
111 + set_721(&last_section_header->entry_count, nentries);
112 + nentries = 1;
120 + nentries++; /* Add entry to this section header */
134 + set_721(&last_section_header->entry_count, nentries);

1234