Lines Matching refs:ARCH_CONVERT
117 blp = XFS_DIR2_BLOCK_LEAF_P_ARCH(btp, ARCH_CONVERT); in xfs_dir2_block_sfsize()
122 for (i = 0; i < INT_GET(btp->count, ARCH_CONVERT); i++) { in xfs_dir2_block_sfsize()
123 if ((addr = INT_GET(blp[i].address, ARCH_CONVERT)) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_block_sfsize()
141 i8count += INT_GET(dep->inumber, ARCH_CONVERT) > XFS_DIR2_MAX_SHORT_INUM; in xfs_dir2_block_sfsize()
147 parent = INT_GET(dep->inumber, ARCH_CONVERT); in xfs_dir2_block_sfsize()
166 XFS_DIR2_SF_PUT_INUMBER_ARCH((xfs_dir2_sf_t *)sfhp, &parent, &sfhp->parent, ARCH_CONVERT); in xfs_dir2_block_sfsize()
233 endptr = (char *)XFS_DIR2_BLOCK_LEAF_P_ARCH(btp, ARCH_CONVERT); in xfs_dir2_block_to_sf()
244 if (INT_GET(dup->freetag, ARCH_CONVERT) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_to_sf()
245 ptr += INT_GET(dup->length, ARCH_CONVERT); in xfs_dir2_block_to_sf()
253 ASSERT(INT_GET(dep->inumber, ARCH_CONVERT) == dp->i_ino); in xfs_dir2_block_to_sf()
259 ASSERT(INT_GET(dep->inumber, ARCH_CONVERT) == in xfs_dir2_block_to_sf()
260 XFS_DIR2_SF_GET_INUMBER_ARCH(sfp, &sfp->hdr.parent, ARCH_CONVERT)); in xfs_dir2_block_to_sf()
268 ((char *)dep - (char *)block), ARCH_CONVERT); in xfs_dir2_block_to_sf()
270 temp=INT_GET(dep->inumber, ARCH_CONVERT); in xfs_dir2_block_to_sf()
272 XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT); in xfs_dir2_block_to_sf()
430 XFS_DIR2_SF_PUT_OFFSET_ARCH(sfep, offset, ARCH_CONVERT); in xfs_dir2_sf_addname_easy()
433 XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT); in xfs_dir2_sf_addname_easy()
497 new_offset = XFS_DIR2_SF_GET_OFFSET_ARCH(oldsfep, ARCH_CONVERT); in xfs_dir2_sf_addname_hard()
522 XFS_DIR2_SF_PUT_OFFSET_ARCH(sfep, offset, ARCH_CONVERT); in xfs_dir2_sf_addname_hard()
525 XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT); in xfs_dir2_sf_addname_hard()
582 holefit = offset + size <= XFS_DIR2_SF_GET_OFFSET_ARCH(sfep, ARCH_CONVERT); in xfs_dir2_sf_addname_pick()
583 offset = XFS_DIR2_SF_GET_OFFSET_ARCH(sfep, ARCH_CONVERT) + in xfs_dir2_sf_addname_pick()
644 ino = XFS_DIR2_SF_GET_INUMBER_ARCH(sfp, &sfp->hdr.parent, ARCH_CONVERT); in xfs_dir2_sf_check()
650 ASSERT(XFS_DIR2_SF_GET_OFFSET_ARCH(sfep, ARCH_CONVERT) >= offset); in xfs_dir2_sf_check()
651 ino = XFS_DIR2_SF_GET_INUMBER_ARCH(sfp, XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT); in xfs_dir2_sf_check()
654 XFS_DIR2_SF_GET_OFFSET_ARCH(sfep, ARCH_CONVERT) + in xfs_dir2_sf_check()
711 XFS_DIR2_SF_PUT_INUMBER_ARCH(sfp, &pino, &sfp->hdr.parent, ARCH_CONVERT); in xfs_dir2_sf_create()
804 ARCH_CONVERT); in xfs_dir2_sf_getdents()
829 XFS_DIR2_SF_GET_OFFSET_ARCH(sfep, ARCH_CONVERT)); in xfs_dir2_sf_getdents()
837 XFS_DIR2_SF_GET_OFFSET_ARCH(sfep, ARCH_CONVERT) + in xfs_dir2_sf_getdents()
841 XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT); in xfs_dir2_sf_getdents()
907 args->inumber = XFS_DIR2_SF_GET_INUMBER_ARCH(sfp, &sfp->hdr.parent, ARCH_CONVERT); in xfs_dir2_sf_lookup()
921 XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT); in xfs_dir2_sf_lookup()
975 XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT) == in xfs_dir2_sf_removename()
1096 ino = XFS_DIR2_SF_GET_INUMBER_ARCH(sfp, &sfp->hdr.parent, ARCH_CONVERT); in xfs_dir2_sf_replace()
1099 XFS_DIR2_SF_PUT_INUMBER_ARCH(sfp, &args->inumber, &sfp->hdr.parent, ARCH_CONVERT); in xfs_dir2_sf_replace()
1113 XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT); in xfs_dir2_sf_replace()
1117 XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT); in xfs_dir2_sf_replace()
1218 ino = XFS_DIR2_SF_GET_INUMBER_ARCH(oldsfp, &oldsfp->hdr.parent, ARCH_CONVERT); in xfs_dir2_sf_toino4()
1219 XFS_DIR2_SF_PUT_INUMBER_ARCH(sfp, &ino, &sfp->hdr.parent, ARCH_CONVERT); in xfs_dir2_sf_toino4()
1232 XFS_DIR2_SF_INUMBERP(oldsfep), ARCH_CONVERT); in xfs_dir2_sf_toino4()
1233 XFS_DIR2_SF_PUT_INUMBER_ARCH(sfp, &ino, XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT); in xfs_dir2_sf_toino4()
1295 ino = XFS_DIR2_SF_GET_INUMBER_ARCH(oldsfp, &oldsfp->hdr.parent, ARCH_CONVERT); in xfs_dir2_sf_toino8()
1296 XFS_DIR2_SF_PUT_INUMBER_ARCH(sfp, &ino, &sfp->hdr.parent, ARCH_CONVERT); in xfs_dir2_sf_toino8()
1309 XFS_DIR2_SF_INUMBERP(oldsfep), ARCH_CONVERT); in xfs_dir2_sf_toino8()
1310 XFS_DIR2_SF_PUT_INUMBER_ARCH(sfp, &ino, XFS_DIR2_SF_INUMBERP(sfep), ARCH_CONVERT); in xfs_dir2_sf_toino8()