/linux-6.1.9/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 | 621 struct virtio_gpu_mem_entry *ents, in virtio_gpu_cmd_resource_attach_backing() argument 635 vbuf->data_buf = ents; in virtio_gpu_cmd_resource_attach_backing() 636 vbuf->data_size = sizeof(*ents) * nents; in virtio_gpu_cmd_resource_attach_backing() 1097 struct virtio_gpu_mem_entry *ents, in virtio_gpu_object_attach() argument 1101 ents, nents, NULL); in virtio_gpu_object_attach() 1239 struct virtio_gpu_mem_entry *ents, in virtio_gpu_cmd_resource_create_blob() argument 1257 vbuf->data_buf = ents; in virtio_gpu_cmd_resource_create_blob() 1258 vbuf->data_size = sizeof(*ents) * nents; in virtio_gpu_cmd_resource_create_blob()
|
D | virtgpu_drv.h | 343 struct virtio_gpu_mem_entry *ents, 416 struct virtio_gpu_mem_entry *ents,
|
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_dir2_leaf.c | 48 to->ents = from3->__ents; in xfs_dir2_leaf_hdr_from_disk() 58 to->ents = from->__ents; in xfs_dir2_leaf_hdr_from_disk() 164 (char *)&hdr->ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp)) in xfs_dir3_leaf_check_int() 173 if (be32_to_cpu(hdr->ents[i].hashval) > in xfs_dir3_leaf_check_int() 174 be32_to_cpu(hdr->ents[i + 1].hashval)) in xfs_dir3_leaf_check_int() 177 if (hdr->ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir3_leaf_check_int() 180 be32_to_cpu(hdr->ents[i].address)) >= in xfs_dir3_leaf_check_int() 445 memcpy(leafhdr.ents, blp, in xfs_dir2_block_to_leaf() 492 struct xfs_dir2_leaf_entry *ents, in xfs_dir3_leaf_find_stale() argument 501 if (ents[*lowstale].address == in xfs_dir3_leaf_find_stale() [all …]
|
D | xfs_dir2_node.c | 502 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_add() local 512 ents = leafhdr.ents; in xfs_dir2_leafn_add() 536 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add() 538 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add() 548 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add() 561 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add() 617 return be32_to_cpu(leafhdr.ents[leafhdr.count - 1].hashval); in xfs_dir2_leaf_lasthash() 676 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_addname() 824 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_entry() 1042 ents1 = hdr1.ents; in xfs_dir2_leafn_order() [all …]
|
D | xfs_dir2_priv.h | 26 struct xfs_dir2_leaf_entry *ents; member 107 struct xfs_dir2_leaf_entry *ents, int *indexp, 125 struct xfs_dir2_leaf_entry *ents, int index, int compact,
|
D | xfs_da_btree.c | 707 size = (int)((char *)&leafhdr.ents[leafhdr.count] - in xfs_da3_root_split() 2329 struct xfs_dir2_leaf_entry *ents; in xfs_da3_swap_lastblock() local 2334 ents = leafhdr.ents; in xfs_da3_swap_lastblock() 2336 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
|
D | xfs_dir2_block.c | 1033 if (leafhdr.ents[from].address == in xfs_dir2_leaf_to_block() 1036 lep[to++] = leafhdr.ents[from]; in xfs_dir2_leaf_to_block()
|
/linux-6.1.9/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 | 102 priv->ents[skcb->addr.sa].nusers) in j1939_can_recv() 105 priv->ents[skcb->addr.da].nusers) in j1939_can_recv()
|
D | j1939-priv.h | 71 } ents[256]; member
|
D | transport.c | 362 priv->ents[skcb->addr.da].nusers) in j1939_session_skb_queue() 1994 priv->ents[skcb->addr.da].nusers) in j1939_tp_send()
|
/linux-6.1.9/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.1.9/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.1.9/kernel/dma/ |
D | mapping.c | 186 int ents; in __dma_map_sg_attrs() local 195 ents = dma_direct_map_sg(dev, sg, nents, dir, attrs); in __dma_map_sg_attrs() 197 ents = ops->map_sg(dev, sg, nents, dir, attrs); in __dma_map_sg_attrs() 199 if (ents > 0) { in __dma_map_sg_attrs() 201 debug_dma_map_sg(dev, sg, nents, ents, dir, attrs); in __dma_map_sg_attrs() 202 } else if (WARN_ON_ONCE(ents != -EINVAL && ents != -ENOMEM && in __dma_map_sg_attrs() 203 ents != -EIO && ents != -EREMOTEIO)) { in __dma_map_sg_attrs() 207 return ents; in __dma_map_sg_attrs()
|
/linux-6.1.9/lib/mpi/ |
D | mpicoder.c | 441 int x, j, z, lzeros, ents; in mpi_read_raw_from_sgl() local 447 ents = sg_nents_for_len(sgl, nbytes); in mpi_read_raw_from_sgl() 448 if (ents < 0) in mpi_read_raw_from_sgl() 451 sg_miter_start(&miter, sgl, ents, SG_MITER_ATOMIC | SG_MITER_FROM_SG); in mpi_read_raw_from_sgl()
|
/linux-6.1.9/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() 586 int n, node, ents, first, last, i; in read_obp_translations() local 608 ents = n; in read_obp_translations() [all …]
|
/linux-6.1.9/include/uapi/mtd/ |
D | ubi-user.h | 410 } ents[UBI_MAX_RNVOL]; member
|
/linux-6.1.9/fs/xfs/scrub/ |
D | dir.c | 228 ent = hdr.ents + blk->index; in xchk_dir_rec() 557 if ((char *)&leafhdr.ents[leafhdr.count] > (char *)bestp) { in xchk_directory_leaf1_bestfree() 564 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_leaf1_bestfree() 568 if (leafhdr.ents[i].address == in xchk_directory_leaf1_bestfree()
|
/linux-6.1.9/drivers/crypto/caam/ |
D | caampkc.c | 202 int lzeros, ents; in caam_rsa_count_leading_zeros() local 207 ents = sg_nents_for_len(sgl, nbytes); in caam_rsa_count_leading_zeros() 208 if (ents < 0) in caam_rsa_count_leading_zeros() 209 return ents; in caam_rsa_count_leading_zeros() 211 sg_miter_start(&miter, sgl, ents, SG_MITER_FROM_SG | flags); in caam_rsa_count_leading_zeros()
|
/linux-6.1.9/drivers/media/platform/ti/omap3isp/ |
D | ispvideo.c | 959 struct media_entity *ents[] = { in isp_video_check_external_subdevs() local 978 for (i = 0; i < ARRAY_SIZE(ents); i++) { in isp_video_check_external_subdevs() 980 if (!media_entity_enum_test(&pipe->ent_enum, ents[i])) in isp_video_check_external_subdevs() 984 source_pad = media_pad_remote_pad_first(&ents[i]->pads[0]); in isp_video_check_external_subdevs() 989 sink = ents[i]; in isp_video_check_external_subdevs()
|
/linux-6.1.9/drivers/gpu/drm/qxl/ |
D | qxl_dev.h | 822 uint32_t ents[]; member
|
/linux-6.1.9/net/core/ |
D | sysctl_net_core.c | 91 sock_table->ents[i] = RPS_NO_CPU; in rps_sock_flow_sysctl()
|
/linux-6.1.9/include/linux/ |
D | netdevice.h | 739 u32 ents[] ____cacheline_aligned_in_smp; member 741 #define RPS_SOCK_FLOW_TABLE_SIZE(_num) (offsetof(struct rps_sock_flow_table, ents[_num])) 758 if (table->ents[index] != val) in rps_record_sock_flow() 759 table->ents[index] = val; in rps_record_sock_flow()
|
/linux-6.1.9/fs/proc/ |
D | base.c | 2689 const struct pid_entry *ents, unsigned int nents) in proc_pident_readdir() argument 2703 for (p = ents + (ctx->pos - 2); p < ents + nents; p++) { in proc_pident_readdir()
|