/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_dir2_leaf.c | 87 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 …]
|
D | xfs_dir2_node.c | 442 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 …]
|
D | xfs_dir2_priv.h | 60 struct xfs_dir2_leaf_entry *ents, int *indexp, 77 struct xfs_dir2_leaf_entry *ents, int index, int compact,
|
D | xfs_dir2_block.c | 920 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()
|
D | xfs_da_btree.c | 574 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/ |
D | dabtree.c | 95 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()
|
D | dir.c | 485 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/ |
D | mpicoder.c | 334 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/ |
D | dma-mapping.h | 266 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()
|
D | netdevice.h | 686 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/ |
D | ubi-user.h | 399 } ents[UBI_MAX_RNVOL]; member
|
/linux-4.19.296/fs/proc/ |
D | base.c | 2483 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()
|