/linux-master/net/xdp/ |
H A D | xsk_queue.c | 20 return struct_size(umem_ring, desc, q->nentries); 21 return struct_size(rxtx_ring, desc, q->nentries); 24 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue) argument 33 q->nentries = nentries; 34 q->ring_mask = nentries - 1;
|
H A D | xsk_queue.h | 42 u32 nentries; member in struct:xsk_queue 354 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); 361 free_entries = q->nentries - (q->cached_prod - q->cached_cons); 462 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue);
|
/linux-master/arch/sh/mm/ |
H A D | tlb-debugfs.c | 45 unsigned int nentries, entry; local 59 nentries = 4; 65 nentries = 64; 82 nentries = 4; 88 nentries = 64; 93 for (entry = 0; entry < nentries; entry++) {
|
/linux-master/arch/sparc/mm/ |
H A D | tsb.c | 22 static inline unsigned long tsb_hash(unsigned long vaddr, unsigned long hash_shift, unsigned long nentries) argument 25 return vaddr & (nentries - 1); 71 unsigned long nentries) 76 hash = tsb_hash(v, hash_shift, nentries); 84 unsigned long tsb, unsigned long nentries) 89 __flush_tsb_one_entry(tsb, tb->vaddrs[i], hash_shift, nentries); 95 unsigned long nentries, 104 nentries); 108 unsigned long tsb, unsigned long nentries, 115 nentries, hugepage_shif 69 __flush_tsb_one_entry(unsigned long tsb, unsigned long v, unsigned long hash_shift, unsigned long nentries) argument 83 __flush_tsb_one(struct tlb_batch *tb, unsigned long hash_shift, unsigned long tsb, unsigned long nentries) argument 93 __flush_huge_tsb_one_entry(unsigned long tsb, unsigned long v, unsigned long hash_shift, unsigned long nentries, unsigned int hugepage_shift) argument 107 __flush_huge_tsb_one(struct tlb_batch *tb, unsigned long hash_shift, unsigned long tsb, unsigned long nentries, unsigned int hugepage_shift) argument 122 unsigned long nentries, base, flags; local 155 unsigned long nentries, base, flags; local [all...] |
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | hw.c | 123 .nentries = __cpu_to_le32(32), 133 .nentries = __cpu_to_le32(32), 143 .nentries = __cpu_to_le32(32), 153 .nentries = __cpu_to_le32(32), 163 .nentries = __cpu_to_le32(256), 173 .nentries = __cpu_to_le32(32), 183 .nentries = __cpu_to_le32(32), 193 .nentries = __cpu_to_le32(32), 203 .nentries = __cpu_to_le32(32), 215 .nentries [all...] |
H A D | ce.h | 73 __le32 nentries; member in struct:ce_pipe_config 101 unsigned int nentries; member in struct:ath12k_ce_ring
|
H A D | ce.c | 500 params.num_entries = ce_ring->nentries; 515 params.low_threshold = ce_ring->nentries - 3; 544 ath12k_ce_alloc_ring(struct ath12k_base *ab, int nentries, int desc_sz) argument 549 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); 553 ce_ring->nentries = nentries; 554 ce_ring->nentries_mask = nentries - 1; 561 nentries * desc_sz + CE_DESC_RING_ALIGN, 585 int nentries; local 592 nentries [all...] |
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | ce.c | 714 void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries) argument 726 if (((cur_write_idx + nentries) & nentries_mask) == dest_ring->sw_index) 727 nentries -= 1; 729 write_index = CE_RING_IDX_ADD(nentries_mask, write_index, nentries); 1363 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); local 1365 nentries = roundup_pow_of_two(attr->src_nentries); 1369 nentries * sizeof(struct ce_desc_64)); 1372 nentries * sizeof(struct ce_desc)); 1384 ath10k_ce_src_ring_size_set(ar, ctrl_addr, nentries); 1388 ath10k_ce_src_ring_highmark_set(ar, ctrl_addr, nentries); 1404 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); local 1435 ath10k_ce_alloc_shadow_base(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 nentries) argument 1456 u32 nentries = attr->src_nentries; local 1514 u32 nentries = attr->src_nentries; local 1571 u32 nentries; local 1615 u32 nentries; local [all...] |
H A D | ce.h | 62 unsigned int nentries; member in struct:ath10k_ce_ring 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 in struct:ce_pipe_config
|
H A D | qmi.h | 54 __le32 nentries; member in struct:ath10k_tgt_pipe_cfg
|
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), 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 [all...] |
/linux-master/net/bridge/netfilter/ |
H A D | ebtables.c | 197 int i, nentries; local 213 cb_base = COUNTER_BASE(private->counters, private->nentries, 220 nentries = private->hook_entry[hook]->nentries; 226 while (i < nentries) { 272 nentries = chaininfo->nentries; 298 nentries = chaininfo->nentries; 478 newinfo->nentries 803 int i, chain_nr = -1, pos = 0, nentries = chain->nentries, verdict; local 987 get_counters(const struct ebt_counter *oldcounters, struct ebt_counter *counters, unsigned int nentries) argument 1514 copy_counters_to_user(struct ebt_table *t, const struct ebt_counter *oldcounters, void __user *user, unsigned int num_counters, unsigned int nentries) argument 1550 unsigned int entries_size, nentries; local 1594 compat_uint_t nentries; member in struct:compat_ebt_replace [all...] |
/linux-master/drivers/misc/sgi-xp/ |
H A D | xp_main.c | 124 * nentries - max #of XPC message entries a message queue can contain. 135 u16 nentries, u32 assigned_limit, u32 idle_limit) 140 DBUG_ON(payload_size == 0 || nentries == 0); 160 registration->nentries = nentries; 213 registration->nentries = 0; 134 xpc_connect(int ch_number, xpc_channel_func func, void *key, u16 payload_size, u16 nentries, u32 assigned_limit, u32 idle_limit) argument
|
H A D | xpc_uv.c | 1006 int nentries; local 1010 for (nentries = ch->local_nentries; nentries > 0; nentries--) { 1011 nbytes = nentries * sizeof(struct xpc_send_msg_slot_uv); 1016 for (entry = 0; entry < nentries; entry++) { 1025 if (nentries < ch->local_nentries) 1026 ch->local_nentries = nentries; 1040 int nentries; local 1044 for (nentries [all...] |
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | ce.c | 564 params.num_entries = ce_ring->nentries; 579 params.low_threshold = ce_ring->nentries - 3; 614 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) argument 619 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); 623 ce_ring->nentries = nentries; 624 ce_ring->nentries_mask = nentries - 1; 631 nentries * desc_sz + CE_DESC_RING_ALIGN, 655 int nentries; local 662 nentries [all...] |
H A D | ce.h | 87 __le32 nentries; member in struct:ce_pipe_config 128 unsigned int nentries; member in struct:ath11k_ce_ring
|
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), 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 [all...] |
/linux-master/include/uapi/linux/netfilter_bridge/ |
H A D | ebtables.h | 48 unsigned int nentries; member in struct:ebt_replace 64 unsigned int nentries; member in struct:ebt_replace_kernel 88 unsigned int nentries; member in struct:ebt_entries
|
/linux-master/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | l2t.h | 74 unsigned int nentries; /* number of entries */ member in struct:l2t_data 79 struct l2t_entry l2tab[] __counted_by(nentries);
|
H A D | l2t.c | 71 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); 227 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) 452 d->nentries = l2t_capacity;
|
/linux-master/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) {} argument 226 nvmem_del_cell_lookups(struct nvmem_cell_lookup *entries, size_t nentries) {} argument
|
/linux-master/arch/s390/pci/ |
H A D | pci_clp.c | 338 u64 *resume_token, int *nentries) 361 *nentries = (rrb->response.hdr.len - LIST_PCI_HDR_LEN) / 372 int nentries, i, rc; local 375 rc = clp_list_pci_req(rrb, &resume_token, &nentries); 378 for (i = 0; i < nentries; i++) 390 int nentries, i, rc; local 393 rc = clp_list_pci_req(rrb, &resume_token, &nentries); 397 for (i = 0; i < nentries; i++) { 337 clp_list_pci_req(struct clp_req_rsp_list_pci *rrb, u64 *resume_token, int *nentries) argument
|
/linux-master/fs/afs/ |
H A D | vlclient.c | 170 * OUT uint32_t *nentries, 177 u32 uniquifier, nentries, count; local 189 /* Extract the returned uuid, uniquifier, nentries and 199 nentries = ntohl(*bp++); 202 nentries = min(nentries, count); 203 alist = afs_alloc_addrlist(nentries); 209 call->count2 = nentries;
|
/linux-master/include/linux/netfilter_bridge/ |
H A D | ebtables.h | 82 unsigned int nentries; member in struct:ebt_table_info
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | user_sdma.h | 102 u16 nentries; member in struct:hfi1_user_sdma_comp_q
|