Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/arch/sparc/mm/
H A 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 …]
/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A Debtables.c184 int i, nentries; in ebt_do_table() local
200 cb_base = COUNTER_BASE(private->counters, private->nentries, in ebt_do_table()
207 nentries = private->hook_entry[hook]->nentries; in ebt_do_table()
213 while (i < nentries) { in ebt_do_table()
259 nentries = chaininfo->nentries; in ebt_do_table()
285 nentries = chaininfo->nentries; in ebt_do_table()
439 newinfo->nentries = repl->nentries; in ebt_verify_pointers()
526 *n = ((struct ebt_entries *)e)->nentries; in ebt_check_entry_size_and_hooks()
764 int i, chain_nr = -1, pos = 0, nentries = chain->nentries, verdict; in check_chainloops() local
768 while (pos < nentries || chain_nr != -1) { in check_chainloops()
[all …]
/OK3568_Linux_fs/kernel/net/xdp/
H A Dxsk_queue.c19 return struct_size(umem_ring, desc, q->nentries); in xskq_get_ring_size()
20 return struct_size(rxtx_ring, desc, q->nentries); in xskq_get_ring_size()
23 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.h40 u32 nentries; member
266 q->nentries; in xskq_cons_is_full()
279 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full()
286 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full()
380 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue);
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/
H A Dce.c780 void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries) in ath10k_ce_rx_update_write_idx() argument
792 if (((cur_write_idx + nentries) & nentries_mask) == dest_ring->sw_index) in ath10k_ce_rx_update_write_idx()
793 nentries -= 1; in ath10k_ce_rx_update_write_idx()
795 write_index = CE_RING_IDX_ADD(nentries_mask, write_index, nentries); in ath10k_ce_rx_update_write_idx()
1429 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_init_src_ring() local
1431 nentries = roundup_pow_of_two(attr->src_nentries); in ath10k_ce_init_src_ring()
1435 nentries * sizeof(struct ce_desc_64)); in ath10k_ce_init_src_ring()
1438 nentries * sizeof(struct ce_desc)); in ath10k_ce_init_src_ring()
1450 ath10k_ce_src_ring_size_set(ar, ctrl_addr, nentries); in ath10k_ce_init_src_ring()
1454 ath10k_ce_src_ring_highmark_set(ar, ctrl_addr, nentries); in ath10k_ce_init_src_ring()
[all …]
H A Dsnoc.c246 .nentries = __cpu_to_le32(32),
256 .nentries = __cpu_to_le32(32),
266 .nentries = __cpu_to_le32(64),
276 .nentries = __cpu_to_le32(32),
286 .nentries = __cpu_to_le32(256),
296 .nentries = __cpu_to_le32(1024),
306 .nentries = __cpu_to_le32(32),
316 .nentries = __cpu_to_le32(0),
326 .nentries = __cpu_to_le32(32),
336 .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
H A Dpci.c230 .nentries = __cpu_to_le32(32),
240 .nentries = __cpu_to_le32(32),
250 .nentries = __cpu_to_le32(64),
260 .nentries = __cpu_to_le32(32),
270 .nentries = __cpu_to_le32(256),
282 .nentries = __cpu_to_le32(32),
292 .nentries = __cpu_to_le32(32),
302 .nentries = __cpu_to_le32(0),
312 .nentries = __cpu_to_le32(64),
322 .nentries = __cpu_to_le32(32),
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H A Dhw.c287 .nentries = __cpu_to_le32(32),
297 .nentries = __cpu_to_le32(32),
307 .nentries = __cpu_to_le32(32),
317 .nentries = __cpu_to_le32(32),
327 .nentries = __cpu_to_le32(256),
337 .nentries = __cpu_to_le32(32),
347 .nentries = __cpu_to_le32(32),
357 .nentries = __cpu_to_le32(32),
367 .nentries = __cpu_to_le32(32),
377 .nentries = __cpu_to_le32(32),
[all …]
H A Dce.c488 params.num_entries = ce_ring->nentries; in ath11k_ce_init_ring()
503 params.low_threshold = ce_ring->nentries - 3; in ath11k_ce_init_ring()
538 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring() argument
543 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); in ath11k_ce_alloc_ring()
547 ce_ring->nentries = nentries; in ath11k_ce_alloc_ring()
548 ce_ring->nentries_mask = nentries - 1; in ath11k_ce_alloc_ring()
555 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath11k_ce_alloc_ring()
579 int nentries; in ath11k_ce_alloc_pipe() local
586 nentries = roundup_pow_of_two(attr->src_nentries); in ath11k_ce_alloc_pipe()
588 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
[all …]
H A Dce.h81 __le32 nentries; member
110 unsigned int nentries; member
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
1096 nbytes = nentries * sizeof(struct xpc_send_msg_slot_uv); 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()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dnvmem-consumer.h87 size_t nentries);
89 size_t nentries);
204 nvmem_add_cell_lookups(struct nvmem_cell_lookup *entries, size_t nentries) {} in nvmem_add_cell_lookups() argument
206 nvmem_del_cell_lookups(struct nvmem_cell_lookup *entries, size_t nentries) {} in nvmem_del_cell_lookups() argument
H A Daudit.h411 extern void __audit_log_nfcfg(const char *name, u8 af, unsigned int nentries,
549 unsigned int nentries, in audit_log_nfcfg() argument
553 __audit_log_nfcfg(name, af, nentries, op, gfp); in audit_log_nfcfg()
684 unsigned int nentries, in audit_log_nfcfg() argument
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dhash-table.h659 value_type *nentries = alloc_entries (size PASS_MEM_STAT); in hash_table() local
664 mark_deleted (nentries[i]); in hash_table()
666 new ((void*) (nentries + i)) value_type (entry); in hash_table()
668 m_entries = nentries; in hash_table()
705 value_type *nentries; in alloc_entries() local
711 nentries = Allocator <value_type> ::data_alloc (n); in alloc_entries()
713 nentries = ::ggc_cleared_vec_alloc<value_type> (n PASS_MEM_STAT); in alloc_entries()
715 gcc_assert (nentries != NULL); in alloc_entries()
718 mark_empty (nentries[i]); in alloc_entries()
720 return nentries; in alloc_entries()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dhash-table.h659 value_type *nentries = alloc_entries (size PASS_MEM_STAT); in hash_table() local
664 mark_deleted (nentries[i]); in hash_table()
666 new ((void*) (nentries + i)) value_type (entry); in hash_table()
668 m_entries = nentries; in hash_table()
705 value_type *nentries; in alloc_entries() local
711 nentries = Allocator <value_type> ::data_alloc (n); in alloc_entries()
713 nentries = ::ggc_cleared_vec_alloc<value_type> (n PASS_MEM_STAT); in alloc_entries()
715 gcc_assert (nentries != NULL); in alloc_entries()
718 mark_empty (nentries[i]); in alloc_entries()
720 return nentries; in alloc_entries()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/netfilter_bridge/
H A Debtables.h48 unsigned int nentries; member
64 unsigned int nentries; member
88 unsigned int nentries; member
/OK3568_Linux_fs/kernel/include/uapi/linux/netfilter_bridge/
H A Debtables.h48 unsigned int nentries; member
64 unsigned int nentries; member
88 unsigned int nentries; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/netfilter_bridge/
H A Debtables.h48 unsigned int nentries; member
64 unsigned int nentries; member
88 unsigned int nentries; member
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1712 if (loc >= adap->ethtool_filters->nentries) in cxgb4_ntuple_get_filter()
1797 info->data = adap->ethtool_filters->nentries; in get_rxnfc()
1826 if (cmd->fs.location >= adapter->ethtool_filters->nentries) { in cxgb4_ntuple_del_filter()
1829 adapter->ethtool_filters->nentries); in cxgb4_ntuple_del_filter()
1876 if (cmd->fs.location >= adapter->ethtool_filters->nentries) { in cxgb4_ntuple_set_filter()
1879 adapter->ethtool_filters->nentries); in cxgb4_ntuple_set_filter()
2226 u32 nentries, i; in cxgb4_init_ethtool_filters() local
2243 nentries = tids->nhpftids + tids->nftids; in cxgb4_init_ethtool_filters()
2245 nentries += tids->nhash + in cxgb4_init_ethtool_filters()
2247 eth_filter->nentries = nentries; in cxgb4_init_ethtool_filters()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb3/
H A 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()
/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A Dproperty.c165 size_t i, content_len, nentries; in __tb_property_parse_dir() local
188 nentries = content_len / (sizeof(*entries) / 4); in __tb_property_parse_dir()
192 for (i = 0; i < nentries; i++) { in __tb_property_parse_dir()

123