Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_rmap.c53 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_le()
88 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_eq()
107 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update()
112 rec.rmap.rm_offset = cpu_to_be64( in xfs_rmap_update()
146 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
208 return xfs_rmap_irec_offset_unpack(be64_to_cpu(rec->rmap.rm_offset), in xfs_rmap_btrec_to_irec()
249 if (is_bmbt && irec->rm_offset != 0) in xfs_rmap_check_irec()
252 if (!is_inode && irec->rm_offset != 0) in xfs_rmap_check_irec()
263 !xfs_verify_fileext(mp, irec->rm_offset, irec->rm_blockcount)) in xfs_rmap_check_irec()
276 if (irec->rm_offset != 0) in xfs_rtrmap_check_meta_irec()
[all …]
H A Dxfs_rmap_btree.c170 return rec->rmap.rm_offset & ~cpu_to_be64(XFS_RMAP_OFF_UNWRITTEN); in ondisk_rec_offset_to_key()
180 key->rmap.rm_offset = ondisk_rec_offset_to_key(rec); in xfs_rmapbt_init_key_from_rec()
203 key->rmap.rm_offset = ondisk_rec_offset_to_key(rec); in xfs_rmapbt_init_high_key_from_rec()
205 XFS_RMAP_IS_BMBT_BLOCK(be64_to_cpu(rec->rmap.rm_offset))) in xfs_rmapbt_init_high_key_from_rec()
207 off = be64_to_cpu(key->rmap.rm_offset); in xfs_rmapbt_init_high_key_from_rec()
209 key->rmap.rm_offset = cpu_to_be64(off); in xfs_rmapbt_init_high_key_from_rec()
220 rec->rmap.rm_offset = cpu_to_be64( in xfs_rmapbt_init_rec_from_cur()
256 cmp_int(offset_keymask(be64_to_cpu(kp->rm_offset)), in xfs_rmapbt_cmp_key_with_cur()
286 if (!mask || mask->rmap.rm_offset) { in xfs_rmapbt_cmp_two_keys()
290 d = cmp_int(offset_keymask(be64_to_cpu(kp1->rm_offset)), in xfs_rmapbt_cmp_two_keys()
[all …]
H A Dxfs_rtrmap_btree.c123 return rec->rmap.rm_offset & ~cpu_to_be64(XFS_RMAP_OFF_UNWRITTEN); in ondisk_rec_offset_to_key()
133 key->rmap.rm_offset = ondisk_rec_offset_to_key(rec); in xfs_rtrmapbt_init_key_from_rec()
149 key->rmap.rm_offset = ondisk_rec_offset_to_key(rec); in xfs_rtrmapbt_init_high_key_from_rec()
151 XFS_RMAP_IS_BMBT_BLOCK(be64_to_cpu(rec->rmap.rm_offset))) in xfs_rtrmapbt_init_high_key_from_rec()
153 off = be64_to_cpu(key->rmap.rm_offset); in xfs_rtrmapbt_init_high_key_from_rec()
155 key->rmap.rm_offset = cpu_to_be64(off); in xfs_rtrmapbt_init_high_key_from_rec()
166 rec->rmap.rm_offset = cpu_to_be64( in xfs_rtrmapbt_init_rec_from_cur()
198 cmp_int(offset_keymask(be64_to_cpu(kp->rm_offset)), in xfs_rtrmapbt_cmp_key_with_cur()
228 if (!mask || mask->rmap.rm_offset) { in xfs_rtrmapbt_cmp_two_keys()
232 d = cmp_int(offset_keymask(be64_to_cpu(kp1->rm_offset)), in xfs_rtrmapbt_cmp_two_keys()
[all …]
H A Dxfs_ag.c421 rrec->rm_offset = 0; in xfs_rmaproot_init()
428 rrec->rm_offset = 0; in xfs_rmaproot_init()
436 rrec->rm_offset = 0; in xfs_rmaproot_init()
443 rrec->rm_offset = 0; in xfs_rmaproot_init()
451 rrec->rm_offset = 0; in xfs_rmaproot_init()
463 rrec->rm_offset = 0; in xfs_rmaproot_init()
H A Dxfs_rmap.h56 x = XFS_RMAP_OFF(irec->rm_offset); in xfs_rmap_irec_offset_pack()
74 irec->rm_offset = XFS_RMAP_OFF(offset); in xfs_rmap_irec_offset_unpack()
H A Dxfs_attr_remote.c92 if (offset != be32_to_cpu(rmt->rm_offset)) in xfs_attr3_rmt_hdr_ok()
120 if (be32_to_cpu(rmt->rm_offset) + in xfs_attr3_rmt_verify()
266 rmt->rm_offset = cpu_to_be32(offset); in xfs_attr3_rmt_hdr_set()
H A Dxfs_types.h188 uint64_t rm_offset; /* offset within the owner */ member
H A Dxfs_format.h1691 __be64 rm_offset; /* offset within the owner */ member
1735 __be64 rm_offset; /* offset within the owner */ member
/linux/fs/xfs/scrub/
H A Dbmap.c231 if (rmap.rm_offset != irec->br_startoff) in xchk_bmap_xref_rmap()
235 rmap_end = (unsigned long long)rmap.rm_offset + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
643 rec->rm_offset); in xchk_bmap_check_rmap()
646 have_map = xfs_iext_lookup_extent(sc->ip, ifp, rec->rm_offset, in xchk_bmap_check_rmap()
650 rec->rm_offset); in xchk_bmap_check_rmap()
660 if (irec.br_startoff != check_rec.rm_offset) in xchk_bmap_check_rmap()
662 check_rec.rm_offset); in xchk_bmap_check_rmap()
666 check_rec.rm_offset); in xchk_bmap_check_rmap()
669 check_rec.rm_offset); in xchk_bmap_check_rmap()
673 check_rec.rm_offset += irec.br_blockcount; in xchk_bmap_check_rmap()
[all …]
H A Dbmap_repair.c214 !xfs_verify_fileext(sc->mp, rec->rm_offset, rec->rm_blockcount)) in xrep_bmap_check_fork_rmap()
288 return xrep_bmap_from_rmap(rb, rec->rm_offset, fsbno, in xrep_bmap_walk_rmap()
392 if (!xfs_verify_fileext(sc->mp, rec->rm_offset, rec->rm_blockcount)) in xrep_bmap_check_rtfork_rmap()
440 return xrep_bmap_from_rmap(rb, rec->rm_offset, in xrep_bmap_walk_rtrmap()
H A Drtrmap_repair.c154 .rm_offset = offset, in xrep_rtrmap_stash()
215 rf->accum.rm_offset, rf->accum.rm_flags); in xrep_rtrmap_stash_accumulated()
242 rec->br_startoff == accum->rm_offset + accum->rm_blockcount && in xrep_rtrmap_visit_bmbt()
256 accum->rm_offset = rec->br_startoff; in xrep_rtrmap_visit_bmbt()
H A Drtrmap.c149 return r1->rm_offset + r1->rm_blockcount == r2->rm_offset; in xchk_rtrmap_mergeable()
H A Drmap_repair.c224 .rm_offset = offset, in xrep_rmap_stash()
332 rf->accum.rm_offset, rf->accum.rm_flags); in xrep_rmap_stash_accumulated()
361 rec->br_startoff == accum->rm_offset + accum->rm_blockcount && in xrep_rmap_visit_bmbt()
375 accum->rm_offset = rec->br_startoff; in xrep_rmap_visit_bmbt()
H A Dtrace.h2103 __entry->offset = rec->rm_offset;
2254 __entry->offset = rec->rm_offset;
3869 __entry->offset = rec->rm_offset;
/linux/fs/xfs/
H A Dxfs_fsmap.c410 .offset = rec->rm_offset, in xfs_getfsmap_rmapbt_helper()
497 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in __xfs_getfsmap_datadev()
510 info->low.rm_offset = 0; in __xfs_getfsmap_datadev()
517 info->low.rm_offset += info->low.rm_blockcount; in __xfs_getfsmap_datadev()
523 info->high.rm_offset = ULLONG_MAX; in __xfs_getfsmap_datadev()
539 info->high.rm_offset = XFS_BB_TO_FSBT(mp, in __xfs_getfsmap_datadev()
846 .offset = rec->rm_offset, in xfs_getfsmap_rtdev_rmapbt_helper()
938 info->low.rm_offset = XFS_BB_TO_FSBT(mp, key0.fmr_offset); in xfs_getfsmap_rtdev_rmapbt()
951 info->low.rm_offset = 0; in xfs_getfsmap_rtdev_rmapbt()
958 info->low.rm_offset += info->low.rm_blockcount; in xfs_getfsmap_rtdev_rmapbt()
[all …]
H A Dxfs_zone_gc.c306 return cmp_int(reca->rm_offset, recb->rm_offset); in xfs_zone_gc_rmap_rec_cmp()
429 irec->rm_offset += count_fsb; in xfs_zone_gc_iter_advance()
698 chunk->offset = XFS_FSB_TO_B(mp, irec.rm_offset); in xfs_zone_gc_start_chunk()
H A Dxfs_notify_failure.c43 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset); in xfs_failure_pgoff()
/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()