• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/

Lines Matching refs:be32_to_cpu

112 	if (unlikely(be32_to_cpu(block->hdr.magic) != XFS_DIR2_BLOCK_MAGIC)) {
205 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) *
208 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len)
249 for (fromidx = toidx = be32_to_cpu(btp->count) - 1,
253 if (be32_to_cpu(blp[fromidx].address) == XFS_DIR2_NULL_DATAPTR) {
266 lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1);
267 lfloghigh -= be32_to_cpu(btp->stale) - 1;
268 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1));
271 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)),
273 blp += be32_to_cpu(btp->stale) - 1;
289 lfloglow = be32_to_cpu(btp->count);
295 for (low = 0, high = be32_to_cpu(btp->count) - 1; low <= high; ) {
297 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval)
304 while (mid >= 0 && be32_to_cpu(blp[mid].hashval) >= args->hashval) {
351 be32_to_cpu(blp[lowstale].address) != XFS_DIR2_NULL_DATAPTR;
355 highstale < be32_to_cpu(btp->count) &&
356 be32_to_cpu(blp[highstale].address) != XFS_DIR2_NULL_DATAPTR &&
364 (highstale == be32_to_cpu(btp->count) ||
376 ASSERT(highstale < be32_to_cpu(btp->count));
606 xfs_dir2_dataptr_to_off(mp, be32_to_cpu(blp[ent].address)));
660 for (low = 0, high = be32_to_cpu(btp->count) - 1; ; ) {
663 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval)
678 while (mid > 0 && be32_to_cpu(blp[mid - 1].hashval) == args->hashval) {
686 if ((addr = be32_to_cpu(blp[mid].address)) == XFS_DIR2_NULL_DATAPTR)
706 } while (++mid < be32_to_cpu(btp->count) &&
707 be32_to_cpu(blp[mid].hashval) == hash);
765 ((char *)block + xfs_dir2_dataptr_to_off(mp, be32_to_cpu(blp[ent].address)));
841 ((char *)block + xfs_dir2_dataptr_to_off(mp, be32_to_cpu(blp[ent].address)));
866 return be32_to_cpu(la->hashval) < be32_to_cpu(lb->hashval) ? -1 :
867 (be32_to_cpu(la->hashval) > be32_to_cpu(lb->hashval) ? 1 : 0);
914 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) ==
918 (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1))))
934 ASSERT(be32_to_cpu(block->hdr.magic) == XFS_DIR2_DATA_MAGIC);
976 if (be32_to_cpu(leaf->ents[from].address) == XFS_DIR2_NULL_DATAPTR)
980 ASSERT(to == be32_to_cpu(btp->count));
981 xfs_dir2_block_log_leaf(tp, dbp, 0, be32_to_cpu(btp->count) - 1);
1217 xfs_sort(blp, be32_to_cpu(btp->count), sizeof(*blp), xfs_dir2_block_sort);
1223 xfs_dir2_block_log_leaf(tp, bp, 0, be32_to_cpu(btp->count) - 1);