Lines Matching refs:irec
84 xfs_inobt_rec_incore_t *irec) /* btree record */ in xfs_inobt_update() argument
88 rec.inobt.ir_startino = cpu_to_be32(irec->ir_startino); in xfs_inobt_update()
90 rec.inobt.ir_u.sp.ir_holemask = cpu_to_be16(irec->ir_holemask); in xfs_inobt_update()
91 rec.inobt.ir_u.sp.ir_count = irec->ir_count; in xfs_inobt_update()
92 rec.inobt.ir_u.sp.ir_freecount = irec->ir_freecount; in xfs_inobt_update()
95 rec.inobt.ir_u.f.ir_freecount = cpu_to_be32(irec->ir_freecount); in xfs_inobt_update()
97 rec.inobt.ir_free = cpu_to_be64(irec->ir_free); in xfs_inobt_update()
106 struct xfs_inobt_rec_incore *irec) in xfs_inobt_btrec_to_irec() argument
108 irec->ir_startino = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_btrec_to_irec()
110 irec->ir_holemask = be16_to_cpu(rec->inobt.ir_u.sp.ir_holemask); in xfs_inobt_btrec_to_irec()
111 irec->ir_count = rec->inobt.ir_u.sp.ir_count; in xfs_inobt_btrec_to_irec()
112 irec->ir_freecount = rec->inobt.ir_u.sp.ir_freecount; in xfs_inobt_btrec_to_irec()
118 irec->ir_holemask = XFS_INOBT_HOLEMASK_FULL; in xfs_inobt_btrec_to_irec()
119 irec->ir_count = XFS_INODES_PER_CHUNK; in xfs_inobt_btrec_to_irec()
120 irec->ir_freecount = in xfs_inobt_btrec_to_irec()
123 irec->ir_free = be64_to_cpu(rec->inobt.ir_free); in xfs_inobt_btrec_to_irec()
132 struct xfs_inobt_rec_incore *irec, in xfs_inobt_get_rec() argument
142 xfs_inobt_btrec_to_irec(cur->bc_mp, rec, irec); in xfs_inobt_get_rec()