Home
last modified time | relevance | path

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

/linux-4.19.296/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.c442 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_add() local
449 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_add()
471 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
473 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
483 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add()
496 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
541 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leaf_lasthash() local
556 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leaf_lasthash()
557 return be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_dir2_leaf_lasthash()
586 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-4.19.296/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.c485 struct xfs_dir2_leaf_entry *ents; in xchk_directory_leaf1_bestfree() local
509 ents = d_ops->leaf_ents_p(leaf); in xchk_directory_leaf1_bestfree()
537 if ((char *)&ents[leafhdr.count] > (char *)bestp) { in xchk_directory_leaf1_bestfree()
544 hash = be32_to_cpu(ents[i].hashval); in xchk_directory_leaf1_bestfree()
548 if (ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xchk_directory_leaf1_bestfree()
/linux-4.19.296/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-4.19.296/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.h686 u32 ents[0] ____cacheline_aligned_in_smp; member
688 #define RPS_SOCK_FLOW_TABLE_SIZE(_num) (offsetof(struct rps_sock_flow_table, ents[_num]))
708 if (READ_ONCE(table->ents[index]) != val) in rps_record_sock_flow()
709 WRITE_ONCE(table->ents[index], val); in rps_record_sock_flow()
/linux-4.19.296/include/uapi/mtd/
Dubi-user.h399 } ents[UBI_MAX_RNVOL]; member
/linux-4.19.296/fs/proc/
Dbase.c2483 const struct pid_entry *ents, in proc_pident_lookup() argument
2497 last = &ents[nents]; in proc_pident_lookup()
2498 for (p = ents; p < last; p++) { in proc_pident_lookup()
2512 const struct pid_entry *ents, unsigned int nents) in proc_pident_readdir() argument
2526 for (p = ents + (ctx->pos - 2); p < ents + nents; p++) { in proc_pident_readdir()