Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/virtio/
Dvirtgpu_object.c137 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 …]
Dvirtgpu_vq.c621 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()
Dvirtgpu_drv.h343 struct virtio_gpu_mem_entry *ents,
416 struct virtio_gpu_mem_entry *ents,
/linux-6.1.9/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()
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 …]
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.c707 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()
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()
/linux-6.1.9/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.c102 priv->ents[skcb->addr.sa].nusers) in j1939_can_recv()
105 priv->ents[skcb->addr.da].nusers) in j1939_can_recv()
Dj1939-priv.h71 } ents[256]; member
Dtransport.c362 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/
Dvimc-core.c72 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/
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 …]
/linux-6.1.9/kernel/dma/
Dmapping.c186 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/
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()
/linux-6.1.9/arch/sparc/mm/
Dinit_64.c115 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/
Dubi-user.h410 } ents[UBI_MAX_RNVOL]; member
/linux-6.1.9/fs/xfs/scrub/
Ddir.c228 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/
Dcaampkc.c202 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/
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_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/
Dqxl_dev.h822 uint32_t ents[]; member
/linux-6.1.9/net/core/
Dsysctl_net_core.c91 sock_table->ents[i] = RPS_NO_CPU; in rps_sock_flow_sysctl()
/linux-6.1.9/include/linux/
Dnetdevice.h739 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/
Dbase.c2689 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()

12