Home
last modified time | relevance | path

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

123

/linux-6.12.1/arch/sparc/mm/
Dtsb.c22 …nline unsigned long tsb_hash(unsigned long vaddr, unsigned long hash_shift, unsigned long nentries) in tsb_hash() argument
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()
84 unsigned long tsb, unsigned long nentries) in __flush_tsb_one() argument
89 __flush_tsb_one_entry(tsb, tb->vaddrs[i], hash_shift, nentries); in __flush_tsb_one()
95 unsigned long nentries, in __flush_huge_tsb_one_entry() argument
104 nentries); in __flush_huge_tsb_one_entry()
108 unsigned long tsb, unsigned long nentries, in __flush_huge_tsb_one() argument
115 nentries, hugepage_shift); in __flush_huge_tsb_one()
[all …]
/linux-6.12.1/net/xdp/
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()
Dxsk_queue.h42 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.12.1/net/bridge/netfilter/
Debtables.c197 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 …]
/linux-6.12.1/drivers/net/wireless/ath/ath10k/
Dce.c714 void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries) in ath10k_ce_rx_update_write_idx() argument
726 if (((cur_write_idx + nentries) & nentries_mask) == dest_ring->sw_index) in ath10k_ce_rx_update_write_idx()
727 nentries -= 1; in ath10k_ce_rx_update_write_idx()
729 write_index = CE_RING_IDX_ADD(nentries_mask, write_index, nentries); in ath10k_ce_rx_update_write_idx()
1363 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_init_src_ring() local
1365 nentries = roundup_pow_of_two(attr->src_nentries); in ath10k_ce_init_src_ring()
1369 nentries * sizeof(struct ce_desc_64)); in ath10k_ce_init_src_ring()
1372 nentries * sizeof(struct ce_desc)); in ath10k_ce_init_src_ring()
1384 ath10k_ce_src_ring_size_set(ar, ctrl_addr, nentries); in ath10k_ce_init_src_ring()
1388 ath10k_ce_src_ring_highmark_set(ar, ctrl_addr, nentries); in ath10k_ce_init_src_ring()
[all …]
Dce.h62 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
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),
287 .nentries = __cpu_to_le32(256),
297 .nentries = __cpu_to_le32(1024),
307 .nentries = __cpu_to_le32(32),
317 .nentries = __cpu_to_le32(0),
327 .nentries = __cpu_to_le32(32),
337 .nentries = __cpu_to_le32(32),
[all …]
Dpci.c231 .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.12.1/drivers/net/wireless/ath/ath12k/
Dhw.c127 .nentries = __cpu_to_le32(32),
137 .nentries = __cpu_to_le32(32),
147 .nentries = __cpu_to_le32(32),
157 .nentries = __cpu_to_le32(32),
167 .nentries = __cpu_to_le32(256),
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),
[all …]
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()
544 ath12k_ce_alloc_ring(struct ath12k_base *ab, int nentries, int desc_sz) in ath12k_ce_alloc_ring() argument
549 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); in ath12k_ce_alloc_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
592 nentries = roundup_pow_of_two(attr->src_nentries); in ath12k_ce_alloc_pipe()
594 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe()
[all …]
Dce.h73 __le32 nentries; member
101 unsigned int nentries; member
/linux-6.12.1/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-6.12.1/drivers/net/wireless/ath/ath11k/
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()
614 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring() argument
619 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); in ath11k_ce_alloc_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
662 nentries = roundup_pow_of_two(attr->src_nentries); in ath11k_ce_alloc_pipe()
664 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
[all …]
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),
1335 .nentries = __cpu_to_le32(256),
1345 .nentries = __cpu_to_le32(32),
1355 .nentries = __cpu_to_le32(32),
1365 .nentries = __cpu_to_le32(32),
1375 .nentries = __cpu_to_le32(32),
1385 .nentries = __cpu_to_le32(32),
[all …]
Dce.h87 __le32 nentries; member
128 unsigned int nentries; member
/linux-6.12.1/drivers/misc/sgi-xp/
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()
Dxpc_uv.c1006 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()
1011 nbytes = nentries * sizeof(struct xpc_send_msg_slot_uv); 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()
[all …]
/linux-6.12.1/include/linux/
Dnvmem-consumer.h87 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
Daudit.h424 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.12.1/include/uapi/linux/netfilter_bridge/
Debtables.h48 unsigned int nentries; member
64 unsigned int nentries; member
88 unsigned int nentries; member
/linux-6.12.1/arch/s390/pci/
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()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h74 unsigned int nentries; /* number of entries */ member
79 struct l2t_entry l2tab[] __counted_by(nentries);
Dl2t.c71 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.12.1/fs/afs/
Dvlclient.c177 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.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1717 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 …]

123