Home
last modified time | relevance | path

Searched refs:rm_offset (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_rmap.c49 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_le()
82 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_eq()
102 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update()
107 rec.rmap.rm_offset = cpu_to_be64( in xfs_rmap_update()
142 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
204 return xfs_rmap_irec_offset_unpack(be64_to_cpu(rec->rmap.rm_offset), in xfs_rmap_btrec_to_irec()
245 if (is_bmbt && irec->rm_offset != 0) in xfs_rmap_check_irec()
248 if (!is_inode && irec->rm_offset != 0) in xfs_rmap_check_irec()
259 !xfs_verify_fileext(mp, irec->rm_offset, irec->rm_blockcount)) in xfs_rmap_check_irec()
325 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_find_left_neighbor_helper()
[all …]
H A Dxfs_rmap_btree.c166 return rec->rmap.rm_offset & ~cpu_to_be64(XFS_RMAP_OFF_UNWRITTEN); in ondisk_rec_offset_to_key()
176 key->rmap.rm_offset = ondisk_rec_offset_to_key(rec); in xfs_rmapbt_init_key_from_rec()
199 key->rmap.rm_offset = ondisk_rec_offset_to_key(rec); in xfs_rmapbt_init_high_key_from_rec()
201 XFS_RMAP_IS_BMBT_BLOCK(be64_to_cpu(rec->rmap.rm_offset))) in xfs_rmapbt_init_high_key_from_rec()
203 off = be64_to_cpu(key->rmap.rm_offset); in xfs_rmapbt_init_high_key_from_rec()
205 key->rmap.rm_offset = cpu_to_be64(off); in xfs_rmapbt_init_high_key_from_rec()
216 rec->rmap.rm_offset = cpu_to_be64( in xfs_rmapbt_init_rec_from_cur()
263 x = offset_keymask(be64_to_cpu(kp->rm_offset)); in xfs_rmapbt_key_diff()
301 if (!mask || mask->rmap.rm_offset) { in xfs_rmapbt_diff_two_keys()
305 x = offset_keymask(be64_to_cpu(kp1->rm_offset)); in xfs_rmapbt_diff_two_keys()
[all …]
H A Dxfs_rmap.h55 x = XFS_RMAP_OFF(irec->rm_offset); in xfs_rmap_irec_offset_pack()
73 irec->rm_offset = XFS_RMAP_OFF(offset); in xfs_rmap_irec_offset_unpack()
H A Dxfs_ag.c602 rrec->rm_offset = 0; in xfs_rmaproot_init()
609 rrec->rm_offset = 0; in xfs_rmaproot_init()
617 rrec->rm_offset = 0; in xfs_rmaproot_init()
624 rrec->rm_offset = 0; in xfs_rmaproot_init()
632 rrec->rm_offset = 0; in xfs_rmaproot_init()
644 rrec->rm_offset = 0; in xfs_rmaproot_init()
H A Dxfs_attr_remote.c78 if (offset != be32_to_cpu(rmt->rm_offset)) in xfs_attr3_rmt_hdr_ok()
107 if (be32_to_cpu(rmt->rm_offset) + in xfs_attr3_rmt_verify()
253 rmt->rm_offset = cpu_to_be32(offset); in xfs_attr3_rmt_hdr_set()
H A Dxfs_types.h196 uint64_t rm_offset; /* offset within the owner */ member
H A Dxfs_da_format.h843 __be32 rm_offset; member
H A Dxfs_format.h1531 __be64 rm_offset; /* offset within the owner */ member
1575 __be64 rm_offset; /* offset within the owner */ member
/openbmc/linux/fs/xfs/scrub/
H A Dbmap.c197 if (rmap.rm_offset != irec->br_startoff) in xchk_bmap_xref_rmap()
201 rmap_end = (unsigned long long)rmap.rm_offset + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
559 rec->rm_offset); in xchk_bmap_check_rmap()
562 have_map = xfs_iext_lookup_extent(sc->ip, ifp, rec->rm_offset, in xchk_bmap_check_rmap()
566 rec->rm_offset); in xchk_bmap_check_rmap()
576 if (irec.br_startoff != check_rec.rm_offset) in xchk_bmap_check_rmap()
578 check_rec.rm_offset); in xchk_bmap_check_rmap()
583 check_rec.rm_offset); in xchk_bmap_check_rmap()
586 check_rec.rm_offset); in xchk_bmap_check_rmap()
590 check_rec.rm_offset += irec.br_blockcount; in xchk_bmap_check_rmap()
[all …]
H A Drmap.c161 if (lkey->rmap.rm_offset & badflag) { in xchk_rmapbt_check_unwritten_in_keyflags()
167 if (hkey->rmap.rm_offset & badflag) { in xchk_rmapbt_check_unwritten_in_keyflags()
251 return r1->rm_offset + r1->rm_blockcount == r2->rm_offset; in xchk_rmap_mergeable()
/openbmc/linux/fs/xfs/
H A Dxfs_fsmap.c349 fmr.fmr_offset = XFS_FSB_TO_BB(mp, rec->rm_offset); in xfs_getfsmap_helper()
409 irec.rm_offset = 0; in xfs_getfsmap_datadev_bnobt_helper()
464 rmap.rm_offset = 0; in xfs_getfsmap_logdev()
495 irec.rm_offset = 0; in xfs_getfsmap_rtdev_rtbitmap_helper()
614 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in __xfs_getfsmap_datadev()
627 info->low.rm_offset = 0; in __xfs_getfsmap_datadev()
634 info->low.rm_offset += info->low.rm_blockcount; in __xfs_getfsmap_datadev()
640 info->high.rm_offset = ULLONG_MAX; in __xfs_getfsmap_datadev()
656 info->high.rm_offset = XFS_BB_TO_FSBT(mp, in __xfs_getfsmap_datadev()
H A Dxfs_notify_failure.c39 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset); in xfs_failure_pgoff()
H A Dxfs_trace.h3594 __entry->offset = rmap->rm_offset;
/openbmc/linux/drivers/video/
H A Dsticore.c936 unsigned int i, rm_offset; in sti_try_rom_generic() local
951 rm_offset = le16_to_cpu(i & 0xffff); in sti_try_rom_generic()
952 if (rm_offset) { in sti_try_rom_generic()
955 *rm++ = gsc_readl(address+rm_offset+0x00); in sti_try_rom_generic()
956 *rm++ = gsc_readl(address+rm_offset+0x04); in sti_try_rom_generic()
957 *rm++ = gsc_readl(address+rm_offset+0x08); in sti_try_rom_generic()
958 *rm++ = gsc_readl(address+rm_offset+0x0c); in sti_try_rom_generic()
/openbmc/linux/Documentation/filesystems/
H A Dxfs-online-fsck-design.rst1021 uint64_t rm_offset; /* offset within the owner */