Home
last modified time | relevance | path

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

/linux-4.1.27/fs/xfs/libxfs/
Dxfs_dir2_leaf.c88 struct xfs_dir2_leaf_entry *ents; in xfs_dir3_leaf_check_int() local
107 ents = ops->leaf_ents_p(leaf); in xfs_dir3_leaf_check_int()
121 (char *)&ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp)) in xfs_dir3_leaf_check_int()
127 if (be32_to_cpu(ents[i].hashval) > in xfs_dir3_leaf_check_int()
128 be32_to_cpu(ents[i + 1].hashval)) in xfs_dir3_leaf_check_int()
131 if (ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir3_leaf_check_int()
389 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_block_to_leaf() local
419 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_block_to_leaf()
434 memcpy(ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf()
480 struct xfs_dir2_leaf_entry *ents, in xfs_dir3_leaf_find_stale() argument
[all …]
Dxfs_dir2_node.c387 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_add() local
394 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_add()
416 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
418 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
428 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add()
441 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
486 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_lasthash() local
499 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_lasthash()
500 return be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_dir2_leafn_lasthash()
529 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.c921 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leaf_to_block() local
931 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leaf_to_block()
1009 if (ents[from].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir2_leaf_to_block()
1011 lep[to++] = ents[from]; in xfs_dir2_leaf_to_block()
Dxfs_da_btree.c555 struct xfs_dir2_leaf_entry *ents; in xfs_da3_root_split() local
559 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_da3_root_split()
563 size = (int)((char *)&ents[leafhdr.count] - (char *)leaf); in xfs_da3_root_split()
2178 struct xfs_dir2_leaf_entry *ents; in xfs_da3_swap_lastblock() local
2182 ents = dp->d_ops->leaf_ents_p(dead_leaf2); in xfs_da3_swap_lastblock()
2184 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
/linux-4.1.27/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.1.27/include/asm-generic/
Ddma-mapping-common.h51 int i, ents; in dma_map_sg_attrs() local
57 ents = ops->map_sg(dev, sg, nents, dir, attrs); in dma_map_sg_attrs()
58 BUG_ON(ents < 0); in dma_map_sg_attrs()
59 debug_dma_map_sg(dev, sg, nents, ents, dir); in dma_map_sg_attrs()
61 return ents; in dma_map_sg_attrs()
/linux-4.1.27/arch/sparc/mm/
Dinit_64.c113 int ents, ret, i; in read_obp_memory() local
115 ents = prop_size / sizeof(struct linux_prom64_registers); in read_obp_memory()
116 if (ents > MAX_BANKS) { in read_obp_memory()
133 for (i = 0; i < ents; i++) { in read_obp_memory()
154 (ents - i - 1) * sizeof(regs[0])); in read_obp_memory()
156 ents--; in read_obp_memory()
163 *num_ents = ents; in read_obp_memory()
165 sort(regs, ents, sizeof(struct linux_prom64_registers), in read_obp_memory()
509 int n, node, ents, first, last, i; in read_obp_translations() local
531 ents = n; in read_obp_translations()
[all …]
/linux-4.1.27/include/uapi/mtd/
Dubi-user.h384 } ents[UBI_MAX_RNVOL]; member
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispvideo.c880 struct media_entity *ents[] = { in isp_video_check_external_subdevs() local
899 for (i = 0; i < ARRAY_SIZE(ents); i++) { in isp_video_check_external_subdevs()
901 if (!(pipe->entities & (1 << ents[i]->id))) in isp_video_check_external_subdevs()
905 source_pad = media_entity_remote_pad(&ents[i]->pads[0]); in isp_video_check_external_subdevs()
910 sink = ents[i]; in isp_video_check_external_subdevs()
/linux-4.1.27/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.1.27/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.1.27/net/core/
Dsysctl_net_core.c76 sock_table->ents[i] = RPS_NO_CPU; in rps_sock_flow_sysctl()
Ddev.c3165 ident = sock_flow_table->ents[hash & sock_flow_table->mask]; in get_rps_cpu()
/linux-4.1.27/fs/proc/
Dbase.c2084 const struct pid_entry *ents, in proc_pident_lookup() argument
2100 last = &ents[nents - 1]; in proc_pident_lookup()
2101 for (p = ents; p <= last; p++) { in proc_pident_lookup()
2118 const struct pid_entry *ents, unsigned int nents) in proc_pident_readdir() argument
2132 for (p = ents + (ctx->pos - 2); p <= ents + nents - 1; p++) { in proc_pident_readdir()
/linux-4.1.27/include/linux/
Dnetdevice.h657 u32 ents[0] ____cacheline_aligned_in_smp; member
659 #define RPS_SOCK_FLOW_TABLE_SIZE(_num) (offsetof(struct rps_sock_flow_table, ents[_num]))
676 if (table->ents[index] != val) in rps_record_sock_flow()
677 table->ents[index] = val; in rps_record_sock_flow()