Home
last modified time | relevance | path

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

/Linux-v4.19/fs/xfs/libxfs/
Dxfs_dir2_leaf.c87 struct xfs_dir2_leaf_entry *ents; in xfs_dir3_leaf_check_int() local
106 ents = ops->leaf_ents_p(leaf); in xfs_dir3_leaf_check_int()
120 (char *)&ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp)) in xfs_dir3_leaf_check_int()
126 if (be32_to_cpu(ents[i].hashval) > in xfs_dir3_leaf_check_int()
127 be32_to_cpu(ents[i + 1].hashval)) in xfs_dir3_leaf_check_int()
130 if (ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir3_leaf_check_int()
410 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_block_to_leaf() local
440 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_block_to_leaf()
455 memcpy(ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf()
501 struct xfs_dir2_leaf_entry *ents, in xfs_dir3_leaf_find_stale() argument
[all …]
Dxfs_dir2_node.c441 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_add() local
448 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_add()
470 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
472 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
482 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add()
495 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
540 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leaf_lasthash() local
555 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leaf_lasthash()
556 return be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_dir2_leaf_lasthash()
585 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_lookup_for_addname() local
[all …]
Dxfs_dir2_priv.h60 struct xfs_dir2_leaf_entry *ents, int *indexp,
77 struct xfs_dir2_leaf_entry *ents, int index, int compact,
Dxfs_dir2_block.c920 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leaf_to_block() local
930 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leaf_to_block()
1010 if (ents[from].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir2_leaf_to_block()
1012 lep[to++] = ents[from]; in xfs_dir2_leaf_to_block()
Dxfs_da_btree.c574 struct xfs_dir2_leaf_entry *ents; in xfs_da3_root_split() local
578 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_da3_root_split()
582 size = (int)((char *)&ents[leafhdr.count] - (char *)leaf); in xfs_da3_root_split()
2222 struct xfs_dir2_leaf_entry *ents; in xfs_da3_swap_lastblock() local
2226 ents = dp->d_ops->leaf_ents_p(dead_leaf2); in xfs_da3_swap_lastblock()
2228 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
/Linux-v4.19/drivers/mtd/ubi/
Dcdev.c707 if (req->ents[i].vol_id < 0 || in rename_volumes()
708 req->ents[i].vol_id >= ubi->vtbl_slots) in rename_volumes()
710 if (req->ents[i].name_len < 0) in rename_volumes()
712 if (req->ents[i].name_len > UBI_VOL_NAME_MAX) in rename_volumes()
714 req->ents[i].name[req->ents[i].name_len] = '\0'; in rename_volumes()
715 n = strlen(req->ents[i].name); in rename_volumes()
716 if (n != req->ents[i].name_len) in rename_volumes()
723 if (req->ents[i].vol_id == req->ents[n].vol_id) { in rename_volumes()
725 req->ents[i].vol_id); in rename_volumes()
728 if (!strcmp(req->ents[i].name, req->ents[n].name)) { in rename_volumes()
[all …]
/Linux-v4.19/drivers/media/platform/vimc/
Dvimc-core.c72 const struct vimc_ent_config *ents; member
142 .ents = ent_config,
260 vimc->pipe_cfg->ents[i].drv); in vimc_add_subdevs()
262 strlcpy(pdata.entity_name, vimc->pipe_cfg->ents[i].name, in vimc_add_subdevs()
266 vimc->pipe_cfg->ents[i].drv, in vimc_add_subdevs()
279 (void *)vimc->pipe_cfg->ents[i].name); in vimc_add_subdevs()
/Linux-v4.19/fs/xfs/scrub/
Ddabtree.c95 char *ents; in xchk_da_btree_entry() local
105 ents = (char *)xfs_attr3_leaf_entryp(baddr); in xchk_da_btree_entry()
106 return ents + (rec * sizeof(struct xfs_attr_leaf_entry)); in xchk_da_btree_entry()
109 ents = (char *)ds->dargs.dp->d_ops->leaf_ents_p(baddr); in xchk_da_btree_entry()
110 return ents + (rec * sizeof(struct xfs_dir2_leaf_entry)); in xchk_da_btree_entry()
113 ents = (char *)ds->dargs.dp->d_ops->leaf_ents_p(baddr); in xchk_da_btree_entry()
114 return ents + (rec * sizeof(struct xfs_dir2_leaf_entry)); in xchk_da_btree_entry()
117 ents = (char *)ds->dargs.dp->d_ops->node_tree_p(baddr); in xchk_da_btree_entry()
118 return ents + (rec * sizeof(struct xfs_da_node_entry)); in xchk_da_btree_entry()
Ddir.c482 struct xfs_dir2_leaf_entry *ents; in xchk_directory_leaf1_bestfree() local
506 ents = d_ops->leaf_ents_p(leaf); in xchk_directory_leaf1_bestfree()
534 if ((char *)&ents[leafhdr.count] > (char *)bestp) { in xchk_directory_leaf1_bestfree()
541 hash = be32_to_cpu(ents[i].hashval); in xchk_directory_leaf1_bestfree()
545 if (ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xchk_directory_leaf1_bestfree()
/Linux-v4.19/lib/mpi/
Dmpicoder.c334 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-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c510 struct virtio_gpu_mem_entry *ents, in virtio_gpu_cmd_resource_attach_backing() argument
524 vbuf->data_buf = ents; in virtio_gpu_cmd_resource_attach_backing()
525 vbuf->data_size = sizeof(*ents) * nents; in virtio_gpu_cmd_resource_attach_backing()
851 struct virtio_gpu_mem_entry *ents; in virtio_gpu_object_attach() local
864 ents = kmalloc_array(obj->pages->nents, in virtio_gpu_object_attach()
867 if (!ents) { in virtio_gpu_object_attach()
873 ents[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_attach()
874 ents[si].length = cpu_to_le32(sg->length); in virtio_gpu_object_attach()
875 ents[si].padding = 0; in virtio_gpu_object_attach()
879 ents, obj->pages->nents, in virtio_gpu_object_attach()
/Linux-v4.19/arch/sparc/mm/
Dinit_64.c116 int ents, ret, i; in read_obp_memory() local
118 ents = prop_size / sizeof(struct linux_prom64_registers); in read_obp_memory()
119 if (ents > MAX_BANKS) { in read_obp_memory()
136 for (i = 0; i < ents; i++) { in read_obp_memory()
157 (ents - i - 1) * sizeof(regs[0])); in read_obp_memory()
159 ents--; in read_obp_memory()
166 *num_ents = ents; in read_obp_memory()
168 sort(regs, ents, sizeof(struct linux_prom64_registers), in read_obp_memory()
615 int n, node, ents, first, last, i; in read_obp_translations() local
637 ents = n; in read_obp_translations()
[all …]
/Linux-v4.19/include/linux/
Ddma-mapping.h266 int ents; in dma_map_sg_attrs() local
269 ents = ops->map_sg(dev, sg, nents, dir, attrs); in dma_map_sg_attrs()
270 BUG_ON(ents < 0); in dma_map_sg_attrs()
271 debug_dma_map_sg(dev, sg, nents, ents, dir); in dma_map_sg_attrs()
273 return ents; in dma_map_sg_attrs()
Dnetdevice.h676 u32 ents[0] ____cacheline_aligned_in_smp; member
678 #define RPS_SOCK_FLOW_TABLE_SIZE(_num) (offsetof(struct rps_sock_flow_table, ents[_num]))
695 if (table->ents[index] != val) in rps_record_sock_flow()
696 table->ents[index] = val; in rps_record_sock_flow()
/Linux-v4.19/include/uapi/mtd/
Dubi-user.h399 } ents[UBI_MAX_RNVOL]; member
/Linux-v4.19/drivers/crypto/caam/
Dcaampkc.c174 int lzeros, ents; in caam_rsa_count_leading_zeros() local
179 ents = sg_nents_for_len(sgl, nbytes); in caam_rsa_count_leading_zeros()
180 if (ents < 0) in caam_rsa_count_leading_zeros()
181 return ents; in caam_rsa_count_leading_zeros()
183 sg_miter_start(&miter, sgl, ents, SG_MITER_FROM_SG | flags); in caam_rsa_count_leading_zeros()
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispvideo.c967 struct media_entity *ents[] = { in isp_video_check_external_subdevs() local
986 for (i = 0; i < ARRAY_SIZE(ents); i++) { in isp_video_check_external_subdevs()
988 if (!media_entity_enum_test(&pipe->ent_enum, ents[i])) in isp_video_check_external_subdevs()
992 source_pad = media_entity_remote_pad(&ents[i]->pads[0]); in isp_video_check_external_subdevs()
997 sink = ents[i]; in isp_video_check_external_subdevs()
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_draw.c147 pal->ents[0] = bgcolor; in qxl_palette_create_1bit()
148 pal->ents[1] = fgcolor; in qxl_palette_create_1bit()
Dqxl_dev.h825 uint32_t ents[0]; member
/Linux-v4.19/kernel/dma/
Ddebug.c584 static struct dma_debug_entry *ents[CACHELINES_PER_PAGE]; in debug_dma_assert_idle() local
586 void **results = (void **) &ents; in debug_dma_assert_idle()
602 phys_addr_t ent_cln = to_cacheline_number(ents[i]); in debug_dma_assert_idle()
605 entry = ents[i]; in debug_dma_assert_idle()
/Linux-v4.19/fs/proc/
Dbase.c2454 const struct pid_entry *ents, in proc_pident_lookup() argument
2468 last = &ents[nents]; in proc_pident_lookup()
2469 for (p = ents; p < last; p++) { in proc_pident_lookup()
2483 const struct pid_entry *ents, unsigned int nents) in proc_pident_readdir() argument
2497 for (p = ents + (ctx->pos - 2); p < ents + nents; p++) { in proc_pident_readdir()
/Linux-v4.19/net/core/
Dsysctl_net_core.c80 sock_table->ents[i] = RPS_NO_CPU; in rps_sock_flow_sysctl()
Ddev.c4036 ident = sock_flow_table->ents[hash & sock_flow_table->mask]; in get_rps_cpu()