• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/

Lines Matching refs:be16_to_cpu

119 	xfs_dir2_leaf_log_ents(tp, lbp, 0, be16_to_cpu(leaf->hdr.count) - 1);
222 index < be16_to_cpu(leaf->hdr.count) && be32_to_cpu(lep->hashval) == args->hashval;
228 ASSERT(be16_to_cpu(bestsp[i]) != NULLDATAOFF);
229 if (be16_to_cpu(bestsp[i]) >= length) {
242 if (be16_to_cpu(bestsp[i]) == NULLDATAOFF && use_block == -1)
244 else if (be16_to_cpu(bestsp[i]) >= length) {
260 if (use_block != -1 && be16_to_cpu(bestsp[use_block]) == NULLDATAOFF)
266 if ((char *)bestsp - (char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] < needbytes &&
267 be16_to_cpu(leaf->hdr.stale) > 1) {
274 else if ((char *)bestsp - (char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] <
330 else if (be16_to_cpu(leaf->hdr.stale)) {
331 lfloglow = be16_to_cpu(leaf->hdr.count);
394 ((char *)data + be16_to_cpu(data->hdr.bestfree[0].offset));
395 ASSERT(be16_to_cpu(dup->length) >= length);
427 if (be16_to_cpu(bestsp[use_block]) != be16_to_cpu(data->hdr.bestfree[0].length)) {
440 if (index < be16_to_cpu(leaf->hdr.count))
442 (be16_to_cpu(leaf->hdr.count) - index) * sizeof(*lep));
447 lfloghigh = be16_to_cpu(leaf->hdr.count);
478 highstale < be16_to_cpu(leaf->hdr.count) &&
490 (highstale == be16_to_cpu(leaf->hdr.count) ||
533 be16_to_cpu(*tagp)));
564 ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC);
570 ASSERT(be16_to_cpu(leaf->hdr.count) <= XFS_DIR2_MAX_LEAF_ENTS(mp));
575 ASSERT((char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] <=
580 for (i = stale = 0; i < be16_to_cpu(leaf->hdr.count); i++) {
581 if (i + 1 < be16_to_cpu(leaf->hdr.count))
587 ASSERT(be16_to_cpu(leaf->hdr.stale) == stale);
612 for (from = to = 0, loglow = -1; from < be16_to_cpu(leaf->hdr.count); from++) {
628 ASSERT(be16_to_cpu(leaf->hdr.stale) == from - to);
629 be16_add(&leaf->hdr.count, -(be16_to_cpu(leaf->hdr.stale)));
663 ASSERT(be16_to_cpu(leaf->hdr.stale) > 1);
678 highstale < be16_to_cpu(leaf->hdr.count) &&
687 (highstale == be16_to_cpu(leaf->hdr.count) ||
696 for (from = to = 0; from < be16_to_cpu(leaf->hdr.count); from++) {
740 highstale = be16_to_cpu(leaf->hdr.count);
741 *highlogp = be16_to_cpu(leaf->hdr.count) - 1;
1048 if (be16_to_cpu(dup->freetag)
1051 length = be16_to_cpu(dup->length);
1080 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
1081 length = be16_to_cpu(dup->length);
1208 ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC);
1231 ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC ||
1232 be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
1250 ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC ||
1251 be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
1270 ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC);
1374 index < be16_to_cpu(leaf->hdr.count) && be32_to_cpu(lep->hashval) == args->hashval;
1476 oldbest = be16_to_cpu(data->hdr.bestfree[0].length);
1479 ASSERT(be16_to_cpu(bestsp[db]) == oldbest);
1505 if (be16_to_cpu(data->hdr.bestfree[0].length) != oldbest) {
1513 if (be16_to_cpu(data->hdr.bestfree[0].length) ==
1541 if (be16_to_cpu(bestsp[i]) != NULLDATAOFF)
1646 for (lep = leaf->ents, low = 0, high = be16_to_cpu(leaf->hdr.count) - 1,
1716 ASSERT(be16_to_cpu(data->hdr.bestfree[0].length) ==
1806 ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
1822 (be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale)) * (uint)sizeof(leaf->ents[0]) +
1833 if (be16_to_cpu(leaf->hdr.stale))