Home
last modified time | relevance | path

Searched refs:ents (Results 1 – 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_object.c141 struct virtio_gpu_mem_entry **ents, in virtio_gpu_object_shmem_init() argument
175 *ents = kvmalloc_array(*nents, in virtio_gpu_object_shmem_init()
178 if (!(*ents)) { in virtio_gpu_object_shmem_init()
185 (*ents)[si].addr = cpu_to_le64(sg_dma_address(sg)); in virtio_gpu_object_shmem_init()
186 (*ents)[si].length = cpu_to_le32(sg_dma_len(sg)); in virtio_gpu_object_shmem_init()
187 (*ents)[si].padding = 0; in virtio_gpu_object_shmem_init()
191 (*ents)[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_shmem_init()
192 (*ents)[si].length = cpu_to_le32(sg->length); in virtio_gpu_object_shmem_init()
193 (*ents)[si].padding = 0; in virtio_gpu_object_shmem_init()
208 struct virtio_gpu_mem_entry *ents; in virtio_gpu_object_create() local
[all …]
Dvirtgpu_vq.c626 struct virtio_gpu_mem_entry *ents, in virtio_gpu_cmd_resource_attach_backing() argument
640 vbuf->data_buf = ents; in virtio_gpu_cmd_resource_attach_backing()
641 vbuf->data_size = sizeof(*ents) * nents; in virtio_gpu_cmd_resource_attach_backing()
1093 struct virtio_gpu_mem_entry *ents, in virtio_gpu_object_attach() argument
1097 ents, nents, NULL); in virtio_gpu_object_attach()
Dvirtgpu_drv.h296 struct virtio_gpu_mem_entry *ents,
/kernel/linux/linux-5.10/net/can/j1939/
Dbus.c58 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()
Dmain.c98 priv->ents[skcb->addr.sa].nusers) in j1939_can_recv()
101 priv->ents[skcb->addr.da].nusers) in j1939_can_recv()
Dj1939-priv.h68 } ents[256]; member
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_dir2_leaf.c48 to->ents = from3->__ents; in xfs_dir2_leaf_hdr_from_disk()
58 to->ents = from->__ents; in xfs_dir2_leaf_hdr_from_disk()
162 (char *)&hdr->ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp)) in xfs_dir3_leaf_check_int()
168 if (be32_to_cpu(hdr->ents[i].hashval) > in xfs_dir3_leaf_check_int()
169 be32_to_cpu(hdr->ents[i + 1].hashval)) in xfs_dir3_leaf_check_int()
172 if (hdr->ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir3_leaf_check_int()
436 memcpy(leafhdr.ents, blp, in xfs_dir2_block_to_leaf()
483 struct xfs_dir2_leaf_entry *ents, in xfs_dir3_leaf_find_stale() argument
492 if (ents[*lowstale].address == in xfs_dir3_leaf_find_stale()
503 if (ents[*highstale].address == in xfs_dir3_leaf_find_stale()
[all …]
Dxfs_dir2_node.c502 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 …]
Dxfs_dir2_priv.h26 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,
Dxfs_da_btree.c692 size = (int)((char *)&leafhdr.ents[leafhdr.count] - in xfs_da3_root_split()
2317 struct xfs_dir2_leaf_entry *ents; in xfs_da3_swap_lastblock() local
2322 ents = leafhdr.ents; in xfs_da3_swap_lastblock()
2324 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
Dxfs_dir2_block.c1033 if (leafhdr.ents[from].address == in xfs_dir2_leaf_to_block()
1036 lep[to++] = leafhdr.ents[from]; in xfs_dir2_leaf_to_block()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
Dvimc-core.c39 const struct vimc_ent_config *ents; member
109 .ents = ent_config,
159 vimc->pipe_cfg->ents[i].type->release(vimc->ent_devs[i]); in vimc_release_subdevs()
167 if (vimc->ent_devs[i] && vimc->pipe_cfg->ents[i].type->unregister) in vimc_unregister_subdevs()
168 vimc->pipe_cfg->ents[i].type->unregister(vimc->ent_devs[i]); in vimc_unregister_subdevs()
177 vimc->pipe_cfg->ents[i].name); in vimc_add_subdevs()
178 vimc->ent_devs[i] = vimc->pipe_cfg->ents[i].type->add(vimc, in vimc_add_subdevs()
179 vimc->pipe_cfg->ents[i].name); in vimc_add_subdevs()
184 vimc->pipe_cfg->ents[i].name, err); in vimc_add_subdevs()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dcdev.c694 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 …]
/kernel/linux/linux-5.10/kernel/dma/
Dmapping.c184 int ents; in dma_map_sg_attrs() local
192 ents = dma_direct_map_sg(dev, sg, nents, dir, attrs); in dma_map_sg_attrs()
194 ents = ops->map_sg(dev, sg, nents, dir, attrs); in dma_map_sg_attrs()
195 BUG_ON(ents < 0); in dma_map_sg_attrs()
196 debug_dma_map_sg(dev, sg, nents, ents, dir); in dma_map_sg_attrs()
198 return ents; in dma_map_sg_attrs()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dinit_64.c114 int ents, ret, i; in read_obp_memory() local
116 ents = prop_size / sizeof(struct linux_prom64_registers); in read_obp_memory()
117 if (ents > MAX_BANKS) { in read_obp_memory()
134 for (i = 0; i < ents; i++) { in read_obp_memory()
155 (ents - i - 1) * sizeof(regs[0])); in read_obp_memory()
157 ents--; in read_obp_memory()
164 *num_ents = ents; in read_obp_memory()
166 sort(regs, ents, sizeof(struct linux_prom64_registers), in read_obp_memory()
585 int n, node, ents, first, last, i; in read_obp_translations() local
607 ents = n; in read_obp_translations()
[all …]
/kernel/linux/linux-5.10/lib/mpi/
Dmpicoder.c441 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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/mtd/
Dubi-user.h73 } ents[UBI_MAX_RNVOL]; member
/kernel/linux/linux-5.10/include/uapi/mtd/
Dubi-user.h404 } ents[UBI_MAX_RNVOL]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/mtd/
Dubi-user.h87 } ents[UBI_MAX_RNVOL]; member
/kernel/linux/linux-5.10/fs/xfs/scrub/
Ddir.c214 ent = hdr.ents + blk->index; in xchk_dir_rec()
538 if ((char *)&leafhdr.ents[leafhdr.count] > (char *)bestp) { in xchk_directory_leaf1_bestfree()
545 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_leaf1_bestfree()
549 if (leafhdr.ents[i].address == in xchk_directory_leaf1_bestfree()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaampkc.c201 int lzeros, ents; in caam_rsa_count_leading_zeros() local
206 ents = sg_nents_for_len(sgl, nbytes); in caam_rsa_count_leading_zeros()
207 if (ents < 0) in caam_rsa_count_leading_zeros()
208 return ents; in caam_rsa_count_leading_zeros()
210 sg_miter_start(&miter, sgl, ents, SG_MITER_FROM_SG | flags); in caam_rsa_count_leading_zeros()
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Dispvideo.c959 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_entity_remote_pad(&ents[i]->pads[0]); in isp_video_check_external_subdevs()
989 sink = ents[i]; in isp_video_check_external_subdevs()
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_dev.h822 uint32_t ents[0]; member
/kernel/linux/linux-5.10/net/core/
Dsysctl_net_core.c91 sock_table->ents[i] = RPS_NO_CPU; in rps_sock_flow_sysctl()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h726 u32 ents[] ____cacheline_aligned_in_smp; member
728 #define RPS_SOCK_FLOW_TABLE_SIZE(_num) (offsetof(struct rps_sock_flow_table, ents[_num]))
745 if (table->ents[index] != val) in rps_record_sock_flow()
746 table->ents[index] = val; in rps_record_sock_flow()

12