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

/linux-master/fs/xfs/libxfs/
H A Dxfs_rmap.c50 cur->bc_rec.r.rm_offset = offset;
85 cur->bc_rec.r.rm_offset = offset;
105 irec->rm_owner, irec->rm_offset, irec->rm_flags);
110 rec.rmap.rm_offset = cpu_to_be64(
146 rcur->bc_rec.r.rm_offset = offset;
211 return xfs_rmap_irec_offset_unpack(be64_to_cpu(rec->rmap.rm_offset),
252 if (is_bmbt && irec->rm_offset != 0)
255 if (!is_inode && irec->rm_offset != 0)
266 !xfs_verify_fileext(mp, irec->rm_offset, irec->rm_blockcount))
347 rec->rm_blockcount, rec->rm_owner, rec->rm_offset,
[all...]
H A Dxfs_rmap_btree.c164 return rec->rmap.rm_offset & ~cpu_to_be64(XFS_RMAP_OFF_UNWRITTEN);
174 key->rmap.rm_offset = ondisk_rec_offset_to_key(rec);
197 key->rmap.rm_offset = ondisk_rec_offset_to_key(rec);
199 XFS_RMAP_IS_BMBT_BLOCK(be64_to_cpu(rec->rmap.rm_offset)))
201 off = be64_to_cpu(key->rmap.rm_offset);
203 key->rmap.rm_offset = cpu_to_be64(off);
214 rec->rmap.rm_offset = cpu_to_be64(
261 x = offset_keymask(be64_to_cpu(kp->rm_offset));
299 if (!mask || mask->rmap.rm_offset) {
303 x = offset_keymask(be64_to_cpu(kp1->rm_offset));
[all...]
H A Dxfs_rmap.h55 x = XFS_RMAP_OFF(irec->rm_offset);
73 irec->rm_offset = XFS_RMAP_OFF(offset);
H A Dxfs_types.h184 uint64_t rm_offset; /* offset within the owner */ member in struct:xfs_rmap_irec
H A Dxfs_ag.c593 rrec->rm_offset = 0;
600 rrec->rm_offset = 0;
608 rrec->rm_offset = 0;
615 rrec->rm_offset = 0;
623 rrec->rm_offset = 0;
635 rrec->rm_offset = 0;
H A Dxfs_attr_remote.c79 if (offset != be32_to_cpu(rmt->rm_offset))
108 if (be32_to_cpu(rmt->rm_offset) +
254 rmt->rm_offset = cpu_to_be32(offset);
H A Dxfs_da_format.h854 __be32 rm_offset; member in struct:xfs_attr3_rmt_hdr
H A Dxfs_format.h1521 __be64 rm_offset; /* offset within the owner */ member in struct:xfs_rmap_rec
1526 * rm_offset:63 is the attribute fork flag
1527 * rm_offset:62 is the bmbt block flag
1528 * rm_offset:61 is the unwritten extent flag (same as l0:63 in bmbt)
1529 * rm_offset:54-60 aren't used and should be zero
1530 * rm_offset:0-53 is the block offset within the inode
1565 __be64 rm_offset; /* offset within the owner */ member in struct:xfs_rmap_key
/linux-master/fs/xfs/scrub/
H A Dbmap.c221 if (rmap.rm_offset != irec->br_startoff)
225 rmap_end = (unsigned long long)rmap.rm_offset + rmap.rm_blockcount;
583 rec->rm_offset);
586 have_map = xfs_iext_lookup_extent(sc->ip, ifp, rec->rm_offset,
590 rec->rm_offset);
600 if (irec.br_startoff != check_rec.rm_offset)
602 check_rec.rm_offset);
607 check_rec.rm_offset);
610 check_rec.rm_offset);
614 check_rec.rm_offset
[all...]
H A Drmap.c141 * If we spot an rmap key with the unwritten bit set in rm_offset, we should
171 if (lkey->rmap.rm_offset & badflag) {
177 if (hkey->rmap.rm_offset & badflag) {
261 return r1->rm_offset + r1->rm_blockcount == r2->rm_offset;
H A Dbmap_repair.c205 !xfs_verify_fileext(sc->mp, rec->rm_offset, rec->rm_blockcount))
281 return xrep_bmap_from_rmap(rb, rec->rm_offset, fsbno,
H A Drmap_repair.c221 .rm_offset = offset,
329 rf->accum.rm_offset, rf->accum.rm_flags);
358 rec->br_startoff == accum->rm_offset + accum->rm_blockcount &&
372 accum->rm_offset = rec->br_startoff;
H A Dialloc_repair.c428 rec->rm_offset, rec->rm_flags);
H A Dtrace.h1745 __entry->offset = rec->rm_offset;
/linux-master/fs/xfs/
H A Dxfs_fsmap.c349 fmr.fmr_offset = XFS_FSB_TO_BB(mp, rec->rm_offset);
409 irec.rm_offset = 0;
464 rmap.rm_offset = 0;
495 irec.rm_offset = 0;
611 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset);
624 info->low.rm_offset = 0;
631 info->low.rm_offset += info->low.rm_blockcount;
637 info->high.rm_offset = ULLONG_MAX;
653 info->high.rm_offset = XFS_BB_TO_FSBT(mp,
H A Dxfs_notify_failure.c40 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset);
H A Dxfs_trace.h3771 __entry->offset = rmap->rm_offset;
/linux-master/drivers/video/
H A Dsticore.c936 unsigned int i, rm_offset; local
951 rm_offset = le16_to_cpu(i & 0xffff);
952 if (rm_offset) {
955 *rm++ = gsc_readl(address+rm_offset+0x00);
956 *rm++ = gsc_readl(address+rm_offset+0x04);
957 *rm++ = gsc_readl(address+rm_offset+0x08);
958 *rm++ = gsc_readl(address+rm_offset+0x0c);

Completed in 314 milliseconds