/linux/arch/sparc/mm/ |
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/net/bridge/netfilter/ |
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() 1216 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() 2408 tmp.nentries = t->table->nentries; in compat_do_ebt_get_ctl() [all …]
|
/linux/net/xdp/ |
A D | xsk_queue.c | 19 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()
|
A D | xsk_queue.h | 42 u32 nentries; member 311 q->nentries; in xskq_cons_is_full() 324 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() 331 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() 445 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue);
|
/linux/drivers/net/wireless/ath/ath10k/ |
A D | ce.c | 793 nentries -= 1; in ath10k_ce_rx_update_write_idx() 1503 u32 nentries) in ath10k_ce_alloc_shadow_base() argument 1526 nentries = roundup_pow_of_two(nentries); in ath10k_ce_alloc_src_ring() 1533 src_ring->nentries = nentries; in ath10k_ce_alloc_src_ring() 1584 nentries = roundup_pow_of_two(nentries); in ath10k_ce_alloc_src_ring_64() 1591 src_ring->nentries = nentries; in ath10k_ce_alloc_src_ring_64() 1637 u32 nentries; in ath10k_ce_alloc_dest_ring() local 1643 nentries), GFP_KERNEL); in ath10k_ce_alloc_dest_ring() 1647 dest_ring->nentries = nentries; in ath10k_ce_alloc_dest_ring() 1681 u32 nentries; in ath10k_ce_alloc_dest_ring_64() local [all …]
|
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 …]
|
A D | ce.h | 62 unsigned int nentries; member 198 void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries); 397 __le32 nentries; member
|
A D | pci.c | 230 .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 …]
|
A D | qmi.h | 54 __le32 nentries; member
|
/linux/arch/sh/mm/ |
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/ath11k/ |
A D | ce.c | 542 params.num_entries = ce_ring->nentries; in ath11k_ce_init_ring() 557 params.low_threshold = ce_ring->nentries - 3; in ath11k_ce_init_ring() 601 ce_ring->nentries = nentries; in ath11k_ce_alloc_ring() 602 ce_ring->nentries_mask = nentries - 1; in ath11k_ce_alloc_ring() 609 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath11k_ce_alloc_ring() 633 int nentries; in ath11k_ce_alloc_pipe() local 787 for (i = 0; i < ring->nentries; i++) { in ath11k_ce_rx_pipe_cleanup() 929 pipe->dest_ring->nentries - 2 : 0; in ath11k_ce_init_pipes() 968 pipe->src_ring->nentries * desc_sz + in ath11k_ce_free_pipes() 979 pipe->dest_ring->nentries * desc_sz + in ath11k_ce_free_pipes() [all …]
|
A D | hw.c | 1104 .nentries = __cpu_to_le32(32), 1114 .nentries = __cpu_to_le32(32), 1124 .nentries = __cpu_to_le32(32), 1134 .nentries = __cpu_to_le32(32), 1154 .nentries = __cpu_to_le32(32), 1164 .nentries = __cpu_to_le32(32), 1174 .nentries = __cpu_to_le32(32), 1184 .nentries = __cpu_to_le32(32), 1204 .nentries = __cpu_to_le32(0), 1507 .nentries = __cpu_to_le32(0), [all …]
|
A D | ce.h | 81 __le32 nentries; member 110 unsigned int nentries; member
|
/linux/drivers/misc/sgi-xp/ |
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()
|
A D | xpc_uv.c | 1091 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 …]
|
/linux/include/linux/ |
A D | nvmem-consumer.h | 91 size_t nentries); 93 size_t nentries); 222 nvmem_add_cell_lookups(struct nvmem_cell_lookup *entries, size_t nentries) {} in nvmem_add_cell_lookups() argument 224 nvmem_del_cell_lookups(struct nvmem_cell_lookup *entries, size_t nentries) {} in nvmem_del_cell_lookups() argument
|
A D | audit.h | 425 extern void __audit_log_nfcfg(const char *name, u8 af, unsigned int nentries, 569 unsigned int nentries, in audit_log_nfcfg() argument 573 __audit_log_nfcfg(name, af, nentries, op, gfp); in audit_log_nfcfg() 713 unsigned int nentries, in audit_log_nfcfg() argument
|
/linux/arch/s390/pci/ |
A D | pci_clp.c | 328 u64 *resume_token, int *nentries) in clp_list_pci_req() argument 351 *nentries = (rrb->response.hdr.len - LIST_PCI_HDR_LEN) / in clp_list_pci_req() 362 int nentries, i, rc; in clp_list_pci() local 365 rc = clp_list_pci_req(rrb, &resume_token, &nentries); in clp_list_pci() 368 for (i = 0; i < nentries; i++) in clp_list_pci() 380 int nentries, i, rc; in clp_find_pci() local 383 rc = clp_list_pci_req(rrb, &resume_token, &nentries); in clp_find_pci() 387 for (i = 0; i < nentries; i++) { in clp_find_pci()
|
/linux/include/uapi/linux/netfilter_bridge/ |
A D | ebtables.h | 48 unsigned int nentries; member 64 unsigned int nentries; member 88 unsigned int nentries; member
|
/linux/fs/afs/ |
A D | vlclient.c | 185 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()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_ethtool.c | 1716 if (loc >= adap->ethtool_filters->nentries) in cxgb4_ntuple_get_filter() 1801 info->data = adap->ethtool_filters->nentries; in get_rxnfc() 1830 if (cmd->fs.location >= adapter->ethtool_filters->nentries) { in cxgb4_ntuple_del_filter() 1833 adapter->ethtool_filters->nentries); in cxgb4_ntuple_del_filter() 1880 if (cmd->fs.location >= adapter->ethtool_filters->nentries) { in cxgb4_ntuple_set_filter() 1883 adapter->ethtool_filters->nentries); in cxgb4_ntuple_set_filter() 2230 u32 nentries, i; in cxgb4_init_ethtool_filters() local 2247 nentries = tids->nhpftids + tids->nftids; in cxgb4_init_ethtool_filters() 2249 nentries += tids->nhash + in cxgb4_init_ethtool_filters() 2251 eth_filter->nentries = nentries; in cxgb4_init_ethtool_filters() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
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/drivers/thunderbolt/ |
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/drivers/memory/ |
A D | atmel-ebi.c | 304 int ret, numcs = 0, nentries, i; in atmel_ebi_dev_setup() local 308 nentries = of_property_count_elems_of_size(np, "reg", in atmel_ebi_dev_setup() 310 for (i = 0; i < nentries; i++) { in atmel_ebi_dev_setup()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | odp.c | 99 static void populate_klm(struct mlx5_klm *pklm, size_t idx, size_t nentries, in populate_klm() argument 102 struct mlx5_klm *end = pklm + nentries; in populate_klm() 158 static void populate_mtt(__be64 *pas, size_t idx, size_t nentries, in populate_mtt() argument 168 for (i = 0; i < nentries; i++) { in populate_mtt() 174 void mlx5_odp_populate_xlt(void *xlt, size_t idx, size_t nentries, in mlx5_odp_populate_xlt() argument 178 populate_klm(xlt, idx, nentries, mr, flags); in mlx5_odp_populate_xlt() 180 populate_mtt(xlt, idx, nentries, mr, flags); in mlx5_odp_populate_xlt()
|