| /linux/arch/sparc/mm/ |
| H A D | tsb.c | 22 …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/net/bridge/netfilter/ |
| H A D | ebtables.c | 197 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/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 384 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() 391 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full() 505 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue);
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | ce.c | 716 void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries) in ath10k_ce_rx_update_write_idx() argument 728 if (((cur_write_idx + nentries) & nentries_mask) == dest_ring->sw_index) in ath10k_ce_rx_update_write_idx() 729 nentries -= 1; in ath10k_ce_rx_update_write_idx() 731 write_index = CE_RING_IDX_ADD(nentries_mask, write_index, nentries); in ath10k_ce_rx_update_write_idx() 1365 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_init_src_ring() local 1367 nentries = roundup_pow_of_two(attr->src_nentries); in ath10k_ce_init_src_ring() 1371 nentries * sizeof(struct ce_desc_64)); in ath10k_ce_init_src_ring() 1374 nentries * sizeof(struct ce_desc)); in ath10k_ce_init_src_ring() 1386 ath10k_ce_src_ring_size_set(ar, ctrl_addr, nentries); in ath10k_ce_init_src_ring() 1390 ath10k_ce_src_ring_highmark_set(ar, ctrl_addr, nentries); in ath10k_ce_init_src_ring() [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 | pci.c | 232 .nentries = __cpu_to_le32(32), 242 .nentries = __cpu_to_le32(32), 252 .nentries = __cpu_to_le32(64), 262 .nentries = __cpu_to_le32(32), 272 .nentries = __cpu_to_le32(256), 284 .nentries = __cpu_to_le32(32), 294 .nentries = __cpu_to_le32(32), 304 .nentries = __cpu_to_le32(0), 314 .nentries = __cpu_to_le32(64), 324 .nentries = __cpu_to_le32(32), [all …]
|
| H A D | qmi.h | 54 __le32 nentries; member
|
| /linux/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/drivers/net/wireless/ath/ath12k/ |
| H A D | ce.c | 286 params.num_entries = ce_ring->nentries; in ath12k_ce_init_ring() 301 params.low_threshold = ce_ring->nentries - 3; in ath12k_ce_init_ring() 330 ath12k_ce_alloc_ring(struct ath12k_base *ab, int nentries, int desc_sz) in ath12k_ce_alloc_ring() argument 335 ce_ring = kzalloc_flex(*ce_ring, skb, nentries); in ath12k_ce_alloc_ring() 339 ce_ring->nentries = nentries; in ath12k_ce_alloc_ring() 340 ce_ring->nentries_mask = nentries - 1; in ath12k_ce_alloc_ring() 347 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath12k_ce_alloc_ring() 372 int nentries; in ath12k_ce_alloc_pipe() local 379 nentries = roundup_pow_of_two(attr->src_nentries); in ath12k_ce_alloc_pipe() 381 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe() [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | ce.c | 563 params.num_entries = ce_ring->nentries; in ath11k_ce_init_ring() 578 params.low_threshold = ce_ring->nentries - 3; in ath11k_ce_init_ring() 613 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring() argument 618 ce_ring = kzalloc_flex(*ce_ring, skb, nentries); in ath11k_ce_alloc_ring() 622 ce_ring->nentries = nentries; in ath11k_ce_alloc_ring() 623 ce_ring->nentries_mask = nentries - 1; in ath11k_ce_alloc_ring() 630 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath11k_ce_alloc_ring() 654 int nentries; in ath11k_ce_alloc_pipe() local 661 nentries = roundup_pow_of_two(attr->src_nentries); in ath11k_ce_alloc_pipe() 663 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe() [all …]
|
| H A D | ce.h | 87 __le32 nentries; member 128 unsigned int nentries; member
|
| /linux/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 | 1004 int nentries; in xpc_allocate_send_msg_slot_uv() local 1008 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_send_msg_slot_uv() 1009 nbytes = nentries * sizeof(struct xpc_send_msg_slot_uv); in xpc_allocate_send_msg_slot_uv() 1014 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_send_msg_slot_uv() 1023 if (nentries < ch->local_nentries) in xpc_allocate_send_msg_slot_uv() 1024 ch->local_nentries = nentries; in xpc_allocate_send_msg_slot_uv() 1038 int nentries; in xpc_allocate_recv_msg_slot_uv() local 1042 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_recv_msg_slot_uv() 1043 nbytes = nentries * ch->entry_size; in xpc_allocate_recv_msg_slot_uv() 1048 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_recv_msg_slot_uv() [all …]
|
| /linux/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
|
| /linux/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/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() 190 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) in alloc_l2e() 415 d->nentries = l2t_capacity; in t3_init_l2t()
|
| /linux/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/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_ethtool.c | 1717 if (loc >= adap->ethtool_filters->nentries) in cxgb4_ntuple_get_filter() 1810 info->data = adap->ethtool_filters->nentries; in get_rxnfc() 1839 if (cmd->fs.location >= adapter->ethtool_filters->nentries) { in cxgb4_ntuple_del_filter() 1842 adapter->ethtool_filters->nentries); in cxgb4_ntuple_del_filter() 1889 if (cmd->fs.location >= adapter->ethtool_filters->nentries) { in cxgb4_ntuple_set_filter() 1892 adapter->ethtool_filters->nentries); in cxgb4_ntuple_set_filter() 2250 u32 nentries, i; in cxgb4_init_ethtool_filters() local 2265 nentries = tids->nhpftids + tids->nftids; in cxgb4_init_ethtool_filters() 2267 nentries += tids->nhash + in cxgb4_init_ethtool_filters() 2269 eth_filter->nentries = nentries; in cxgb4_init_ethtool_filters() [all …]
|
| /linux/fs/smb/smbdirect/ |
| H A D | rw.c | 32 size_t nentries) in smbdirect_connection_rdma_get_sg_list() argument 39 if (size == 0 || nentries < smbdirect_get_buf_page_count(buf, size)) in smbdirect_connection_rdma_get_sg_list()
|
| /linux/drivers/memory/ |
| H A D | atmel-ebi.c | 308 int ret, numcs = 0, nentries, i; in atmel_ebi_dev_setup() local 312 nentries = of_property_count_elems_of_size(np, "reg", in atmel_ebi_dev_setup() 314 for (i = 0; i < nentries; i++) { in atmel_ebi_dev_setup()
|
| /linux/drivers/thunderbolt/ |
| H A D | property.c | 165 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()
|
| /linux/include/linux/netfilter_bridge/ |
| H A D | ebtables.h | 82 unsigned int nentries; member
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | user_sdma.h | 102 u16 nentries; member
|