/Linux-v4.19/net/xdp/ |
D | xsk_queue.c | 20 return sizeof(struct xdp_umem_ring) + q->nentries * sizeof(u64); in xskq_umem_get_ring_size() 25 return sizeof(struct xdp_ring) + q->nentries * sizeof(struct xdp_desc); in xskq_rxtx_get_ring_size() 28 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue) in xskq_create() argument 38 q->nentries = nentries; in xskq_create() 39 q->ring_mask = nentries - 1; in xskq_create()
|
D | xsk_queue.h | 36 u32 nentries; member 67 u32 free_entries = q->nentries - (producer - q->cons_tail); in xskq_nb_free() 74 return q->nentries - (producer - q->cons_tail); in xskq_nb_free() 248 return xskq_nb_avail(q, q->nentries) == q->nentries; in xskq_full_desc() 253 return xskq_nb_free(q, q->prod_tail, q->nentries) == q->nentries; in xskq_empty_desc() 257 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue);
|
/Linux-v4.19/arch/sparc/mm/ |
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-v4.19/net/bridge/netfilter/ |
D | ebtables.c | 192 int i, nentries; in ebt_do_table() local 208 cb_base = COUNTER_BASE(private->counters, private->nentries, in ebt_do_table() 215 nentries = private->hook_entry[hook]->nentries; in ebt_do_table() 221 while (i < nentries) { in ebt_do_table() 267 nentries = chaininfo->nentries; in ebt_do_table() 293 nentries = chaininfo->nentries; in ebt_do_table() 447 newinfo->nentries = repl->nentries; in ebt_verify_pointers() 546 *n = ((struct ebt_entries *)e)->nentries; in ebt_check_entry_size_and_hooks() 791 int i, chain_nr = -1, pos = 0, nentries = chain->nentries, verdict; in check_chainloops() local 795 while (pos < nentries || chain_nr != -1) { in check_chainloops() [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 746 void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries) in ath10k_ce_rx_update_write_idx() argument 758 if (((cur_write_idx + nentries) & nentries_mask) == dest_ring->sw_index) in ath10k_ce_rx_update_write_idx() 759 nentries -= 1; in ath10k_ce_rx_update_write_idx() 761 write_index = CE_RING_IDX_ADD(nentries_mask, write_index, nentries); in ath10k_ce_rx_update_write_idx() 1320 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_init_src_ring() local 1322 nentries = roundup_pow_of_two(attr->src_nentries); in ath10k_ce_init_src_ring() 1326 nentries * sizeof(struct ce_desc_64)); in ath10k_ce_init_src_ring() 1329 nentries * sizeof(struct ce_desc)); in ath10k_ce_init_src_ring() 1341 ath10k_ce_src_ring_size_set(ar, ctrl_addr, nentries); in ath10k_ce_init_src_ring() 1345 ath10k_ce_src_ring_highmark_set(ar, ctrl_addr, nentries); in ath10k_ce_init_src_ring() [all …]
|
D | ce.h | 73 unsigned int nentries; member 209 void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries); 398 __le32 nentries; member
|
D | pci.c | 241 .nentries = __cpu_to_le32(32), 251 .nentries = __cpu_to_le32(32), 261 .nentries = __cpu_to_le32(64), 271 .nentries = __cpu_to_le32(32), 281 .nentries = __cpu_to_le32(256), 293 .nentries = __cpu_to_le32(32), 303 .nentries = __cpu_to_le32(32), 313 .nentries = __cpu_to_le32(0), 323 .nentries = __cpu_to_le32(64), 333 .nentries = __cpu_to_le32(32), [all …]
|
/Linux-v4.19/arch/sh/mm/ |
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-v4.19/drivers/misc/sgi-xp/ |
D | xp_main.c | 134 u16 nentries, u32 assigned_limit, u32 idle_limit) in xpc_connect() argument 139 DBUG_ON(payload_size == 0 || nentries == 0); in xpc_connect() 159 registration->nentries = nentries; in xpc_connect() 212 registration->nentries = 0; in xpc_disconnect()
|
D | xpc_uv.c | 1087 int nentries; in xpc_allocate_send_msg_slot_uv() local 1091 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_send_msg_slot_uv() 1092 nbytes = nentries * sizeof(struct xpc_send_msg_slot_uv); in xpc_allocate_send_msg_slot_uv() 1097 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_send_msg_slot_uv() 1106 if (nentries < ch->local_nentries) in xpc_allocate_send_msg_slot_uv() 1107 ch->local_nentries = nentries; in xpc_allocate_send_msg_slot_uv() 1121 int nentries; in xpc_allocate_recv_msg_slot_uv() local 1125 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_recv_msg_slot_uv() 1126 nbytes = nentries * ch->entry_size; in xpc_allocate_recv_msg_slot_uv() 1131 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_recv_msg_slot_uv() [all …]
|
D | xpc_sn2.c | 1562 int nentries; in xpc_allocate_local_msgqueue_sn2() local 1565 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_local_msgqueue_sn2() 1567 nbytes = nentries * ch->entry_size; in xpc_allocate_local_msgqueue_sn2() 1574 nbytes = nentries * sizeof(struct xpc_notify_sn2); in xpc_allocate_local_msgqueue_sn2() 1583 if (nentries < ch->local_nentries) { in xpc_allocate_local_msgqueue_sn2() 1585 "partid=%d, channel=%d\n", nentries, in xpc_allocate_local_msgqueue_sn2() 1588 ch->local_nentries = nentries; in xpc_allocate_local_msgqueue_sn2() 1607 int nentries; in xpc_allocate_remote_msgqueue_sn2() local 1612 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_remote_msgqueue_sn2() 1614 nbytes = nentries * ch->entry_size; in xpc_allocate_remote_msgqueue_sn2() [all …]
|
/Linux-v4.19/drivers/isdn/hardware/eicon/ |
D | diva_dma.c | 41 struct _diva_dma_map_entry *diva_alloc_dma_map(void *os_context, int nentries) { in diva_alloc_dma_map() argument 42 diva_dma_map_entry_t *pmap = diva_os_malloc(0, sizeof(*pmap) * (nentries + 1)); in diva_alloc_dma_map() 44 memset(pmap, 0, sizeof(*pmap) * (nentries + 1)); in diva_alloc_dma_map()
|
D | diva_dma.h | 29 struct _diva_dma_map_entry *diva_alloc_dma_map(void *os_context, int nentries); 44 int nentries);
|
D | divasmain.c | 349 struct _diva_dma_map_entry **ppmap, int nentries) in diva_init_dma_map() argument 353 diva_alloc_dma_map(hdev, nentries); in diva_init_dma_map() 361 for (i = 0; i < nentries; i++) { in diva_init_dma_map()
|
/Linux-v4.19/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 48 unsigned int nentries; member 64 unsigned int nentries; member 88 unsigned int nentries; member
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | odp.c | 116 size_t nentries, struct mlx5_ib_mr *mr, int flags) in mlx5_odp_populate_klm() argument 126 for (i = 0; i < nentries; i++, pklm++) { in mlx5_odp_populate_klm() 135 nentries * MLX5_IMR_MTT_SIZE, mr); in mlx5_odp_populate_klm() 137 for (i = 0; i < nentries; i++, pklm++) { in mlx5_odp_populate_klm() 373 int nentries = 0, start_idx = 0, ret; in implicit_mr_get_data() local 385 if (nentries) in implicit_mr_get_data() 386 nentries++; in implicit_mr_get_data() 408 if (!nentries) in implicit_mr_get_data() 410 nentries++; in implicit_mr_get_data() 425 if (unlikely(nentries)) { in implicit_mr_get_data() [all …]
|
/Linux-v4.19/fs/afs/ |
D | vlclient.c | 187 u32 uniquifier, nentries, count; in afs_deliver_vl_get_addrs_u() local 208 nentries = ntohl(*bp++); in afs_deliver_vl_get_addrs_u() 211 nentries = min(nentries, count); in afs_deliver_vl_get_addrs_u() 212 alist = afs_alloc_addrlist(nentries, FS_SERVICE, AFS_FS_PORT); in afs_deliver_vl_get_addrs_u() 218 call->count2 = nentries; in afs_deliver_vl_get_addrs_u()
|
/Linux-v4.19/arch/mips/include/asm/netlogic/xlp-hal/ |
D | xlp.h | 93 int nlm_get_dram_map(int node, uint64_t *dram_map, int nentries);
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
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()
|
D | l2t.h | 74 unsigned int nentries; /* number of entries */ member
|
/Linux-v4.19/drivers/thunderbolt/ |
D | property.c | 168 size_t i, content_len, nentries; in __tb_property_parse_dir() local 187 nentries = content_len / (sizeof(*entries) / 4); in __tb_property_parse_dir() 191 for (i = 0; i < nentries; i++) { in __tb_property_parse_dir()
|
/Linux-v4.19/drivers/memory/ |
D | atmel-ebi.c | 303 int ret, numcs = 0, nentries, i; in atmel_ebi_dev_setup() local 307 nentries = of_property_count_elems_of_size(np, "reg", in atmel_ebi_dev_setup() 309 for (i = 0; i < nentries; i++) { in atmel_ebi_dev_setup()
|
/Linux-v4.19/arch/mips/netlogic/xlp/ |
D | nlm_hal.c | 466 int nlm_get_dram_map(int node, uint64_t *dram_map, int nentries) in nlm_get_dram_map() argument 477 if (rv + 1 >= nentries) in nlm_get_dram_map()
|
/Linux-v4.19/include/linux/netfilter_bridge/ |
D | ebtables.h | 82 unsigned int nentries; member
|
/Linux-v4.19/arch/ia64/kernel/ |
D | acpi.c | 86 u64 i, nentries; in acpi_get_sysname() local 122 nentries = (hdr->length - sizeof(*hdr)) / in acpi_get_sysname() 124 for (i = 0; i < nentries; i++) { in acpi_get_sysname()
|