ltp 479 fs/xfs/libxfs/xfs_da_format.h xfs_dir2_leaf_bests_p(struct xfs_dir2_leaf_tail *ltp) ltp 481 fs/xfs/libxfs/xfs_da_format.h return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); ltp 908 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ ltp 928 fs/xfs/libxfs/xfs_dir2_block.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); ltp 942 fs/xfs/libxfs/xfs_dir2_block.c bestsp = xfs_dir2_leaf_bests_p(ltp); ltp 943 fs/xfs/libxfs/xfs_dir2_block.c if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == ltp 947 fs/xfs/libxfs/xfs_dir2_block.c (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1)))) ltp 85 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_tail_t *ltp; ltp 104 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(geo, leaf); ltp 117 fs/xfs/libxfs/xfs_dir2_leaf.c (char *)&ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp)) ltp 284 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_dir2_leaf_tail *ltp; ltp 286 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(mp->m_dir_geo, leaf); ltp 287 fs/xfs/libxfs/xfs_dir2_leaf.c ltp->bestcount = 0; ltp 344 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_tail_t *ltp; /* leaf's tail */ ltp 422 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); ltp 423 fs/xfs/libxfs/xfs_dir2_leaf.c ltp->bestcount = cpu_to_be32(1); ltp 424 fs/xfs/libxfs/xfs_dir2_leaf.c bestsp = xfs_dir2_leaf_bests_p(ltp); ltp 578 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_dir2_leaf_tail *ltp; /* leaf tail pointer */ ltp 609 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); ltp 612 fs/xfs/libxfs/xfs_dir2_leaf.c bestsp = xfs_dir2_leaf_bests_p(ltp); ltp 627 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(i < be32_to_cpu(ltp->bestcount)); ltp 638 fs/xfs/libxfs/xfs_dir2_leaf.c for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { ltp 761 fs/xfs/libxfs/xfs_dir2_leaf.c if (use_block >= be32_to_cpu(ltp->bestcount)) { ltp 764 fs/xfs/libxfs/xfs_dir2_leaf.c be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); ltp 765 fs/xfs/libxfs/xfs_dir2_leaf.c be32_add_cpu(<p->bestcount, 1); ltp 768 fs/xfs/libxfs/xfs_dir2_leaf.c be32_to_cpu(ltp->bestcount) - 1); ltp 1021 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ ltp 1026 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); ltp 1027 fs/xfs/libxfs/xfs_dir2_leaf.c firstb = xfs_dir2_leaf_bests_p(ltp) + first; ltp 1028 fs/xfs/libxfs/xfs_dir2_leaf.c lastb = xfs_dir2_leaf_bests_p(ltp) + last; ltp 1091 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ ltp 1098 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); ltp 1099 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_trans_log_buf(args->trans, bp, (uint)((char *)ltp - (char *)leaf), ltp 1312 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ ltp 1344 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); ltp 1345 fs/xfs/libxfs/xfs_dir2_leaf.c bestsp = xfs_dir2_leaf_bests_p(ltp); ltp 1404 fs/xfs/libxfs/xfs_dir2_leaf.c if (db == be32_to_cpu(ltp->bestcount) - 1) { ltp 1417 fs/xfs/libxfs/xfs_dir2_leaf.c (be32_to_cpu(ltp->bestcount) - (db - i)) * sizeof(*bestsp)); ltp 1418 fs/xfs/libxfs/xfs_dir2_leaf.c be32_add_cpu(<p->bestcount, -(db - i)); ltp 1421 fs/xfs/libxfs/xfs_dir2_leaf.c be32_to_cpu(ltp->bestcount) - 1); ltp 1560 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ ltp 1574 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); ltp 1585 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(db == be32_to_cpu(ltp->bestcount) - 1); ltp 1600 fs/xfs/libxfs/xfs_dir2_leaf.c bestsp = xfs_dir2_leaf_bests_p(ltp); ltp 1601 fs/xfs/libxfs/xfs_dir2_leaf.c be32_add_cpu(<p->bestcount, -1); ltp 1602 fs/xfs/libxfs/xfs_dir2_leaf.c memmove(&bestsp[1], &bestsp[0], be32_to_cpu(ltp->bestcount) * sizeof(*bestsp)); ltp 1604 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); ltp 1644 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_tail_t *ltp; /* tail of leaf structure */ ltp 1740 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); ltp 1741 fs/xfs/libxfs/xfs_dir2_leaf.c ltp->bestcount = cpu_to_be32(freehdr.nvalid); ltp 1746 fs/xfs/libxfs/xfs_dir2_leaf.c memcpy(xfs_dir2_leaf_bests_p(ltp), dp->d_ops->free_bests_p(free), ltp 1751 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); ltp 346 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ ltp 374 fs/xfs/libxfs/xfs_dir2_node.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); ltp 375 fs/xfs/libxfs/xfs_dir2_node.c if (be32_to_cpu(ltp->bestcount) > ltp 383 fs/xfs/libxfs/xfs_dir2_node.c from = xfs_dir2_leaf_bests_p(ltp); ltp 385 fs/xfs/libxfs/xfs_dir2_node.c for (i = n = 0; i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { ltp 395 fs/xfs/libxfs/xfs_dir2_node.c freehdr.nvalid = be32_to_cpu(ltp->bestcount); ltp 479 fs/xfs/scrub/dir.c struct xfs_dir2_leaf_tail *ltp; ltp 503 fs/xfs/scrub/dir.c ltp = xfs_dir2_leaf_tail_p(geo, leaf); ltp 504 fs/xfs/scrub/dir.c bestcount = be32_to_cpu(ltp->bestcount); ltp 505 fs/xfs/scrub/dir.c bestp = xfs_dir2_leaf_bests_p(ltp); ltp 83 include/linux/rbtree_latch.h struct latch_tree_node *ltp; ltp 87 include/linux/rbtree_latch.h ltp = __lt_from_rb(parent, idx); ltp 89 include/linux/rbtree_latch.h if (less(ltn, ltp))