Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/libxfs/
Dxfs_dir2_leaf.c89 struct xfs_dir2_leaf_entry *ents; in xfs_dir3_leaf_check_int() local
108 ents = ops->leaf_ents_p(leaf); in xfs_dir3_leaf_check_int()
122 (char *)&ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp)) in xfs_dir3_leaf_check_int()
128 if (be32_to_cpu(ents[i].hashval) > in xfs_dir3_leaf_check_int()
129 be32_to_cpu(ents[i + 1].hashval)) in xfs_dir3_leaf_check_int()
132 if (ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir3_leaf_check_int()
394 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_block_to_leaf() local
424 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_block_to_leaf()
439 memcpy(ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf()
485 struct xfs_dir2_leaf_entry *ents, in xfs_dir3_leaf_find_stale() argument
[all …]
Dxfs_dir2_node.c391 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_add() local
398 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_add()
420 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
422 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
432 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add()
445 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
490 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_lasthash() local
503 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_lasthash()
504 return be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_dir2_leafn_lasthash()
533 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_lookup_for_addname() local
[all …]
Dxfs_dir2_priv.h70 struct xfs_dir2_leaf_entry *ents, int *indexp,
87 struct xfs_dir2_leaf_entry *ents, int index, int compact,
Dxfs_dir2_block.c925 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leaf_to_block() local
935 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leaf_to_block()
1013 if (ents[from].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir2_leaf_to_block()
1015 lep[to++] = ents[from]; in xfs_dir2_leaf_to_block()
Dxfs_da_btree.c561 struct xfs_dir2_leaf_entry *ents; in xfs_da3_root_split() local
565 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_da3_root_split()
569 size = (int)((char *)&ents[leafhdr.count] - (char *)leaf); in xfs_da3_root_split()
2189 struct xfs_dir2_leaf_entry *ents; in xfs_da3_swap_lastblock() local
2193 ents = dp->d_ops->leaf_ents_p(dead_leaf2); in xfs_da3_swap_lastblock()
2195 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
/linux-4.4.14/drivers/mtd/ubi/
Dcdev.c696 if (req->ents[i].vol_id < 0 || in rename_volumes()
697 req->ents[i].vol_id >= ubi->vtbl_slots) in rename_volumes()
699 if (req->ents[i].name_len < 0) in rename_volumes()
701 if (req->ents[i].name_len > UBI_VOL_NAME_MAX) in rename_volumes()
703 req->ents[i].name[req->ents[i].name_len] = '\0'; in rename_volumes()
704 n = strlen(req->ents[i].name); in rename_volumes()
705 if (n != req->ents[i].name_len) in rename_volumes()
712 if (req->ents[i].vol_id == req->ents[n].vol_id) { in rename_volumes()
714 req->ents[i].vol_id); in rename_volumes()
717 if (!strcmp(req->ents[i].name, req->ents[n].name)) { in rename_volumes()
[all …]
/linux-4.4.14/lib/mpi/
Dmpicoder.c440 int x, i, j, z, lzeros, ents; in mpi_read_raw_from_sgl() local
446 ents = sg_nents(sgl); in mpi_read_raw_from_sgl()
448 for_each_sg(sgl, sg, ents, i) { in mpi_read_raw_from_sgl()
461 ents--; in mpi_read_raw_from_sgl()
467 if (!ents) in mpi_read_raw_from_sgl()
501 for_each_sg(sgl, sg, ents, i) { in mpi_read_raw_from_sgl()
/linux-4.4.14/include/asm-generic/
Ddma-mapping-common.h52 int i, ents; in dma_map_sg_attrs() local
58 ents = ops->map_sg(dev, sg, nents, dir, attrs); in dma_map_sg_attrs()
59 BUG_ON(ents < 0); in dma_map_sg_attrs()
60 debug_dma_map_sg(dev, sg, nents, ents, dir); in dma_map_sg_attrs()
62 return ents; in dma_map_sg_attrs()
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c540 struct virtio_gpu_mem_entry *ents, in virtio_gpu_cmd_resource_attach_backing() argument
554 vbuf->data_buf = ents; in virtio_gpu_cmd_resource_attach_backing()
555 vbuf->data_size = sizeof(*ents) * nents; in virtio_gpu_cmd_resource_attach_backing()
882 struct virtio_gpu_mem_entry *ents; in virtio_gpu_object_attach() local
894 ents = kmalloc_array(obj->pages->nents, in virtio_gpu_object_attach()
897 if (!ents) { in virtio_gpu_object_attach()
903 ents[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_attach()
904 ents[si].length = cpu_to_le32(sg->length); in virtio_gpu_object_attach()
905 ents[si].padding = 0; in virtio_gpu_object_attach()
909 ents, obj->pages->nents, in virtio_gpu_object_attach()
/linux-4.4.14/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()
499 int n, node, ents, first, last, i; in read_obp_translations() local
521 ents = n; in read_obp_translations()
[all …]
/linux-4.4.14/include/uapi/mtd/
Dubi-user.h384 } ents[UBI_MAX_RNVOL]; member
/linux-4.4.14/drivers/media/platform/omap3isp/
Dispvideo.c883 struct media_entity *ents[] = { in isp_video_check_external_subdevs() local
902 for (i = 0; i < ARRAY_SIZE(ents); i++) { in isp_video_check_external_subdevs()
904 if (!(pipe->entities & (1 << ents[i]->id))) in isp_video_check_external_subdevs()
908 source_pad = media_entity_remote_pad(&ents[i]->pads[0]); in isp_video_check_external_subdevs()
913 sink = ents[i]; in isp_video_check_external_subdevs()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_draw.c149 pal->ents[0] = bgcolor; in qxl_palette_create_1bit()
150 pal->ents[1] = fgcolor; in qxl_palette_create_1bit()
Dqxl_dev.h825 uint32_t ents[0]; member
/linux-4.4.14/lib/
Ddma-debug.c570 static struct dma_debug_entry *ents[CACHELINES_PER_PAGE]; in debug_dma_assert_idle() local
572 void **results = (void **) &ents; in debug_dma_assert_idle()
588 phys_addr_t ent_cln = to_cacheline_number(ents[i]); in debug_dma_assert_idle()
591 entry = ents[i]; in debug_dma_assert_idle()
/linux-4.4.14/net/core/
Dsysctl_net_core.c76 sock_table->ents[i] = RPS_NO_CPU; in rps_sock_flow_sysctl()
Ddev.c3319 ident = sock_flow_table->ents[hash & sock_flow_table->mask]; in get_rps_cpu()
/linux-4.4.14/fs/proc/
Dbase.c2279 const struct pid_entry *ents, in proc_pident_lookup() argument
2295 last = &ents[nents - 1]; in proc_pident_lookup()
2296 for (p = ents; p <= last; p++) { in proc_pident_lookup()
2313 const struct pid_entry *ents, unsigned int nents) in proc_pident_readdir() argument
2327 for (p = ents + (ctx->pos - 2); p <= ents + nents - 1; p++) { in proc_pident_readdir()
/linux-4.4.14/include/linux/
Dnetdevice.h659 u32 ents[0] ____cacheline_aligned_in_smp; member
661 #define RPS_SOCK_FLOW_TABLE_SIZE(_num) (offsetof(struct rps_sock_flow_table, ents[_num]))
678 if (table->ents[index] != val) in rps_record_sock_flow()
679 table->ents[index] = val; in rps_record_sock_flow()