| /linux-6.15/arch/sparc/mm/ |
| H A D | tsb.c | 25 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 …]
|
| /linux-6.15/net/xdp/ |
| H A 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()
|
| H A D | xsk_queue.h | 42 u32 nentries; member 349 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() 356 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() 457 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue);
|
| /linux-6.15/net/bridge/netfilter/ |
| H A D | ebtables.c | 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() 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 …]
|
| /linux-6.15/drivers/net/wireless/ath/ath10k/ |
| H A D | ce.c | 727 nentries -= 1; in ath10k_ce_rx_update_write_idx() 1437 u32 nentries) in ath10k_ce_alloc_shadow_base() argument 1460 nentries = roundup_pow_of_two(nentries); in ath10k_ce_alloc_src_ring() 1467 src_ring->nentries = nentries; in ath10k_ce_alloc_src_ring() 1518 nentries = roundup_pow_of_two(nentries); in ath10k_ce_alloc_src_ring_64() 1525 src_ring->nentries = nentries; in ath10k_ce_alloc_src_ring_64() 1571 u32 nentries; in ath10k_ce_alloc_dest_ring() local 1577 nentries), GFP_KERNEL); in ath10k_ce_alloc_dest_ring() 1581 dest_ring->nentries = nentries; in ath10k_ce_alloc_dest_ring() 1615 u32 nentries; in ath10k_ce_alloc_dest_ring_64() local [all …]
|
| H A D | ce.h | 62 unsigned int nentries; member 113 void *per_transfer_context[] __counted_by(nentries); 198 void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries); 397 __le32 nentries; member
|
| H A D | snoc.c | 247 .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 D | pci.c | 231 .nentries = __cpu_to_le32(32), 241 .nentries = __cpu_to_le32(32), 251 .nentries = __cpu_to_le32(64), 261 .nentries = __cpu_to_le32(32), 271 .nentries = __cpu_to_le32(256), 283 .nentries = __cpu_to_le32(32), 293 .nentries = __cpu_to_le32(32), 303 .nentries = __cpu_to_le32(0), 313 .nentries = __cpu_to_le32(64), 323 .nentries = __cpu_to_le32(32), [all …]
|
| /linux-6.15/drivers/net/wireless/ath/ath12k/ |
| H A D | hw.c | 127 .nentries = __cpu_to_le32(32), 137 .nentries = __cpu_to_le32(32), 147 .nentries = __cpu_to_le32(32), 157 .nentries = __cpu_to_le32(32), 177 .nentries = __cpu_to_le32(32), 187 .nentries = __cpu_to_le32(32), 197 .nentries = __cpu_to_le32(32), 207 .nentries = __cpu_to_le32(32), 219 .nentries = __cpu_to_le32(32), 229 .nentries = __cpu_to_le32(32), [all …]
|
| H A D | ce.c | 500 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 D | ce.h | 73 __le32 nentries; member 101 unsigned int nentries; member
|
| /linux-6.15/arch/sh/mm/ |
| H A 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-6.15/drivers/net/wireless/ath/ath11k/ |
| H A D | ce.c | 564 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 D | hw.c | 1295 .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 D | ce.h | 87 __le32 nentries; member 128 unsigned int nentries; member
|
| /linux-6.15/drivers/misc/sgi-xp/ |
| H A D | xp_main.c | 135 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 D | xpc_uv.c | 1006 int nentries; in xpc_allocate_send_msg_slot_uv() local 1010 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_send_msg_slot_uv() 1016 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_send_msg_slot_uv() 1025 if (nentries < ch->local_nentries) in xpc_allocate_send_msg_slot_uv() 1026 ch->local_nentries = nentries; in xpc_allocate_send_msg_slot_uv() 1040 int nentries; in xpc_allocate_recv_msg_slot_uv() local 1044 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_recv_msg_slot_uv() 1045 nbytes = nentries * ch->entry_size; in xpc_allocate_recv_msg_slot_uv() 1050 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_recv_msg_slot_uv() 1058 if (nentries < ch->remote_nentries) in xpc_allocate_recv_msg_slot_uv() [all …]
|
| /linux-6.15/include/linux/ |
| H A D | nvmem-consumer.h | 87 size_t nentries); 89 size_t nentries); 224 nvmem_add_cell_lookups(struct nvmem_cell_lookup *entries, size_t nentries) {} in nvmem_add_cell_lookups() argument 226 nvmem_del_cell_lookups(struct nvmem_cell_lookup *entries, size_t nentries) {} in nvmem_del_cell_lookups() argument
|
| H A D | audit.h | 424 extern void __audit_log_nfcfg(const char *name, u8 af, unsigned int nentries, 568 unsigned int nentries, in audit_log_nfcfg() argument 572 __audit_log_nfcfg(name, af, nentries, op, gfp); in audit_log_nfcfg() 708 unsigned int nentries, in audit_log_nfcfg() argument
|
| /linux-6.15/include/uapi/linux/netfilter_bridge/ |
| H A D | ebtables.h | 48 unsigned int nentries; member 64 unsigned int nentries; member 88 unsigned int nentries; member
|
| /linux-6.15/arch/s390/pci/ |
| H A D | pci_clp.c | 347 u64 *resume_token, int *nentries) in clp_list_pci_req() argument 370 *nentries = (rrb->response.hdr.len - LIST_PCI_HDR_LEN) / in clp_list_pci_req() 381 int nentries, i, rc; in clp_list_pci() local 384 rc = clp_list_pci_req(rrb, &resume_token, &nentries); in clp_list_pci() 387 for (i = 0; i < nentries; i++) in clp_list_pci() 399 int nentries, i, rc; in clp_find_pci() local 402 rc = clp_list_pci_req(rrb, &resume_token, &nentries); in clp_find_pci() 406 for (i = 0; i < nentries; i++) { in clp_find_pci()
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | l2t.h | 74 unsigned int nentries; /* number of entries */ member 79 struct l2t_entry l2tab[] __counted_by(nentries);
|
| H A D | l2t.c | 71 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); in arp_hash() 227 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) in alloc_l2e() 452 d->nentries = l2t_capacity; in t3_init_l2t()
|
| /linux-6.15/fs/afs/ |
| H A D | vlclient.c | 177 u32 uniquifier, nentries, count; in afs_deliver_vl_get_addrs_u() local 199 nentries = ntohl(*bp++); in afs_deliver_vl_get_addrs_u() 202 nentries = min(nentries, count); in afs_deliver_vl_get_addrs_u() 203 alist = afs_alloc_addrlist(nentries); in afs_deliver_vl_get_addrs_u() 209 call->count2 = nentries; in afs_deliver_vl_get_addrs_u()
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_ethtool.c | 1717 if (loc >= adap->ethtool_filters->nentries) in cxgb4_ntuple_get_filter() 1802 info->data = adap->ethtool_filters->nentries; in get_rxnfc() 1831 if (cmd->fs.location >= adapter->ethtool_filters->nentries) { in cxgb4_ntuple_del_filter() 1834 adapter->ethtool_filters->nentries); in cxgb4_ntuple_del_filter() 1881 if (cmd->fs.location >= adapter->ethtool_filters->nentries) { in cxgb4_ntuple_set_filter() 1884 adapter->ethtool_filters->nentries); in cxgb4_ntuple_set_filter() 2240 u32 nentries, i; in cxgb4_init_ethtool_filters() local 2257 nentries = tids->nhpftids + tids->nftids; in cxgb4_init_ethtool_filters() 2259 nentries += tids->nhash + in cxgb4_init_ethtool_filters() 2261 eth_filter->nentries = nentries; in cxgb4_init_ethtool_filters() [all …]
|