| /linux/fs/xfs/libxfs/ |
| H A D | xfs_rmap.c | 53 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 D | xfs_rmap_btree.c | 170 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 D | xfs_rtrmap_btree.c | 123 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 D | xfs_ag.c | 421 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 D | xfs_rmap.h | 56 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 D | xfs_attr_remote.c | 92 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 D | xfs_types.h | 188 uint64_t rm_offset; /* offset within the owner */ member
|
| H A D | xfs_format.h | 1691 __be64 rm_offset; /* offset within the owner */ member 1735 __be64 rm_offset; /* offset within the owner */ member
|
| /linux/fs/xfs/scrub/ |
| H A D | bmap.c | 231 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 D | bmap_repair.c | 214 !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 D | rtrmap_repair.c | 154 .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 D | rtrmap.c | 149 return r1->rm_offset + r1->rm_blockcount == r2->rm_offset; in xchk_rtrmap_mergeable()
|
| H A D | rmap_repair.c | 224 .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 D | trace.h | 2103 __entry->offset = rec->rm_offset; 2254 __entry->offset = rec->rm_offset; 3869 __entry->offset = rec->rm_offset;
|
| /linux/fs/xfs/ |
| H A D | xfs_fsmap.c | 410 .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 D | xfs_zone_gc.c | 306 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 D | xfs_notify_failure.c | 43 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset); in xfs_failure_pgoff()
|
| /linux/drivers/video/ |
| H A D | sticore.c | 936 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()
|