irec               72 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		if (channel->irec && readl(channel->irec + DMA_PRDS_TPENABLE))
irec               88 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	if (unlikely(!channel || !channel->irec))
irec               93 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	wp = readl(channel->irec + DMA_PRDS_BUSWP_TP(0));
irec               94 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	rp = readl(channel->irec + DMA_PRDS_BUSRP_TP(0));
irec              128 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(channel->back_buffer_busaddr, channel->irec +
irec              131 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(wp, channel->irec + DMA_PRDS_BUSRP_TP(0));
irec              227 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(channel->back_buffer_busaddr, channel->irec +
irec              231 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(tmp, channel->irec + DMA_PRDS_BUSTOP_TP(0));
irec              233 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(channel->back_buffer_busaddr, channel->irec +
irec              241 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(0x1, channel->irec + DMA_PRDS_TPENABLE);
irec              303 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(0,  channel->irec + DMA_PRDS_TPENABLE);
irec              325 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 			channel->irec + DMA_PRDS_BUSBASE_TP(0));
irec              328 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(tmp, channel->irec + DMA_PRDS_BUSTOP_TP(0));
irec              331 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 			channel->irec + DMA_PRDS_BUSWP_TP(0));
irec              614 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	tsin->irec = fei->io + DMA_MEMDMA_OFFSET + DMA_DMEM_OFFSET +
irec              620 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	tsin->irec += (tsin->tsin_id * DMA_PRDS_SIZE);
irec              622 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tsin->fifo, tsin->irec + DMA_PRDS_MEMBASE);
irec              624 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tsin->fifo + FIFO_LEN - 1, tsin->irec + DMA_PRDS_MEMTOP);
irec              626 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel((188 + 7)&~7, tsin->irec + DMA_PRDS_PKTSIZE);
irec              628 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(0x1, tsin->irec + DMA_PRDS_TPENABLE);
irec              632 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tsin->back_buffer_busaddr, tsin->irec + DMA_PRDS_BUSBASE_TP(0));
irec              635 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tmp, tsin->irec + DMA_PRDS_BUSTOP_TP(0));
irec              637 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tsin->back_buffer_busaddr, tsin->irec + DMA_PRDS_BUSWP_TP(0));
irec              638 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tsin->back_buffer_busaddr, tsin->irec + DMA_PRDS_BUSRP_TP(0));
irec               55 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.h 	void __iomem *irec;
irec              190 fs/ext4/fsmap.c 	struct ext4_fsmap irec;
irec              235 fs/ext4/fsmap.c 	irec.fmr_device = 0;
irec              236 fs/ext4/fsmap.c 	irec.fmr_physical = fsb;
irec              237 fs/ext4/fsmap.c 	irec.fmr_length = fslen;
irec              238 fs/ext4/fsmap.c 	irec.fmr_owner = EXT4_FMR_OWN_FREE;
irec              239 fs/ext4/fsmap.c 	irec.fmr_flags = 0;
irec              242 fs/ext4/fsmap.c 	if (ext4_fsmap_next_pblk(&irec) ==
irec              244 fs/ext4/fsmap.c 		info->gfi_lastfree = irec;
irec              249 fs/ext4/fsmap.c 	return ext4_getfsmap_helper(sb, info, &irec);
irec              257 fs/ext4/fsmap.c 	struct ext4_fsmap irec;
irec              279 fs/ext4/fsmap.c 	irec.fmr_physical = journal->j_blk_offset;
irec              280 fs/ext4/fsmap.c 	irec.fmr_length = journal->j_maxlen;
irec              281 fs/ext4/fsmap.c 	irec.fmr_owner = EXT4_FMR_OWN_LOG;
irec              282 fs/ext4/fsmap.c 	irec.fmr_flags = 0;
irec              284 fs/ext4/fsmap.c 	return ext4_getfsmap_helper(sb, info, &irec);
irec             3075 fs/xfs/libxfs/xfs_alloc.c 	struct xfs_alloc_rec_incore		irec;
irec             3077 fs/xfs/libxfs/xfs_alloc.c 	irec.ar_startblock = be32_to_cpu(rec->alloc.ar_startblock);
irec             3078 fs/xfs/libxfs/xfs_alloc.c 	irec.ar_blockcount = be32_to_cpu(rec->alloc.ar_blockcount);
irec             3079 fs/xfs/libxfs/xfs_alloc.c 	return query->fn(cur, &irec, query->priv);
irec               99 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_bmbt_irec	*irec,
irec              102 fs/xfs/libxfs/xfs_bmap.c 	cur->bc_rec.b = *irec;
irec              146 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_bmbt_irec	*irec)
irec              150 fs/xfs/libxfs/xfs_bmap.c 	xfs_bmbt_disk_set_all(&rec.bmbt, irec);
irec             3660 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_bmbt_irec	*irec,
irec             3667 fs/xfs/libxfs/xfs_bmap.c 	if (irec->br_startoff + irec->br_blockcount <= bno ||
irec             3668 fs/xfs/libxfs/xfs_bmap.c 	    irec->br_startoff >= end) {
irec             3669 fs/xfs/libxfs/xfs_bmap.c 		irec->br_blockcount = 0;
irec             3673 fs/xfs/libxfs/xfs_bmap.c 	if (irec->br_startoff < bno) {
irec             3674 fs/xfs/libxfs/xfs_bmap.c 		distance = bno - irec->br_startoff;
irec             3675 fs/xfs/libxfs/xfs_bmap.c 		if (isnullstartblock(irec->br_startblock))
irec             3676 fs/xfs/libxfs/xfs_bmap.c 			irec->br_startblock = DELAYSTARTBLOCK;
irec             3677 fs/xfs/libxfs/xfs_bmap.c 		if (irec->br_startblock != DELAYSTARTBLOCK &&
irec             3678 fs/xfs/libxfs/xfs_bmap.c 		    irec->br_startblock != HOLESTARTBLOCK)
irec             3679 fs/xfs/libxfs/xfs_bmap.c 			irec->br_startblock += distance;
irec             3680 fs/xfs/libxfs/xfs_bmap.c 		irec->br_startoff += distance;
irec             3681 fs/xfs/libxfs/xfs_bmap.c 		irec->br_blockcount -= distance;
irec             3684 fs/xfs/libxfs/xfs_bmap.c 	if (end < irec->br_startoff + irec->br_blockcount) {
irec             3685 fs/xfs/libxfs/xfs_bmap.c 		distance = irec->br_startoff + irec->br_blockcount - end;
irec             3686 fs/xfs/libxfs/xfs_bmap.c 		irec->br_blockcount -= distance;
irec             6174 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_bmbt_irec	*irec)
irec             6181 fs/xfs/libxfs/xfs_bmap.c 	endfsb = irec->br_startblock + irec->br_blockcount - 1;
irec             6183 fs/xfs/libxfs/xfs_bmap.c 		if (!xfs_verify_rtbno(mp, irec->br_startblock))
irec             6188 fs/xfs/libxfs/xfs_bmap.c 		if (!xfs_verify_fsbno(mp, irec->br_startblock))
irec             6192 fs/xfs/libxfs/xfs_bmap.c 		if (XFS_FSB_TO_AGNO(mp, irec->br_startblock) !=
irec             6196 fs/xfs/libxfs/xfs_bmap.c 	if (irec->br_state != XFS_EXT_NORM && whichfork != XFS_DATA_FORK)
irec              166 fs/xfs/libxfs/xfs_bmap.h static inline bool xfs_bmap_is_real_extent(struct xfs_bmbt_irec *irec)
irec              168 fs/xfs/libxfs/xfs_bmap.h 	return irec->br_state != XFS_EXT_UNWRITTEN &&
irec              169 fs/xfs/libxfs/xfs_bmap.h 		irec->br_startblock != HOLESTARTBLOCK &&
irec              170 fs/xfs/libxfs/xfs_bmap.h 		irec->br_startblock != DELAYSTARTBLOCK &&
irec              171 fs/xfs/libxfs/xfs_bmap.h 		!isnullstartblock(irec->br_startblock);
irec              181 fs/xfs/libxfs/xfs_bmap.h void	xfs_trim_extent(struct xfs_bmbt_irec *irec, xfs_fileoff_t bno,
irec              283 fs/xfs/libxfs/xfs_bmap.h 		struct xfs_bmbt_irec *irec);
irec               62 fs/xfs/libxfs/xfs_bmap_btree.c 	struct xfs_bmbt_irec	*irec)
irec               67 fs/xfs/libxfs/xfs_bmap_btree.c 	irec->br_startoff = (l0 & xfs_mask64lo(64 - BMBT_EXNTFLAG_BITLEN)) >> 9;
irec               68 fs/xfs/libxfs/xfs_bmap_btree.c 	irec->br_startblock = ((l0 & xfs_mask64lo(9)) << 43) | (l1 >> 21);
irec               69 fs/xfs/libxfs/xfs_bmap_btree.c 	irec->br_blockcount = l1 & xfs_mask64lo(21);
irec               71 fs/xfs/libxfs/xfs_bmap_btree.c 		irec->br_state = XFS_EXT_UNWRITTEN;
irec               73 fs/xfs/libxfs/xfs_bmap_btree.c 		irec->br_state = XFS_EXT_NORM;
irec             2520 fs/xfs/libxfs/xfs_da_btree.c 	struct xfs_bmbt_irec	irec;
irec             2521 fs/xfs/libxfs/xfs_da_btree.c 	struct xfs_bmbt_irec	*irecs = &irec;
irec             2541 fs/xfs/libxfs/xfs_da_btree.c 			irecs = kmem_zalloc(sizeof(irec) * nfsb,
irec             2582 fs/xfs/libxfs/xfs_da_btree.c 	if (irecs != &irec)
irec               56 fs/xfs/libxfs/xfs_ialloc.c 	xfs_inobt_rec_incore_t	*irec)	/* btree record */
irec               60 fs/xfs/libxfs/xfs_ialloc.c 	rec.inobt.ir_startino = cpu_to_be32(irec->ir_startino);
irec               62 fs/xfs/libxfs/xfs_ialloc.c 		rec.inobt.ir_u.sp.ir_holemask = cpu_to_be16(irec->ir_holemask);
irec               63 fs/xfs/libxfs/xfs_ialloc.c 		rec.inobt.ir_u.sp.ir_count = irec->ir_count;
irec               64 fs/xfs/libxfs/xfs_ialloc.c 		rec.inobt.ir_u.sp.ir_freecount = irec->ir_freecount;
irec               67 fs/xfs/libxfs/xfs_ialloc.c 		rec.inobt.ir_u.f.ir_freecount = cpu_to_be32(irec->ir_freecount);
irec               69 fs/xfs/libxfs/xfs_ialloc.c 	rec.inobt.ir_free = cpu_to_be64(irec->ir_free);
irec               78 fs/xfs/libxfs/xfs_ialloc.c 	struct xfs_inobt_rec_incore	*irec)
irec               80 fs/xfs/libxfs/xfs_ialloc.c 	irec->ir_startino = be32_to_cpu(rec->inobt.ir_startino);
irec               82 fs/xfs/libxfs/xfs_ialloc.c 		irec->ir_holemask = be16_to_cpu(rec->inobt.ir_u.sp.ir_holemask);
irec               83 fs/xfs/libxfs/xfs_ialloc.c 		irec->ir_count = rec->inobt.ir_u.sp.ir_count;
irec               84 fs/xfs/libxfs/xfs_ialloc.c 		irec->ir_freecount = rec->inobt.ir_u.sp.ir_freecount;
irec               90 fs/xfs/libxfs/xfs_ialloc.c 		irec->ir_holemask = XFS_INOBT_HOLEMASK_FULL;
irec               91 fs/xfs/libxfs/xfs_ialloc.c 		irec->ir_count = XFS_INODES_PER_CHUNK;
irec               92 fs/xfs/libxfs/xfs_ialloc.c 		irec->ir_freecount =
irec               95 fs/xfs/libxfs/xfs_ialloc.c 	irec->ir_free = be64_to_cpu(rec->inobt.ir_free);
irec              104 fs/xfs/libxfs/xfs_ialloc.c 	struct xfs_inobt_rec_incore	*irec,
irec              117 fs/xfs/libxfs/xfs_ialloc.c 	xfs_inobt_btrec_to_irec(mp, rec, irec);
irec              119 fs/xfs/libxfs/xfs_ialloc.c 	if (!xfs_verify_agino(mp, agno, irec->ir_startino))
irec              121 fs/xfs/libxfs/xfs_ialloc.c 	if (irec->ir_count < XFS_INODES_PER_HOLEMASK_BIT ||
irec              122 fs/xfs/libxfs/xfs_ialloc.c 	    irec->ir_count > XFS_INODES_PER_CHUNK)
irec              124 fs/xfs/libxfs/xfs_ialloc.c 	if (irec->ir_freecount > XFS_INODES_PER_CHUNK)
irec              128 fs/xfs/libxfs/xfs_ialloc.c 	if (!xfs_inobt_issparse(irec->ir_holemask))
irec              129 fs/xfs/libxfs/xfs_ialloc.c 		realfree = irec->ir_free;
irec              131 fs/xfs/libxfs/xfs_ialloc.c 		realfree = irec->ir_free & xfs_inobt_irec_to_allocmask(irec);
irec              132 fs/xfs/libxfs/xfs_ialloc.c 	if (hweight64(realfree) != irec->ir_freecount)
irec              143 fs/xfs/libxfs/xfs_ialloc.c 		irec->ir_startino, irec->ir_count, irec->ir_freecount,
irec              144 fs/xfs/libxfs/xfs_ialloc.c 		irec->ir_free, irec->ir_holemask);
irec             2655 fs/xfs/libxfs/xfs_ialloc.c 	struct xfs_inobt_rec_incore	irec;
irec             2665 fs/xfs/libxfs/xfs_ialloc.c 		error = xfs_inobt_get_rec(cur, &irec, &has_record);
irec             2666 fs/xfs/libxfs/xfs_ialloc.c 		if (error || irec.ir_startino > high)
irec             2669 fs/xfs/libxfs/xfs_ialloc.c 		agino = irec.ir_startino;
irec             2670 fs/xfs/libxfs/xfs_ialloc.c 		holemask = irec.ir_holemask;
irec             2716 fs/xfs/libxfs/xfs_ialloc.c 	struct xfs_inobt_rec_incore	irec;
irec             2719 fs/xfs/libxfs/xfs_ialloc.c 	xfs_inobt_btrec_to_irec(cur->bc_mp, rec, &irec);
irec             2720 fs/xfs/libxfs/xfs_ialloc.c 	ci->count += irec.ir_count;
irec             2721 fs/xfs/libxfs/xfs_ialloc.c 	ci->freecount += irec.ir_freecount;
irec              142 fs/xfs/libxfs/xfs_ialloc.h 		struct xfs_inobt_rec_incore *irec);
irec               55 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_bmbt_irec	*irec)
irec               57 fs/xfs/libxfs/xfs_iext_tree.c 	ASSERT((irec->br_startoff & ~XFS_IEXT_STARTOFF_MASK) == 0);
irec               58 fs/xfs/libxfs/xfs_iext_tree.c 	ASSERT((irec->br_blockcount & ~XFS_IEXT_LENGTH_MASK) == 0);
irec               59 fs/xfs/libxfs/xfs_iext_tree.c 	ASSERT((irec->br_startblock & ~XFS_IEXT_STARTBLOCK_MASK) == 0);
irec               61 fs/xfs/libxfs/xfs_iext_tree.c 	rec->lo = irec->br_startoff & XFS_IEXT_STARTOFF_MASK;
irec               62 fs/xfs/libxfs/xfs_iext_tree.c 	rec->hi = irec->br_blockcount & XFS_IEXT_LENGTH_MASK;
irec               64 fs/xfs/libxfs/xfs_iext_tree.c 	rec->lo |= (irec->br_startblock << 54);
irec               65 fs/xfs/libxfs/xfs_iext_tree.c 	rec->hi |= ((irec->br_startblock & ~xfs_mask64lo(10)) << (22 - 10));
irec               67 fs/xfs/libxfs/xfs_iext_tree.c 	if (irec->br_state == XFS_EXT_UNWRITTEN)
irec               73 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_bmbt_irec	*irec,
irec               76 fs/xfs/libxfs/xfs_iext_tree.c 	irec->br_startoff = rec->lo & XFS_IEXT_STARTOFF_MASK;
irec               77 fs/xfs/libxfs/xfs_iext_tree.c 	irec->br_blockcount = rec->hi & XFS_IEXT_LENGTH_MASK;
irec               79 fs/xfs/libxfs/xfs_iext_tree.c 	irec->br_startblock = rec->lo >> 54;
irec               80 fs/xfs/libxfs/xfs_iext_tree.c 	irec->br_startblock |= (rec->hi & xfs_mask64hi(42)) >> (22 - 10);
irec               83 fs/xfs/libxfs/xfs_iext_tree.c 		irec->br_state = XFS_EXT_UNWRITTEN;
irec               85 fs/xfs/libxfs/xfs_iext_tree.c 		irec->br_state = XFS_EXT_NORM;
irec              628 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_bmbt_irec	*irec,
irec              632 fs/xfs/libxfs/xfs_iext_tree.c 	xfs_fileoff_t		offset = irec->br_startoff;
irec              646 fs/xfs/libxfs/xfs_iext_tree.c 	       xfs_iext_rec_cmp(cur_rec(cur), irec->br_startoff) != 0);
irec              662 fs/xfs/libxfs/xfs_iext_tree.c 	xfs_iext_set(cur_rec(cur), irec);
irec               94 fs/xfs/libxfs/xfs_refcount.c 	struct xfs_refcount_irec	*irec)
irec               96 fs/xfs/libxfs/xfs_refcount.c 	irec->rc_startblock = be32_to_cpu(rec->refc.rc_startblock);
irec               97 fs/xfs/libxfs/xfs_refcount.c 	irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount);
irec               98 fs/xfs/libxfs/xfs_refcount.c 	irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount);
irec              107 fs/xfs/libxfs/xfs_refcount.c 	struct xfs_refcount_irec	*irec,
irec              120 fs/xfs/libxfs/xfs_refcount.c 	xfs_refcount_btrec_to_irec(rec, irec);
irec              123 fs/xfs/libxfs/xfs_refcount.c 	if (irec->rc_blockcount == 0 || irec->rc_blockcount > MAXREFCEXTLEN)
irec              127 fs/xfs/libxfs/xfs_refcount.c 	realstart = irec->rc_startblock;
irec              129 fs/xfs/libxfs/xfs_refcount.c 		if (irec->rc_refcount != 1)
irec              132 fs/xfs/libxfs/xfs_refcount.c 	} else if (irec->rc_refcount < 2) {
irec              139 fs/xfs/libxfs/xfs_refcount.c 	if (realstart > realstart + irec->rc_blockcount)
irec              141 fs/xfs/libxfs/xfs_refcount.c 	if (!xfs_verify_agbno(mp, agno, realstart + irec->rc_blockcount - 1))
irec              144 fs/xfs/libxfs/xfs_refcount.c 	if (irec->rc_refcount == 0 || irec->rc_refcount > MAXREFCOUNT)
irec              147 fs/xfs/libxfs/xfs_refcount.c 	trace_xfs_refcount_get(cur->bc_mp, cur->bc_private.a.agno, irec);
irec              155 fs/xfs/libxfs/xfs_refcount.c 		irec->rc_startblock, irec->rc_blockcount, irec->rc_refcount);
irec              167 fs/xfs/libxfs/xfs_refcount.c 	struct xfs_refcount_irec	*irec)
irec              172 fs/xfs/libxfs/xfs_refcount.c 	trace_xfs_refcount_update(cur->bc_mp, cur->bc_private.a.agno, irec);
irec              173 fs/xfs/libxfs/xfs_refcount.c 	rec.refc.rc_startblock = cpu_to_be32(irec->rc_startblock);
irec              174 fs/xfs/libxfs/xfs_refcount.c 	rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount);
irec              175 fs/xfs/libxfs/xfs_refcount.c 	rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount);
irec              191 fs/xfs/libxfs/xfs_refcount.c 	struct xfs_refcount_irec	*irec,
irec              196 fs/xfs/libxfs/xfs_refcount.c 	trace_xfs_refcount_insert(cur->bc_mp, cur->bc_private.a.agno, irec);
irec              197 fs/xfs/libxfs/xfs_refcount.c 	cur->bc_rec.rc.rc_startblock = irec->rc_startblock;
irec              198 fs/xfs/libxfs/xfs_refcount.c 	cur->bc_rec.rc.rc_blockcount = irec->rc_blockcount;
irec              199 fs/xfs/libxfs/xfs_refcount.c 	cur->bc_rec.rc.rc_refcount = irec->rc_refcount;
irec              223 fs/xfs/libxfs/xfs_refcount.c 	struct xfs_refcount_irec	irec;
irec              227 fs/xfs/libxfs/xfs_refcount.c 	error = xfs_refcount_get_rec(cur, &irec, &found_rec);
irec              231 fs/xfs/libxfs/xfs_refcount.c 	trace_xfs_refcount_delete(cur->bc_mp, cur->bc_private.a.agno, &irec);
irec              236 fs/xfs/libxfs/xfs_refcount.c 	error = xfs_refcount_lookup_ge(cur, irec.rc_startblock, &found_rec);
irec               16 fs/xfs/libxfs/xfs_refcount.h 		struct xfs_refcount_irec *irec, int *stat);
irec               33 fs/xfs/libxfs/xfs_refcount.h 		struct xfs_bmbt_irec *irec);
irec               35 fs/xfs/libxfs/xfs_refcount.h 		struct xfs_bmbt_irec *irec);
irec               75 fs/xfs/libxfs/xfs_refcount.h 		struct xfs_refcount_irec *irec);
irec               77 fs/xfs/libxfs/xfs_refcount.h 		struct xfs_refcount_irec *irec, int *stat);
irec               77 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_rmap_irec	*irec)
irec               83 fs/xfs/libxfs/xfs_rmap.c 			irec->rm_startblock, irec->rm_blockcount,
irec               84 fs/xfs/libxfs/xfs_rmap.c 			irec->rm_owner, irec->rm_offset, irec->rm_flags);
irec               86 fs/xfs/libxfs/xfs_rmap.c 	rec.rmap.rm_startblock = cpu_to_be32(irec->rm_startblock);
irec               87 fs/xfs/libxfs/xfs_rmap.c 	rec.rmap.rm_blockcount = cpu_to_be32(irec->rm_blockcount);
irec               88 fs/xfs/libxfs/xfs_rmap.c 	rec.rmap.rm_owner = cpu_to_be64(irec->rm_owner);
irec               90 fs/xfs/libxfs/xfs_rmap.c 			xfs_rmap_irec_offset_pack(irec));
irec              169 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_rmap_irec	*irec)
irec              171 fs/xfs/libxfs/xfs_rmap.c 	irec->rm_startblock = be32_to_cpu(rec->rmap.rm_startblock);
irec              172 fs/xfs/libxfs/xfs_rmap.c 	irec->rm_blockcount = be32_to_cpu(rec->rmap.rm_blockcount);
irec              173 fs/xfs/libxfs/xfs_rmap.c 	irec->rm_owner = be64_to_cpu(rec->rmap.rm_owner);
irec              175 fs/xfs/libxfs/xfs_rmap.c 			irec);
irec              184 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_rmap_irec	*irec,
irec              196 fs/xfs/libxfs/xfs_rmap.c 	if (xfs_rmap_btrec_to_irec(rec, irec))
irec              199 fs/xfs/libxfs/xfs_rmap.c 	if (irec->rm_blockcount == 0)
irec              201 fs/xfs/libxfs/xfs_rmap.c 	if (irec->rm_startblock <= XFS_AGFL_BLOCK(mp)) {
irec              202 fs/xfs/libxfs/xfs_rmap.c 		if (irec->rm_owner != XFS_RMAP_OWN_FS)
irec              204 fs/xfs/libxfs/xfs_rmap.c 		if (irec->rm_blockcount != XFS_AGFL_BLOCK(mp) + 1)
irec              208 fs/xfs/libxfs/xfs_rmap.c 		if (!xfs_verify_agbno(mp, agno, irec->rm_startblock))
irec              210 fs/xfs/libxfs/xfs_rmap.c 		if (irec->rm_startblock >
irec              211 fs/xfs/libxfs/xfs_rmap.c 				irec->rm_startblock + irec->rm_blockcount)
irec              214 fs/xfs/libxfs/xfs_rmap.c 				irec->rm_startblock + irec->rm_blockcount - 1))
irec              218 fs/xfs/libxfs/xfs_rmap.c 	if (!(xfs_verify_ino(mp, irec->rm_owner) ||
irec              219 fs/xfs/libxfs/xfs_rmap.c 	      (irec->rm_owner <= XFS_RMAP_OWN_FS &&
irec              220 fs/xfs/libxfs/xfs_rmap.c 	       irec->rm_owner >= XFS_RMAP_OWN_MIN)))
irec              230 fs/xfs/libxfs/xfs_rmap.c 		irec->rm_owner, irec->rm_flags, irec->rm_startblock,
irec              231 fs/xfs/libxfs/xfs_rmap.c 		irec->rm_blockcount);
irec              237 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_rmap_irec	*irec;
irec              262 fs/xfs/libxfs/xfs_rmap.c 	*info->irec = *rec;
irec              279 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_rmap_irec	*irec,
irec              299 fs/xfs/libxfs/xfs_rmap.c 	info.irec = irec;
irec              311 fs/xfs/libxfs/xfs_rmap.c 				cur->bc_private.a.agno, irec->rm_startblock,
irec              312 fs/xfs/libxfs/xfs_rmap.c 				irec->rm_blockcount, irec->rm_owner,
irec              313 fs/xfs/libxfs/xfs_rmap.c 				irec->rm_offset, irec->rm_flags);
irec              339 fs/xfs/libxfs/xfs_rmap.c 	*info->irec = *rec;
irec              357 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_rmap_irec	*irec,
irec              372 fs/xfs/libxfs/xfs_rmap.c 	info.irec = irec;
irec              383 fs/xfs/libxfs/xfs_rmap.c 				cur->bc_private.a.agno, irec->rm_startblock,
irec              384 fs/xfs/libxfs/xfs_rmap.c 				irec->rm_blockcount, irec->rm_owner,
irec              385 fs/xfs/libxfs/xfs_rmap.c 				irec->rm_offset, irec->rm_flags);
irec              677 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_rmap_irec	*irec,
irec              681 fs/xfs/libxfs/xfs_rmap.c 	if (irec->rm_owner == XFS_RMAP_OWN_NULL)
irec              683 fs/xfs/libxfs/xfs_rmap.c 	if (irec->rm_owner != owner)
irec              686 fs/xfs/libxfs/xfs_rmap.c 	    (irec->rm_flags & XFS_RMAP_UNWRITTEN))
irec              689 fs/xfs/libxfs/xfs_rmap.c 	    (irec->rm_flags & XFS_RMAP_ATTR_FORK))
irec              692 fs/xfs/libxfs/xfs_rmap.c 	    (irec->rm_flags & XFS_RMAP_BMBT_BLOCK))
irec             2083 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_rmap_irec			irec;
irec             2086 fs/xfs/libxfs/xfs_rmap.c 	error = xfs_rmap_btrec_to_irec(rec, &irec);
irec             2089 fs/xfs/libxfs/xfs_rmap.c 	return query->fn(cur, &irec, query->priv);
irec             2463 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_rmap_irec		irec;
irec             2479 fs/xfs/libxfs/xfs_rmap.c 	error = xfs_rmap_get_rec(cur, &irec, &has_record);
irec             2487 fs/xfs/libxfs/xfs_rmap.c 	*has_rmap = (irec.rm_owner == owner && irec.rm_startblock <= bno &&
irec             2488 fs/xfs/libxfs/xfs_rmap.c 		     irec.rm_startblock + irec.rm_blockcount >= bno + len);
irec               49 fs/xfs/libxfs/xfs_rmap.h 	const struct xfs_rmap_irec	*irec)
irec               53 fs/xfs/libxfs/xfs_rmap.h 	x = XFS_RMAP_OFF(irec->rm_offset);
irec               54 fs/xfs/libxfs/xfs_rmap.h 	if (irec->rm_flags & XFS_RMAP_ATTR_FORK)
irec               56 fs/xfs/libxfs/xfs_rmap.h 	if (irec->rm_flags & XFS_RMAP_BMBT_BLOCK)
irec               58 fs/xfs/libxfs/xfs_rmap.h 	if (irec->rm_flags & XFS_RMAP_UNWRITTEN)
irec               66 fs/xfs/libxfs/xfs_rmap.h 	struct xfs_rmap_irec	*irec)
irec               70 fs/xfs/libxfs/xfs_rmap.h 	irec->rm_offset = XFS_RMAP_OFF(offset);
irec               71 fs/xfs/libxfs/xfs_rmap.h 	irec->rm_flags = 0;
irec               73 fs/xfs/libxfs/xfs_rmap.h 		irec->rm_flags |= XFS_RMAP_ATTR_FORK;
irec               75 fs/xfs/libxfs/xfs_rmap.h 		irec->rm_flags |= XFS_RMAP_BMBT_BLOCK;
irec               77 fs/xfs/libxfs/xfs_rmap.h 		irec->rm_flags |= XFS_RMAP_UNWRITTEN;
irec              131 fs/xfs/libxfs/xfs_rmap.h int xfs_rmap_get_rec(struct xfs_btree_cur *cur, struct xfs_rmap_irec *irec,
irec              186 fs/xfs/libxfs/xfs_rmap.h 		struct xfs_rmap_irec *irec, int	*stat);
irec              189 fs/xfs/libxfs/xfs_rmap.h 		struct xfs_rmap_irec *irec, int	*stat);
irec              194 fs/xfs/libxfs/xfs_rmap.h 		struct xfs_rmap_irec *irec);
irec               86 fs/xfs/scrub/bmap.c 	struct xfs_bmbt_irec	*irec,
irec              106 fs/xfs/scrub/bmap.c 		offset = irec->br_startoff;
irec              141 fs/xfs/scrub/bmap.c 			irec->br_startoff);
irec              149 fs/xfs/scrub/bmap.c 	struct xfs_bmbt_irec	*irec,
irec              165 fs/xfs/scrub/bmap.c 	if (!xchk_bmap_get_rmap(info, irec, agbno, owner, &rmap))
irec              171 fs/xfs/scrub/bmap.c 	    agbno + irec->br_blockcount > rmap_end)
irec              173 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              183 fs/xfs/scrub/bmap.c 		if (rmap.rm_offset > irec->br_startoff ||
irec              184 fs/xfs/scrub/bmap.c 		    irec->br_startoff + irec->br_blockcount > rmap_end)
irec              186 fs/xfs/scrub/bmap.c 					info->whichfork, irec->br_startoff);
irec              191 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              201 fs/xfs/scrub/bmap.c 	    irec->br_state == XFS_EXT_UNWRITTEN &&
irec              204 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              209 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              212 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              220 fs/xfs/scrub/bmap.c 	struct xfs_bmbt_irec	*irec)
irec              222 fs/xfs/scrub/bmap.c 	xchk_xref_is_used_rt_space(info->sc, irec->br_startblock,
irec              223 fs/xfs/scrub/bmap.c 			irec->br_blockcount);
irec              231 fs/xfs/scrub/bmap.c 	struct xfs_bmbt_irec	*irec)
irec              239 fs/xfs/scrub/bmap.c 	agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock);
irec              240 fs/xfs/scrub/bmap.c 	agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock);
irec              241 fs/xfs/scrub/bmap.c 	len = irec->br_blockcount;
irec              245 fs/xfs/scrub/bmap.c 			irec->br_startoff, &error))
irec              250 fs/xfs/scrub/bmap.c 	xchk_bmap_xref_rmap(info, irec, agbno);
irec              258 fs/xfs/scrub/bmap.c 				irec->br_blockcount);
irec              262 fs/xfs/scrub/bmap.c 				irec->br_blockcount);
irec              277 fs/xfs/scrub/bmap.c 	struct xfs_bmbt_irec	*irec)
irec              285 fs/xfs/scrub/bmap.c 	if (!xfs_verify_dablk(mp, irec->br_startoff))
irec              287 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              289 fs/xfs/scrub/bmap.c 	off = irec->br_startoff + irec->br_blockcount - 1;
irec              299 fs/xfs/scrub/bmap.c 	struct xfs_bmbt_irec	*irec)
irec              309 fs/xfs/scrub/bmap.c 	if (irec->br_startoff < info->lastoff)
irec              311 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              313 fs/xfs/scrub/bmap.c 	xchk_bmap_dirattr_extent(ip, info, irec);
irec              316 fs/xfs/scrub/bmap.c 	if (irec->br_startblock == HOLESTARTBLOCK)
irec              318 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              324 fs/xfs/scrub/bmap.c 	if (isnullstartblock(irec->br_startblock))
irec              326 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              329 fs/xfs/scrub/bmap.c 	if (irec->br_blockcount > MAXEXTLEN)
irec              331 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              332 fs/xfs/scrub/bmap.c 	if (irec->br_startblock + irec->br_blockcount <= irec->br_startblock)
irec              334 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              335 fs/xfs/scrub/bmap.c 	end = irec->br_startblock + irec->br_blockcount - 1;
irec              337 fs/xfs/scrub/bmap.c 	    (!xfs_verify_rtbno(mp, irec->br_startblock) ||
irec              340 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              342 fs/xfs/scrub/bmap.c 	    (!xfs_verify_fsbno(mp, irec->br_startblock) ||
irec              344 fs/xfs/scrub/bmap.c 	     XFS_FSB_TO_AGNO(mp, irec->br_startblock) !=
irec              347 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              350 fs/xfs/scrub/bmap.c 	if (irec->br_state == XFS_EXT_UNWRITTEN &&
irec              353 fs/xfs/scrub/bmap.c 				irec->br_startoff);
irec              359 fs/xfs/scrub/bmap.c 		xchk_bmap_rt_iextent_xref(ip, info, irec);
irec              361 fs/xfs/scrub/bmap.c 		xchk_bmap_iextent_xref(ip, info, irec);
irec              363 fs/xfs/scrub/bmap.c 	info->lastoff = irec->br_startoff + irec->br_blockcount;
irec              373 fs/xfs/scrub/bmap.c 	struct xfs_bmbt_irec	irec;
irec              409 fs/xfs/scrub/bmap.c 	xfs_bmbt_disk_get_all(&rec->bmbt, &irec);
irec              410 fs/xfs/scrub/bmap.c 	if (!xfs_iext_lookup_extent(ip, ifp, irec.br_startoff, &icur,
irec              412 fs/xfs/scrub/bmap.c 	    irec.br_startoff != iext_irec.br_startoff ||
irec              413 fs/xfs/scrub/bmap.c 	    irec.br_startblock != iext_irec.br_startblock ||
irec              414 fs/xfs/scrub/bmap.c 	    irec.br_blockcount != iext_irec.br_blockcount ||
irec              415 fs/xfs/scrub/bmap.c 	    irec.br_state != iext_irec.br_state)
irec              417 fs/xfs/scrub/bmap.c 				irec.br_startoff);
irec              465 fs/xfs/scrub/bmap.c 	struct xfs_bmbt_irec		irec;
irec              488 fs/xfs/scrub/bmap.c 			&sbcri->icur, &irec);
irec              500 fs/xfs/scrub/bmap.c 		if (irec.br_startoff != rec->rm_offset)
irec              503 fs/xfs/scrub/bmap.c 		if (irec.br_startblock != XFS_AGB_TO_FSB(sc->mp,
irec              507 fs/xfs/scrub/bmap.c 		if (irec.br_blockcount > rec->rm_blockcount)
irec              512 fs/xfs/scrub/bmap.c 		rec->rm_startblock += irec.br_blockcount;
irec              513 fs/xfs/scrub/bmap.c 		rec->rm_offset += irec.br_blockcount;
irec              514 fs/xfs/scrub/bmap.c 		rec->rm_blockcount -= irec.br_blockcount;
irec              517 fs/xfs/scrub/bmap.c 		have_map = xfs_iext_next_extent(ifp, &sbcri->icur, &irec);
irec              626 fs/xfs/scrub/bmap.c 	struct xfs_bmbt_irec	irec;
irec              704 fs/xfs/scrub/bmap.c 	for_each_xfs_iext(ifp, &icur, &irec) {
irec              708 fs/xfs/scrub/bmap.c 		if (isnullstartblock(irec.br_startblock))
irec              710 fs/xfs/scrub/bmap.c 		if (irec.br_startoff >= endoff) {
irec              712 fs/xfs/scrub/bmap.c 					irec.br_startoff);
irec              715 fs/xfs/scrub/bmap.c 		error = xchk_bmap_iextent(ip, &info, &irec);
irec               59 fs/xfs/scrub/ialloc.c 	struct xfs_inobt_rec_incore	*irec,
irec               75 fs/xfs/scrub/ialloc.c 	if (((irec->ir_freecount > 0 && !has_irec) ||
irec               76 fs/xfs/scrub/ialloc.c 	     (irec->ir_freecount == 0 && has_irec)))
irec               84 fs/xfs/scrub/ialloc.c 	struct xfs_inobt_rec_incore	*irec,
irec               93 fs/xfs/scrub/ialloc.c 	xchk_iallocbt_chunk_xref_other(sc, irec, agino);
irec              102 fs/xfs/scrub/ialloc.c 	struct xfs_inobt_rec_incore	*irec,
irec              116 fs/xfs/scrub/ialloc.c 	xchk_iallocbt_chunk_xref(bs->sc, irec, agino, bno, len);
irec              147 fs/xfs/scrub/ialloc.c 	struct xfs_inobt_rec_incore	*irec,
irec              166 fs/xfs/scrub/ialloc.c 	agino = irec->ir_startino + irec_ino;
irec              168 fs/xfs/scrub/ialloc.c 	irec_free = (irec->ir_free & XFS_INOBT_MASK(irec_ino));
irec              210 fs/xfs/scrub/ialloc.c 	struct xfs_inobt_rec_incore	*irec,
irec              229 fs/xfs/scrub/ialloc.c 	agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino + cluster_base);
irec              245 fs/xfs/scrub/ialloc.c 	ir_holemask = (irec->ir_holemask & cluster_mask);
irec              248 fs/xfs/scrub/ialloc.c 	imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) <<
irec              257 fs/xfs/scrub/ialloc.c 	trace_xchk_iallocbt_check_cluster(mp, agno, irec->ir_startino,
irec              260 fs/xfs/scrub/ialloc.c 			XFS_INO_TO_OFFSET(mp, irec->ir_startino +
irec              296 fs/xfs/scrub/ialloc.c 		error = xchk_iallocbt_check_cluster_ifree(bs, irec,
irec              315 fs/xfs/scrub/ialloc.c 	struct xfs_inobt_rec_incore	*irec)
irec              330 fs/xfs/scrub/ialloc.c 		error = xchk_iallocbt_check_cluster(bs, irec, cluster_base);
irec              347 fs/xfs/scrub/ialloc.c 	struct xfs_inobt_rec_incore	*irec)
irec              370 fs/xfs/scrub/ialloc.c 		if (irec->ir_startino & imask)
irec              381 fs/xfs/scrub/ialloc.c 		if (irec->ir_startino != iabt->next_startino) {
irec              397 fs/xfs/scrub/ialloc.c 	if (irec->ir_startino & (igeo->cluster_align_inodes - 1)) {
irec              402 fs/xfs/scrub/ialloc.c 	if (irec->ir_startino & (igeo->inodes_per_cluster - 1)) {
irec              415 fs/xfs/scrub/ialloc.c 	iabt->next_startino = irec->ir_startino + XFS_INODES_PER_CHUNK;
irec              416 fs/xfs/scrub/ialloc.c 	iabt->next_cluster_ino = irec->ir_startino + igeo->inodes_per_cluster;
irec              427 fs/xfs/scrub/ialloc.c 	struct xfs_inobt_rec_incore	irec;
irec              438 fs/xfs/scrub/ialloc.c 	xfs_inobt_btrec_to_irec(mp, rec, &irec);
irec              440 fs/xfs/scrub/ialloc.c 	if (irec.ir_count > XFS_INODES_PER_CHUNK ||
irec              441 fs/xfs/scrub/ialloc.c 	    irec.ir_freecount > XFS_INODES_PER_CHUNK)
irec              444 fs/xfs/scrub/ialloc.c 	real_freecount = irec.ir_freecount +
irec              445 fs/xfs/scrub/ialloc.c 			(XFS_INODES_PER_CHUNK - irec.ir_count);
irec              446 fs/xfs/scrub/ialloc.c 	if (real_freecount != xchk_iallocbt_freecount(irec.ir_free))
irec              449 fs/xfs/scrub/ialloc.c 	agino = irec.ir_startino;
irec              457 fs/xfs/scrub/ialloc.c 	xchk_iallocbt_rec_alignment(bs, &irec);
irec              461 fs/xfs/scrub/ialloc.c 	iabt->inodes += irec.ir_count;
irec              464 fs/xfs/scrub/ialloc.c 	if (!xfs_inobt_issparse(irec.ir_holemask)) {
irec              467 fs/xfs/scrub/ialloc.c 		if (irec.ir_count != XFS_INODES_PER_CHUNK)
irec              470 fs/xfs/scrub/ialloc.c 		if (!xchk_iallocbt_chunk(bs, &irec, agino, len))
irec              476 fs/xfs/scrub/ialloc.c 	holemask = irec.ir_holemask;
irec              480 fs/xfs/scrub/ialloc.c 	holes = ~xfs_inobt_irec_to_allocmask(&irec);
irec              481 fs/xfs/scrub/ialloc.c 	if ((holes & irec.ir_free) != holes ||
irec              482 fs/xfs/scrub/ialloc.c 	    irec.ir_freecount > irec.ir_count)
irec              488 fs/xfs/scrub/ialloc.c 		else if (!xchk_iallocbt_chunk(bs, &irec, agino, len))
irec              495 fs/xfs/scrub/ialloc.c 	    holecount + irec.ir_count != XFS_INODES_PER_CHUNK)
irec              499 fs/xfs/scrub/ialloc.c 	error = xchk_iallocbt_check_clusters(bs, &irec);
irec              189 fs/xfs/scrub/quota.c 	struct xfs_bmbt_irec	irec = { 0 };
irec              204 fs/xfs/scrub/quota.c 	for_each_xfs_iext(ifp, &icur, &irec) {
irec              211 fs/xfs/scrub/quota.c 		if (isnullstartblock(irec.br_startblock) ||
irec              212 fs/xfs/scrub/quota.c 		    irec.br_startoff > max_dqid_off ||
irec              213 fs/xfs/scrub/quota.c 		    irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) {
irec              215 fs/xfs/scrub/quota.c 					irec.br_startoff);
irec               36 fs/xfs/scrub/rmap.c 	struct xfs_rmap_irec	*irec)
irec               49 fs/xfs/scrub/rmap.c 	non_inode = XFS_RMAP_NON_INODE_OWNER(irec->rm_owner);
irec               50 fs/xfs/scrub/rmap.c 	is_bmbt = irec->rm_flags & XFS_RMAP_BMBT_BLOCK;
irec               51 fs/xfs/scrub/rmap.c 	is_attr = irec->rm_flags & XFS_RMAP_ATTR_FORK;
irec               52 fs/xfs/scrub/rmap.c 	is_unwritten = irec->rm_flags & XFS_RMAP_UNWRITTEN;
irec               55 fs/xfs/scrub/rmap.c 	error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock,
irec               56 fs/xfs/scrub/rmap.c 			irec->rm_blockcount, &fbno, &flen, false);
irec               67 fs/xfs/scrub/rmap.c 	struct xfs_rmap_irec	*irec)
irec               69 fs/xfs/scrub/rmap.c 	xfs_agblock_t		agbno = irec->rm_startblock;
irec               70 fs/xfs/scrub/rmap.c 	xfs_extlen_t		len = irec->rm_blockcount;
irec               76 fs/xfs/scrub/rmap.c 	if (irec->rm_owner == XFS_RMAP_OWN_INODES)
irec               80 fs/xfs/scrub/rmap.c 	if (irec->rm_owner == XFS_RMAP_OWN_COW)
irec               81 fs/xfs/scrub/rmap.c 		xchk_xref_is_cow_staging(sc, irec->rm_startblock,
irec               82 fs/xfs/scrub/rmap.c 				irec->rm_blockcount);
irec               84 fs/xfs/scrub/rmap.c 		xchk_rmapbt_xref_refc(sc, irec);
irec               94 fs/xfs/scrub/rmap.c 	struct xfs_rmap_irec	irec;
irec              102 fs/xfs/scrub/rmap.c 	error = xfs_rmap_btrec_to_irec(rec, &irec);
irec              107 fs/xfs/scrub/rmap.c 	if (irec.rm_startblock + irec.rm_blockcount <= irec.rm_startblock)
irec              110 fs/xfs/scrub/rmap.c 	if (irec.rm_owner == XFS_RMAP_OWN_FS) {
irec              116 fs/xfs/scrub/rmap.c 		if (irec.rm_startblock != 0 ||
irec              117 fs/xfs/scrub/rmap.c 		    irec.rm_blockcount != XFS_AGFL_BLOCK(mp) + 1)
irec              124 fs/xfs/scrub/rmap.c 		if (!xfs_verify_agbno(mp, agno, irec.rm_startblock) ||
irec              125 fs/xfs/scrub/rmap.c 		    !xfs_verify_agbno(mp, agno, irec.rm_startblock +
irec              126 fs/xfs/scrub/rmap.c 				irec.rm_blockcount - 1))
irec              131 fs/xfs/scrub/rmap.c 	non_inode = XFS_RMAP_NON_INODE_OWNER(irec.rm_owner);
irec              132 fs/xfs/scrub/rmap.c 	is_bmbt = irec.rm_flags & XFS_RMAP_BMBT_BLOCK;
irec              133 fs/xfs/scrub/rmap.c 	is_attr = irec.rm_flags & XFS_RMAP_ATTR_FORK;
irec              134 fs/xfs/scrub/rmap.c 	is_unwritten = irec.rm_flags & XFS_RMAP_UNWRITTEN;
irec              136 fs/xfs/scrub/rmap.c 	if (is_bmbt && irec.rm_offset != 0)
irec              139 fs/xfs/scrub/rmap.c 	if (non_inode && irec.rm_offset != 0)
irec              149 fs/xfs/scrub/rmap.c 		if (!xfs_verify_ino(mp, irec.rm_owner))
irec              153 fs/xfs/scrub/rmap.c 		if (irec.rm_owner <= XFS_RMAP_OWN_MIN ||
irec              154 fs/xfs/scrub/rmap.c 		    irec.rm_owner > XFS_RMAP_OWN_FS)
irec              158 fs/xfs/scrub/rmap.c 	xchk_rmapbt_xref(bs->sc, &irec);
irec              732 fs/xfs/scrub/trace.h 		 struct xfs_refcount_irec *irec),
irec              733 fs/xfs/scrub/trace.h 	TP_ARGS(mp, agno, irec),
irec              744 fs/xfs/scrub/trace.h 		__entry->startblock = irec->rc_startblock;
irec              745 fs/xfs/scrub/trace.h 		__entry->blockcount = irec->rc_blockcount;
irec              746 fs/xfs/scrub/trace.h 		__entry->refcount = irec->rc_refcount;
irec              450 fs/xfs/xfs_bmap_item.c 	struct xfs_bmbt_irec		irec;
irec              541 fs/xfs/xfs_bmap_item.c 		irec.br_startblock = bmap->me_startblock;
irec              542 fs/xfs/xfs_bmap_item.c 		irec.br_blockcount = count;
irec              543 fs/xfs/xfs_bmap_item.c 		irec.br_startoff = bmap->me_startoff;
irec              544 fs/xfs/xfs_bmap_item.c 		irec.br_state = state;
irec              545 fs/xfs/xfs_bmap_item.c 		xfs_bmap_unmap_extent(tp, ip, &irec);
irec             1474 fs/xfs/xfs_bmap_util.c 	struct xfs_bmbt_irec		irec;
irec             1521 fs/xfs/xfs_bmap_util.c 					tirec.br_blockcount, &irec,
irec             1526 fs/xfs/xfs_bmap_util.c 			ASSERT(tirec.br_startoff == irec.br_startoff);
irec             1527 fs/xfs/xfs_bmap_util.c 			trace_xfs_swap_extent_rmap_remap_piece(ip, &irec);
irec             1533 fs/xfs/xfs_bmap_util.c 					irec.br_blockcount);
irec             1540 fs/xfs/xfs_bmap_util.c 			xfs_bmap_unmap_extent(tp, ip, &irec);
irec             1546 fs/xfs/xfs_bmap_util.c 			xfs_bmap_map_extent(tp, tip, &irec);
irec              361 fs/xfs/xfs_fsmap.c 	struct xfs_rmap_irec		irec;
irec              367 fs/xfs/xfs_fsmap.c 	irec.rm_startblock = rec->ar_startblock;
irec              368 fs/xfs/xfs_fsmap.c 	irec.rm_blockcount = rec->ar_blockcount;
irec              369 fs/xfs/xfs_fsmap.c 	irec.rm_owner = XFS_RMAP_OWN_NULL;	/* "free" */
irec              370 fs/xfs/xfs_fsmap.c 	irec.rm_offset = 0;
irec              371 fs/xfs/xfs_fsmap.c 	irec.rm_flags = 0;
irec              373 fs/xfs/xfs_fsmap.c 	return xfs_getfsmap_helper(cur->bc_tp, info, &irec, rec_daddr);
irec              379 fs/xfs/xfs_fsmap.c 	struct xfs_rmap_irec	*irec,
irec              382 fs/xfs/xfs_fsmap.c 	irec->rm_flags = 0;
irec              384 fs/xfs/xfs_fsmap.c 		irec->rm_flags |= XFS_RMAP_ATTR_FORK;
irec              386 fs/xfs/xfs_fsmap.c 		irec->rm_flags |= XFS_RMAP_BMBT_BLOCK;
irec              388 fs/xfs/xfs_fsmap.c 		irec->rm_flags |= XFS_RMAP_UNWRITTEN;
irec              447 fs/xfs/xfs_fsmap.c 	struct xfs_rmap_irec		irec;
irec              450 fs/xfs/xfs_fsmap.c 	irec.rm_startblock = rec->ar_startext * mp->m_sb.sb_rextsize;
irec              451 fs/xfs/xfs_fsmap.c 	rec_daddr = XFS_FSB_TO_BB(mp, irec.rm_startblock);
irec              452 fs/xfs/xfs_fsmap.c 	irec.rm_blockcount = rec->ar_extcount * mp->m_sb.sb_rextsize;
irec              453 fs/xfs/xfs_fsmap.c 	irec.rm_owner = XFS_RMAP_OWN_NULL;	/* "free" */
irec              454 fs/xfs/xfs_fsmap.c 	irec.rm_offset = 0;
irec              455 fs/xfs/xfs_fsmap.c 	irec.rm_flags = 0;
irec              457 fs/xfs/xfs_fsmap.c 	return xfs_getfsmap_helper(tp, info, &irec, rec_daddr);
irec              332 fs/xfs/xfs_itable.c 	const struct xfs_inobt_rec_incore *irec,
irec              336 fs/xfs/xfs_itable.c 		.xi_startino	= XFS_AGINO_TO_INO(mp, agno, irec->ir_startino),
irec              337 fs/xfs/xfs_itable.c 		.xi_alloccount	= irec->ir_count - irec->ir_freecount,
irec              338 fs/xfs/xfs_itable.c 		.xi_allocmask	= ~irec->ir_free,
irec              348 fs/xfs/xfs_itable.c 	ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) +
irec               91 fs/xfs/xfs_iwalk.c 	struct xfs_inobt_rec_incore	*irec)
irec               98 fs/xfs/xfs_iwalk.c 	agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino);
irec              105 fs/xfs/xfs_iwalk.c 		if (imask & ~irec->ir_free) {
irec              123 fs/xfs/xfs_iwalk.c 	struct xfs_inobt_rec_incore	*irec)	/* btree record */
irec              128 fs/xfs/xfs_iwalk.c 	idx = agino - irec->ir_startino;
irec              136 fs/xfs/xfs_iwalk.c 		if (XFS_INOBT_MASK(i) & ~irec->ir_free)
irec              137 fs/xfs/xfs_iwalk.c 			irec->ir_freecount++;
irec              140 fs/xfs/xfs_iwalk.c 	irec->ir_free |= xfs_inobt_maskn(0, idx);
irec              185 fs/xfs/xfs_iwalk.c 		struct xfs_inobt_rec_incore	*irec = &iwag->recs[i];
irec              187 fs/xfs/xfs_iwalk.c 		trace_xfs_iwalk_ag_rec(mp, agno, irec);
irec              193 fs/xfs/xfs_iwalk.c 			error = iwag->inobt_walk_fn(mp, tp, agno, irec,
irec              207 fs/xfs/xfs_iwalk.c 			if (XFS_INOBT_MASK(j) & irec->ir_free)
irec              211 fs/xfs/xfs_iwalk.c 			ino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino + j);
irec              265 fs/xfs/xfs_iwalk.c 	struct xfs_inobt_rec_incore *irec;
irec              297 fs/xfs/xfs_iwalk.c 	irec = &iwag->recs[iwag->nr_recs];
irec              298 fs/xfs/xfs_iwalk.c 	error = xfs_inobt_get_rec(*curpp, irec, has_more);
irec              307 fs/xfs/xfs_iwalk.c 	if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino)
irec              315 fs/xfs/xfs_iwalk.c 		xfs_iwalk_adjust_start(agino, irec);
irec              348 fs/xfs/xfs_iwalk.c 	struct xfs_inobt_rec_incore	*irec;
irec              356 fs/xfs/xfs_iwalk.c 	irec = &iwag->recs[iwag->nr_recs - 1];
irec              357 fs/xfs/xfs_iwalk.c 	restart = irec->ir_startino + XFS_INODES_PER_CHUNK - 1;
irec              397 fs/xfs/xfs_iwalk.c 		struct xfs_inobt_rec_incore	*irec;
irec              404 fs/xfs/xfs_iwalk.c 		irec = &iwag->recs[iwag->nr_recs];
irec              405 fs/xfs/xfs_iwalk.c 		error = xfs_inobt_get_rec(cur, irec, &has_more);
irec              410 fs/xfs/xfs_iwalk.c 		if (iwag->skip_empty && irec->ir_freecount == irec->ir_count) {
irec              422 fs/xfs/xfs_iwalk.c 			xfs_iwalk_ichunk_ra(mp, agno, irec);
irec               36 fs/xfs/xfs_iwalk.h 				 const struct xfs_inobt_rec_incore *irec,
irec              463 fs/xfs/xfs_refcount_item.c 	struct xfs_bmbt_irec		irec;
irec              554 fs/xfs/xfs_refcount_item.c 			irec.br_startblock = new_fsb;
irec              555 fs/xfs/xfs_refcount_item.c 			irec.br_blockcount = new_len;
irec              558 fs/xfs/xfs_refcount_item.c 				xfs_refcount_increase_extent(tp, &irec);
irec              561 fs/xfs/xfs_refcount_item.c 				xfs_refcount_decrease_extent(tp, &irec);
irec              565 fs/xfs/xfs_refcount_item.c 						irec.br_startblock,
irec              566 fs/xfs/xfs_refcount_item.c 						irec.br_blockcount);
irec              570 fs/xfs/xfs_refcount_item.c 						irec.br_startblock,
irec              571 fs/xfs/xfs_refcount_item.c 						irec.br_blockcount);
irec              173 fs/xfs/xfs_reflink.c 	struct xfs_bmbt_irec	*irec,
irec              184 fs/xfs/xfs_reflink.c 	if (!xfs_is_cow_inode(ip) || !xfs_bmap_is_real_extent(irec)) {
irec              189 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_trim_around_shared(ip, irec);
irec              191 fs/xfs/xfs_reflink.c 	agno = XFS_FSB_TO_AGNO(ip->i_mount, irec->br_startblock);
irec              192 fs/xfs/xfs_reflink.c 	agbno = XFS_FSB_TO_AGBNO(ip->i_mount, irec->br_startblock);
irec              193 fs/xfs/xfs_reflink.c 	aglen = irec->br_blockcount;
irec              211 fs/xfs/xfs_reflink.c 		irec->br_blockcount = flen;
irec              221 fs/xfs/xfs_reflink.c 		irec->br_blockcount = fbno - agbno;
irec              996 fs/xfs/xfs_reflink.c 	struct xfs_bmbt_irec	*irec,
irec             1001 fs/xfs/xfs_reflink.c 	bool			real_extent = xfs_bmap_is_real_extent(irec);
irec             1010 fs/xfs/xfs_reflink.c 	unmap_len = irec->br_startoff + irec->br_blockcount - destoff;
irec             1016 fs/xfs/xfs_reflink.c 				XFS_FSB_TO_AGNO(mp, irec->br_startblock));
irec             1033 fs/xfs/xfs_reflink.c 				irec->br_blockcount, 0, XFS_QMOPT_RES_REGBLKS);
irec             1038 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_remap(ip, irec->br_startoff,
irec             1039 fs/xfs/xfs_reflink.c 				irec->br_blockcount, irec->br_startblock);
irec             1053 fs/xfs/xfs_reflink.c 		uirec.br_startblock = irec->br_startblock + rlen;
irec             1054 fs/xfs/xfs_reflink.c 		uirec.br_startoff = irec->br_startoff + rlen;
irec             1056 fs/xfs/xfs_reflink.c 		uirec.br_state = irec->br_state;
irec               24 fs/xfs/xfs_reflink.h 		struct xfs_bmbt_irec *irec, bool *shared);
irec             1228 fs/xfs/xfs_trace.h 		 int whichfork, struct xfs_bmbt_irec *irec),
irec             1229 fs/xfs/xfs_trace.h 	TP_ARGS(ip, offset, count, whichfork, irec),
irec             1248 fs/xfs/xfs_trace.h 		__entry->startoff = irec ? irec->br_startoff : 0;
irec             1249 fs/xfs/xfs_trace.h 		__entry->startblock = irec ? irec->br_startblock : 0;
irec             1250 fs/xfs/xfs_trace.h 		__entry->blockcount = irec ? irec->br_blockcount : 0;
irec             1268 fs/xfs/xfs_trace.h 		 int whichfork, struct xfs_bmbt_irec *irec),		\
irec             1269 fs/xfs/xfs_trace.h 	TP_ARGS(ip, offset, count, whichfork, irec))
irec             2672 fs/xfs/xfs_trace.h 		 struct xfs_refcount_irec *irec),
irec             2673 fs/xfs/xfs_trace.h 	TP_ARGS(mp, agno, irec),
irec             2684 fs/xfs/xfs_trace.h 		__entry->startblock = irec->rc_startblock;
irec             2685 fs/xfs/xfs_trace.h 		__entry->blockcount = irec->rc_blockcount;
irec             2686 fs/xfs/xfs_trace.h 		__entry->refcount = irec->rc_refcount;
irec             2699 fs/xfs/xfs_trace.h 		 struct xfs_refcount_irec *irec), \
irec             2700 fs/xfs/xfs_trace.h 	TP_ARGS(mp, agno, irec))
irec             2705 fs/xfs/xfs_trace.h 		 struct xfs_refcount_irec *irec, xfs_agblock_t agbno),
irec             2706 fs/xfs/xfs_trace.h 	TP_ARGS(mp, agno, irec, agbno),
irec             2718 fs/xfs/xfs_trace.h 		__entry->startblock = irec->rc_startblock;
irec             2719 fs/xfs/xfs_trace.h 		__entry->blockcount = irec->rc_blockcount;
irec             2720 fs/xfs/xfs_trace.h 		__entry->refcount = irec->rc_refcount;
irec             2735 fs/xfs/xfs_trace.h 		 struct xfs_refcount_irec *irec, xfs_agblock_t agbno), \
irec             2736 fs/xfs/xfs_trace.h 	TP_ARGS(mp, agno, irec, agbno))
irec             3043 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, struct xfs_bmbt_irec *irec),
irec             3044 fs/xfs/xfs_trace.h 	TP_ARGS(ip, irec),
irec             3056 fs/xfs/xfs_trace.h 		__entry->lblk = irec->br_startoff;
irec             3057 fs/xfs/xfs_trace.h 		__entry->len = irec->br_blockcount;
irec             3058 fs/xfs/xfs_trace.h 		__entry->pblk = irec->br_startblock;
irec             3059 fs/xfs/xfs_trace.h 		__entry->state = irec->br_state;
irec             3071 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, struct xfs_bmbt_irec *irec), \
irec             3072 fs/xfs/xfs_trace.h 	TP_ARGS(ip, irec))
irec             3546 fs/xfs/xfs_trace.h 		 struct xfs_inobt_rec_incore *irec),
irec             3547 fs/xfs/xfs_trace.h 	TP_ARGS(mp, agno, irec),
irec             3557 fs/xfs/xfs_trace.h 		__entry->startino = irec->ir_startino;
irec             3558 fs/xfs/xfs_trace.h 		__entry->freemask = irec->ir_free;