/linux-6.12.1/drivers/gpu/drm/virtio/ |
D | virtgpu_object.c | 137 struct virtio_gpu_mem_entry **ents, in virtio_gpu_object_shmem_init() argument 154 *ents = kvmalloc_array(*nents, in virtio_gpu_object_shmem_init() 157 if (!(*ents)) { in virtio_gpu_object_shmem_init() 164 (*ents)[si].addr = cpu_to_le64(sg_dma_address(sg)); in virtio_gpu_object_shmem_init() 165 (*ents)[si].length = cpu_to_le32(sg_dma_len(sg)); in virtio_gpu_object_shmem_init() 166 (*ents)[si].padding = 0; in virtio_gpu_object_shmem_init() 170 (*ents)[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_shmem_init() 171 (*ents)[si].length = cpu_to_le32(sg->length); in virtio_gpu_object_shmem_init() 172 (*ents)[si].padding = 0; in virtio_gpu_object_shmem_init() 187 struct virtio_gpu_mem_entry *ents = NULL; in virtio_gpu_object_create() local [all …]
|
D | virtgpu_vq.c | 628 struct virtio_gpu_mem_entry *ents, in virtio_gpu_cmd_resource_attach_backing() argument 642 vbuf->data_buf = ents; in virtio_gpu_cmd_resource_attach_backing() 643 vbuf->data_size = sizeof(*ents) * nents; in virtio_gpu_cmd_resource_attach_backing() 1103 struct virtio_gpu_mem_entry *ents, in virtio_gpu_object_attach() argument 1107 ents, nents, NULL); in virtio_gpu_object_attach() 1245 struct virtio_gpu_mem_entry *ents, in virtio_gpu_cmd_resource_create_blob() argument 1263 vbuf->data_buf = ents; in virtio_gpu_cmd_resource_create_blob() 1264 vbuf->data_size = sizeof(*ents) * nents; in virtio_gpu_cmd_resource_create_blob()
|
D | virtgpu_drv.h | 350 struct virtio_gpu_mem_entry *ents, 418 struct virtio_gpu_mem_entry *ents,
|
/linux-6.12.1/arch/riscv/kvm/ |
D | vm.c | 94 struct kvm_irq_routing_entry *ents; in kvm_riscv_setup_default_irq_routing() local 97 ents = kcalloc(lines, sizeof(*ents), GFP_KERNEL); in kvm_riscv_setup_default_irq_routing() 98 if (!ents) in kvm_riscv_setup_default_irq_routing() 102 ents[i].gsi = i; in kvm_riscv_setup_default_irq_routing() 103 ents[i].type = KVM_IRQ_ROUTING_IRQCHIP; in kvm_riscv_setup_default_irq_routing() 104 ents[i].u.irqchip.irqchip = 0; in kvm_riscv_setup_default_irq_routing() 105 ents[i].u.irqchip.pin = i; in kvm_riscv_setup_default_irq_routing() 107 rc = kvm_set_irq_routing(kvm, ents, lines, 0); in kvm_riscv_setup_default_irq_routing() 108 kfree(ents); in kvm_riscv_setup_default_irq_routing()
|
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_dir2_leaf.c | 49 to->ents = from3->__ents; in xfs_dir2_leaf_hdr_from_disk() 59 to->ents = from->__ents; in xfs_dir2_leaf_hdr_from_disk() 165 (char *)&hdr->ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp)) in xfs_dir3_leaf_check_int() 174 if (be32_to_cpu(hdr->ents[i].hashval) > in xfs_dir3_leaf_check_int() 175 be32_to_cpu(hdr->ents[i + 1].hashval)) in xfs_dir3_leaf_check_int() 178 if (hdr->ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir3_leaf_check_int() 181 be32_to_cpu(hdr->ents[i].address)) >= in xfs_dir3_leaf_check_int() 496 memcpy(leafhdr.ents, blp, in xfs_dir2_block_to_leaf() 543 struct xfs_dir2_leaf_entry *ents, in xfs_dir3_leaf_find_stale() argument 552 if (ents[*lowstale].address == in xfs_dir3_leaf_find_stale() [all …]
|
D | xfs_dir2_node.c | 509 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_add() local 519 ents = leafhdr.ents; in xfs_dir2_leafn_add() 544 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add() 546 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add() 556 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add() 569 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add() 625 return be32_to_cpu(leafhdr.ents[leafhdr.count - 1].hashval); in xfs_dir2_leaf_lasthash() 684 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_addname() 834 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_entry() 1052 ents1 = hdr1.ents; in xfs_dir2_leafn_order() [all …]
|
D | xfs_dir2_priv.h | 26 struct xfs_dir2_leaf_entry *ents; member 108 struct xfs_dir2_leaf_entry *ents, int *indexp, 126 struct xfs_dir2_leaf_entry *ents, int index, int compact,
|
D | xfs_da_btree.c | 775 size = (int)((char *)&leafhdr.ents[leafhdr.count] - in xfs_da3_root_split() 2472 struct xfs_dir2_leaf_entry *ents; in xfs_da3_swap_lastblock() local 2477 ents = leafhdr.ents; in xfs_da3_swap_lastblock() 2479 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
|
D | xfs_dir2_block.c | 1041 if (leafhdr.ents[from].address == in xfs_dir2_leaf_to_block() 1044 lep[to++] = leafhdr.ents[from]; in xfs_dir2_leaf_to_block()
|
/linux-6.12.1/net/can/j1939/ |
D | bus.c | 58 ent = &priv->ents[ecu->addr]; in j1939_ecu_map_locked() 85 ent = &priv->ents[ecu->addr]; in j1939_ecu_unmap_locked() 103 for (i = 0; i < ARRAY_SIZE(priv->ents); i++) in j1939_ecu_unmap_all() 104 if (priv->ents[i].ecu) in j1939_ecu_unmap_all() 105 j1939_ecu_unmap_locked(priv->ents[i].ecu); in j1939_ecu_unmap_all() 177 return priv->ents[addr].ecu; in j1939_ecu_find_by_addr_locked() 284 priv->ents[sa].nusers++; in j1939_local_ecu_get() 300 priv->ents[ecu->addr].nusers++; in j1939_local_ecu_get() 315 priv->ents[sa].nusers--; in j1939_local_ecu_put() 328 priv->ents[ecu->addr].nusers--; in j1939_local_ecu_put()
|
D | main.c | 98 priv->ents[skcb->addr.sa].nusers) in j1939_can_recv() 101 priv->ents[skcb->addr.da].nusers) in j1939_can_recv()
|
D | j1939-priv.h | 71 } ents[256]; member
|
/linux-6.12.1/include/net/ |
D | rps.h | 62 u32 ents[] ____cacheline_aligned_in_smp; member 64 #define RPS_SOCK_FLOW_TABLE_SIZE(_num) (offsetof(struct rps_sock_flow_table, ents[_num])) 80 if (READ_ONCE(table->ents[index]) != val) in rps_record_sock_flow() 81 WRITE_ONCE(table->ents[index], val); in rps_record_sock_flow()
|
/linux-6.12.1/drivers/media/test-drivers/vimc/ |
D | vimc-core.c | 72 const struct vimc_ent_config *ents; member 164 .ents = ent_config, 232 vimc->pipe_cfg->ents[i].type->release(vimc->ent_devs[i]); in vimc_release_subdevs() 240 if (vimc->ent_devs[i] && vimc->pipe_cfg->ents[i].type->unregister) in vimc_unregister_subdevs() 241 vimc->pipe_cfg->ents[i].type->unregister(vimc->ent_devs[i]); in vimc_unregister_subdevs() 250 vimc->pipe_cfg->ents[i].name); in vimc_add_subdevs() 251 vimc->ent_devs[i] = vimc->pipe_cfg->ents[i].type->add(vimc, in vimc_add_subdevs() 252 vimc->pipe_cfg->ents[i].name); in vimc_add_subdevs() 257 vimc->pipe_cfg->ents[i].name, err); in vimc_add_subdevs()
|
/linux-6.12.1/drivers/mtd/ubi/ |
D | cdev.c | 694 if (req->ents[i].vol_id < 0 || in rename_volumes() 695 req->ents[i].vol_id >= ubi->vtbl_slots) in rename_volumes() 697 if (req->ents[i].name_len < 0) in rename_volumes() 699 if (req->ents[i].name_len > UBI_VOL_NAME_MAX) in rename_volumes() 701 req->ents[i].name[req->ents[i].name_len] = '\0'; in rename_volumes() 702 n = strlen(req->ents[i].name); in rename_volumes() 703 if (n != req->ents[i].name_len) in rename_volumes() 710 if (req->ents[i].vol_id == req->ents[n].vol_id) { in rename_volumes() 712 req->ents[i].vol_id); in rename_volumes() 715 if (!strcmp(req->ents[i].name, req->ents[n].name)) { in rename_volumes() [all …]
|
/linux-6.12.1/drivers/media/platform/st/stm32/stm32-dcmipp/ |
D | dcmipp-core.c | 86 const struct dcmipp_ent_config *ents; member 126 .ents = stm32mp13_ent_config, 155 dcmipp->pipe_cfg->ents[link->src_ent].name, in dcmipp_create_links() 157 dcmipp->pipe_cfg->ents[link->sink_ent].name, in dcmipp_create_links() 178 const char *name = dcmipp->pipe_cfg->ents[i].name; in dcmipp_create_subdevs() 182 dcmipp->pipe_cfg->ents[i].init(dcmipp->dev, name, in dcmipp_create_subdevs() 206 dcmipp->pipe_cfg->ents[i].release(dcmipp->entity[i]); in dcmipp_create_subdevs() 528 dcmipp->pipe_cfg->ents[i].release(dcmipp->entity[i]); in dcmipp_remove()
|
/linux-6.12.1/kernel/dma/ |
D | mapping.c | 205 int ents; in __dma_map_sg_attrs() local 214 ents = dma_direct_map_sg(dev, sg, nents, dir, attrs); in __dma_map_sg_attrs() 216 ents = iommu_dma_map_sg(dev, sg, nents, dir, attrs); in __dma_map_sg_attrs() 218 ents = ops->map_sg(dev, sg, nents, dir, attrs); in __dma_map_sg_attrs() 220 if (ents > 0) { in __dma_map_sg_attrs() 222 trace_dma_map_sg(dev, sg, nents, ents, dir, attrs); in __dma_map_sg_attrs() 223 debug_dma_map_sg(dev, sg, nents, ents, dir, attrs); in __dma_map_sg_attrs() 224 } else if (WARN_ON_ONCE(ents != -EINVAL && ents != -ENOMEM && in __dma_map_sg_attrs() 225 ents != -EIO && ents != -EREMOTEIO)) { in __dma_map_sg_attrs() 229 return ents; in __dma_map_sg_attrs()
|
/linux-6.12.1/include/trace/events/ |
D | dma.h | 180 int ents, enum dma_data_direction dir, unsigned long attrs), 181 TP_ARGS(dev, sgl, nents, ents, dir, attrs), 186 __dynamic_array(u64, dma_addrs, ents) 187 __dynamic_array(unsigned int, lengths, ents) 199 for_each_sg(sgl, sg, ents, i) {
|
/linux-6.12.1/lib/crypto/mpi/ |
D | mpicoder.c | 334 int x, j, z, lzeros, ents; in mpi_read_raw_from_sgl() local 340 ents = sg_nents_for_len(sgl, nbytes); in mpi_read_raw_from_sgl() 341 if (ents < 0) in mpi_read_raw_from_sgl() 344 sg_miter_start(&miter, sgl, ents, SG_MITER_ATOMIC | SG_MITER_FROM_SG); in mpi_read_raw_from_sgl()
|
/linux-6.12.1/arch/sparc/mm/ |
D | init_64.c | 115 int ents, ret, i; in read_obp_memory() local 117 ents = prop_size / sizeof(struct linux_prom64_registers); in read_obp_memory() 118 if (ents > MAX_BANKS) { in read_obp_memory() 135 for (i = 0; i < ents; i++) { in read_obp_memory() 156 (ents - i - 1) * sizeof(regs[0])); in read_obp_memory() 158 ents--; in read_obp_memory() 165 *num_ents = ents; in read_obp_memory() 167 sort(regs, ents, sizeof(struct linux_prom64_registers), in read_obp_memory() 600 int n, node, ents, first, last, i; in read_obp_translations() local 622 ents = n; in read_obp_translations() [all …]
|
/linux-6.12.1/include/uapi/mtd/ |
D | ubi-user.h | 412 } ents[UBI_MAX_RNVOL]; member
|
/linux-6.12.1/drivers/crypto/caam/ |
D | caampkc.c | 208 int lzeros, ents; in caam_rsa_count_leading_zeros() local 213 ents = sg_nents_for_len(sgl, nbytes); in caam_rsa_count_leading_zeros() 214 if (ents < 0) in caam_rsa_count_leading_zeros() 215 return ents; in caam_rsa_count_leading_zeros() 217 sg_miter_start(&miter, sgl, ents, SG_MITER_FROM_SG | flags); in caam_rsa_count_leading_zeros()
|
/linux-6.12.1/drivers/media/platform/ti/omap3isp/ |
D | ispvideo.c | 954 struct media_entity *ents[] = { in isp_video_check_external_subdevs() local 975 for (i = 0; i < ARRAY_SIZE(ents); i++) { in isp_video_check_external_subdevs() 977 if (!media_entity_enum_test(&pipe->ent_enum, ents[i])) in isp_video_check_external_subdevs() 981 source_pad = media_pad_remote_pad_first(&ents[i]->pads[0]); in isp_video_check_external_subdevs() 986 sink = ents[i]; in isp_video_check_external_subdevs()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | dir.c | 337 ent = hdr.ents + blk->index; in xchk_dir_rec() 671 if ((char *)&leafhdr.ents[leafhdr.count] > (char *)bestp) { in xchk_directory_leaf1_bestfree() 678 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_leaf1_bestfree() 682 if (leafhdr.ents[i].address == in xchk_directory_leaf1_bestfree()
|
/linux-6.12.1/drivers/gpu/drm/qxl/ |
D | qxl_dev.h | 822 uint32_t ents[]; member
|