Home
last modified time | relevance | path

Searched refs:mp (Results 1 – 25 of 180) sorted by relevance

12345678

/fs/xfs/
Dxfs_mount.c56 struct xfs_mount *mp) in xfs_uuid_mount() argument
58 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_mount()
62 uuid_copy(&mp->m_super->s_uuid, uuid); in xfs_uuid_mount()
64 if (mp->m_flags & XFS_MOUNT_NOUUID) in xfs_uuid_mount()
68 xfs_warn(mp, "Filesystem has null UUID - can't mount"); in xfs_uuid_mount()
95 xfs_warn(mp, "Filesystem has duplicate UUID %pU - can't mount", uuid); in xfs_uuid_mount()
101 struct xfs_mount *mp) in xfs_uuid_unmount() argument
103 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_unmount()
106 if (mp->m_flags & XFS_MOUNT_NOUUID) in xfs_uuid_unmount()
138 xfs_mount_t *mp) in xfs_free_perag() argument
[all …]
Dxfs_super.c158 struct xfs_mount *mp, in xfs_parseargs() argument
161 const struct super_block *sb = mp->m_super; in xfs_parseargs()
173 mp->m_fsname = kstrndup(sb->s_id, MAXNAMELEN, GFP_KERNEL); in xfs_parseargs()
174 if (!mp->m_fsname) in xfs_parseargs()
176 mp->m_fsname_len = strlen(mp->m_fsname) + 1; in xfs_parseargs()
182 mp->m_flags |= XFS_MOUNT_RDONLY; in xfs_parseargs()
184 mp->m_flags |= XFS_MOUNT_DIRSYNC; in xfs_parseargs()
186 mp->m_flags |= XFS_MOUNT_WSYNC; in xfs_parseargs()
192 mp->m_flags |= XFS_MOUNT_COMPAT_IOSIZE; in xfs_parseargs()
197 mp->m_logbufs = -1; in xfs_parseargs()
[all …]
Dxfs_fsops.c28 xfs_mount_t *mp, /* mount point for filesystem */ in xfs_growfs_data_private() argument
42 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private()
44 if ((error = xfs_sb_validate_fsb_count(&mp->m_sb, nb))) in xfs_growfs_data_private()
46 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private()
47 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
48 XFS_FSS_TO_BB(mp, 1), 0, &bp, NULL); in xfs_growfs_data_private()
54 nb_mod = do_div(new, mp->m_sb.sb_agblocks); in xfs_growfs_data_private()
58 nb = (xfs_rfsblock_t)nagcount * mp->m_sb.sb_agblocks; in xfs_growfs_data_private()
59 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private()
62 new = nb - mp->m_sb.sb_dblocks; in xfs_growfs_data_private()
[all …]
Dxfs_rtalloc.c31 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtget_summary() argument
39 return xfs_rtmodify_summary_int(mp, tp, log, bbno, 0, rbpp, rsb, sum); in xfs_rtget_summary()
48 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtany_summary() argument
62 if (mp->m_rsum_cache && low < mp->m_rsum_cache[bbno]) in xfs_rtany_summary()
63 low = mp->m_rsum_cache[bbno]; in xfs_rtany_summary()
72 error = xfs_rtget_summary(mp, tp, log, bbno, rbpp, rsb, &sum); in xfs_rtany_summary()
90 if (mp->m_rsum_cache && log > mp->m_rsum_cache[bbno]) in xfs_rtany_summary()
91 mp->m_rsum_cache[bbno] = log; in xfs_rtany_summary()
143 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_range() argument
161 error = xfs_rtfind_back(mp, tp, start, 0, &preblock); in xfs_rtallocate_range()
[all …]
Dxfs_qm.c48 struct xfs_mount *mp, in xfs_qm_dquot_walk() argument
53 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dquot_walk()
121 struct xfs_mount *mp = dqp->q_mount; in xfs_qm_dqpurge() local
122 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqpurge()
156 ASSERT(XFS_FORCED_SHUTDOWN(mp) || in xfs_qm_dqpurge()
172 XFS_STATS_DEC(mp, xs_qm_dquot_unused); in xfs_qm_dqpurge()
183 struct xfs_mount *mp, in xfs_qm_dqpurge_all() argument
187 xfs_qm_dquot_walk(mp, XFS_DQ_USER, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
189 xfs_qm_dquot_walk(mp, XFS_DQ_GROUP, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
191 xfs_qm_dquot_walk(mp, XFS_DQ_PROJ, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
[all …]
Dxfs_qm_syscalls.c36 xfs_mount_t *mp, in xfs_qm_scall_quotaoff() argument
39 struct xfs_quotainfo *q = mp->m_quotainfo; in xfs_qm_scall_quotaoff()
50 if ((mp->m_qflags & flags) == 0) in xfs_qm_scall_quotaoff()
69 mp->m_qflags &= ~(flags); in xfs_qm_scall_quotaoff()
71 spin_lock(&mp->m_sb_lock); in xfs_qm_scall_quotaoff()
72 mp->m_sb.sb_qflags = mp->m_qflags; in xfs_qm_scall_quotaoff()
73 spin_unlock(&mp->m_sb_lock); in xfs_qm_scall_quotaoff()
77 return xfs_sync_sb(mp, false); in xfs_qm_scall_quotaoff()
107 if ((mp->m_qflags & flags) == 0) in xfs_qm_scall_quotaoff()
115 error = xfs_qm_log_quotaoff(mp, &qoffstart, flags); in xfs_qm_scall_quotaoff()
[all …]
Dxfs_health.c25 struct xfs_mount *mp) in xfs_health_unmount() argument
33 if (XFS_FORCED_SHUTDOWN(mp)) in xfs_health_unmount()
37 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_health_unmount()
38 pag = xfs_perag_get(mp, agno); in xfs_health_unmount()
41 trace_xfs_ag_unfixed_corruption(mp, agno, sick); in xfs_health_unmount()
48 xfs_rt_measure_sickness(mp, &sick, &checked); in xfs_health_unmount()
50 trace_xfs_rt_unfixed_corruption(mp, sick); in xfs_health_unmount()
58 xfs_fs_measure_sickness(mp, &sick, &checked); in xfs_health_unmount()
60 trace_xfs_fs_unfixed_corruption(mp, sick); in xfs_health_unmount()
65 xfs_warn(mp, in xfs_health_unmount()
[all …]
Dxfs_quotaops.c22 struct xfs_mount *mp, in xfs_qm_fill_state() argument
26 struct xfs_quotainfo *q = mp->m_quotainfo; in xfs_qm_fill_state()
33 if (xfs_iget(mp, NULL, ino, 0, 0, &ip)) in xfs_qm_fill_state()
59 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_quota_state() local
60 struct xfs_quotainfo *q = mp->m_quotainfo; in xfs_fs_get_quota_state()
63 if (!XFS_IS_QUOTA_RUNNING(mp)) in xfs_fs_get_quota_state()
66 if (XFS_IS_UQUOTA_RUNNING(mp)) in xfs_fs_get_quota_state()
68 if (XFS_IS_UQUOTA_ENFORCED(mp)) in xfs_fs_get_quota_state()
70 if (XFS_IS_GQUOTA_RUNNING(mp)) in xfs_fs_get_quota_state()
72 if (XFS_IS_GQUOTA_ENFORCED(mp)) in xfs_fs_get_quota_state()
[all …]
Dxfs_filestream.c71 xfs_mount_t *mp, in xfs_filestream_peek_ag() argument
77 pag = xfs_perag_get(mp, agno); in xfs_filestream_peek_ag()
85 xfs_mount_t *mp, in xfs_filestream_get_ag() argument
91 pag = xfs_perag_get(mp, agno); in xfs_filestream_get_ag()
99 xfs_mount_t *mp, in xfs_filestream_put_ag() argument
104 pag = xfs_perag_get(mp, agno); in xfs_filestream_put_ag()
114 struct xfs_mount *mp = data; in xfs_fstrm_free_func() local
118 xfs_filestream_put_ag(mp, item->ag); in xfs_fstrm_free_func()
119 trace_xfs_filestream_free(mp, mru->key, item->ag); in xfs_fstrm_free_func()
136 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_pick_ag() local
[all …]
Dxfs_error.h11 extern void xfs_error_report(const char *tag, int level, struct xfs_mount *mp,
15 struct xfs_mount *mp, void *buf, size_t bufsize,
27 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument
28 xfs_error_report(e, lvl, mp, __FILE__, __LINE__, __return_address)
29 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \ argument
30 xfs_corruption_error(e, lvl, mp, buf, bufsize, \
43 #define XFS_WANT_CORRUPTED_GOTO(mp, x, l) \ argument
49 XFS_ERRLEVEL_LOW, mp); \
55 #define XFS_WANT_CORRUPTED_RETURN(mp, x) \ argument
61 XFS_ERRLEVEL_LOW, mp); \
[all …]
Dxfs_discard.c23 struct xfs_mount *mp, in xfs_trim_extents() argument
30 struct block_device *bdev = mp->m_ddev_targp->bt_bdev; in xfs_trim_extents()
37 pag = xfs_perag_get(mp, agno); in xfs_trim_extents()
44 xfs_log_force(mp, XFS_LOG_SYNC); in xfs_trim_extents()
46 error = xfs_alloc_read_agf(mp, NULL, agno, 0, &agbp); in xfs_trim_extents()
50 cur = xfs_allocbt_init_cursor(mp, NULL, agbp, agno, XFS_BTNUM_CNT); in xfs_trim_extents()
73 XFS_WANT_CORRUPTED_GOTO(mp, i == 1, out_del_cursor); in xfs_trim_extents()
81 dbno = XFS_AGB_TO_DADDR(mp, agno, fbno); in xfs_trim_extents()
82 dlen = XFS_FSB_TO_BB(mp, flen); in xfs_trim_extents()
88 trace_xfs_discard_toosmall(mp, agno, fbno, flen); in xfs_trim_extents()
[all …]
Dxfs_icache.c33 struct xfs_mount *mp, in xfs_inode_alloc() argument
46 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc()
54 XFS_STATS_INC(mp, vn_active); in xfs_inode_alloc()
61 ip->i_mount = mp; in xfs_inode_alloc()
150 struct xfs_mount *mp) in xfs_reclaim_work_queue() argument
154 if (radix_tree_tagged(&mp->m_perag_tree, XFS_ICI_RECLAIM_TAG)) { in xfs_reclaim_work_queue()
155 queue_delayed_work(mp->m_reclaim_workqueue, &mp->m_reclaim_work, in xfs_reclaim_work_queue()
172 struct xfs_mount *mp = container_of(to_delayed_work(work), in xfs_reclaim_worker() local
175 xfs_reclaim_inodes(mp, SYNC_TRYLOCK); in xfs_reclaim_worker()
176 xfs_reclaim_work_queue(mp); in xfs_reclaim_worker()
[all …]
/fs/xfs/libxfs/
Dxfs_trans_resv.c68 struct xfs_mount *mp, in xfs_allocfree_log_count() argument
73 blocks = num_ops * 2 * (2 * mp->m_ag_maxlevels - 1); in xfs_allocfree_log_count()
74 if (xfs_sb_version_hasrmapbt(&mp->m_sb)) in xfs_allocfree_log_count()
75 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_log_count()
76 if (xfs_sb_version_hasreflink(&mp->m_sb)) in xfs_allocfree_log_count()
77 blocks += num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_allocfree_log_count()
113 struct xfs_mount *mp, in xfs_calc_inode_res() argument
119 mp->m_sb.sb_inodesize + in xfs_calc_inode_res()
120 2 * XFS_BMBT_BLOCK_LEN(mp)); in xfs_calc_inode_res()
135 struct xfs_mount *mp) in xfs_calc_inobt_res() argument
[all …]
Dxfs_trans_space.h14 #define XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) \ argument
15 (((mp)->m_rmap_mxr[0]) - ((mp)->m_rmap_mnr[0]))
18 #define XFS_RMAPADD_SPACE_RES(mp) ((mp)->m_rmap_maxlevels) argument
21 #define XFS_NRMAPADD_SPACE_RES(mp, b)\ argument
22 (((b + XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) - 1) / \
23 XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp)) * \
24 XFS_RMAPADD_SPACE_RES(mp))
26 #define XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) \ argument
27 (((mp)->m_alloc_mxr[0]) - ((mp)->m_alloc_mnr[0]))
28 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
[all …]
Dxfs_ag.c28 struct xfs_mount *mp, in xfs_get_aghdr_buf() argument
35 bp = xfs_buf_get_uncached(mp->m_ddev_targp, numblks, 0); in xfs_get_aghdr_buf()
47 static inline bool is_log_ag(struct xfs_mount *mp, struct aghdr_init_data *id) in is_log_ag() argument
49 return mp->m_sb.sb_logstart > 0 && in is_log_ag()
50 id->agno == XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart); in is_log_ag()
58 struct xfs_mount *mp, in xfs_btroot_init() argument
62 xfs_btree_init_block(mp, bp, id->type, 0, 0, id->agno); in xfs_btroot_init()
68 struct xfs_mount *mp, in xfs_freesp_init_recs() argument
75 arec = XFS_ALLOC_REC_ADDR(mp, XFS_BUF_TO_BLOCK(bp), 1); in xfs_freesp_init_recs()
76 arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); in xfs_freesp_init_recs()
[all …]
Dxfs_types.c18 struct xfs_mount *mp, in xfs_ag_block_count() argument
21 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_ag_block_count()
23 if (agno < mp->m_sb.sb_agcount - 1) in xfs_ag_block_count()
24 return mp->m_sb.sb_agblocks; in xfs_ag_block_count()
25 return mp->m_sb.sb_dblocks - (agno * mp->m_sb.sb_agblocks); in xfs_ag_block_count()
34 struct xfs_mount *mp, in xfs_verify_agbno() argument
40 eoag = xfs_ag_block_count(mp, agno); in xfs_verify_agbno()
43 if (agbno <= XFS_AGFL_BLOCK(mp)) in xfs_verify_agbno()
54 struct xfs_mount *mp, in xfs_verify_fsbno() argument
57 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); in xfs_verify_fsbno()
[all …]
Dxfs_format.h562 #define XFS_SB_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_SB_DADDR) argument
565 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d)) argument
566 #define XFS_DADDR_TO_FSB(mp,d) XFS_AGB_TO_FSB(mp, \ argument
567 xfs_daddr_to_agno(mp,d), xfs_daddr_to_agbno(mp,d))
568 #define XFS_FSB_TO_DADDR(mp,fsbno) XFS_AGB_TO_DADDR(mp, \ argument
569 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno))
574 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
579 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) argument
580 #define XFS_BB_TO_FSB(mp,bb) \ argument
581 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
[all …]
Dxfs_sb.c39 struct xfs_mount *mp, in xfs_perag_get() argument
46 pag = radix_tree_lookup(&mp->m_perag_tree, agno); in xfs_perag_get()
52 trace_xfs_perag_get(mp, agno, ref, _RET_IP_); in xfs_perag_get()
61 struct xfs_mount *mp, in xfs_perag_get_tag() argument
70 found = radix_tree_gang_lookup_tag(&mp->m_perag_tree, in xfs_perag_get_tag()
78 trace_xfs_perag_get_tag(mp, pag->pag_agno, ref, _RET_IP_); in xfs_perag_get_tag()
96 struct xfs_mount *mp, in xfs_validate_sb_read() argument
107 xfs_warn(mp, in xfs_validate_sb_read()
110 xfs_warn(mp, in xfs_validate_sb_read()
115 xfs_alert(mp, in xfs_validate_sb_read()
[all …]
Dxfs_ialloc.c76 struct xfs_mount *mp, in xfs_inobt_btrec_to_irec() argument
81 if (xfs_sb_version_hassparseinodes(&mp->m_sb)) { in xfs_inobt_btrec_to_irec()
107 struct xfs_mount *mp = cur->bc_mp; in xfs_inobt_get_rec() local
117 xfs_inobt_btrec_to_irec(mp, rec, irec); in xfs_inobt_get_rec()
119 if (!xfs_verify_agino(mp, agno, irec->ir_startino)) in xfs_inobt_get_rec()
138 xfs_warn(mp, in xfs_inobt_get_rec()
141 xfs_warn(mp, in xfs_inobt_get_rec()
172 struct xfs_mount *mp, in xfs_inobt_insert() argument
186 cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, btnum); in xfs_inobt_insert()
263 struct xfs_mount *mp, in xfs_ialloc_inode_init() argument
[all …]
Dxfs_rtbitmap.c55 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtbuf_get() argument
67 ip = issum ? mp->m_rsumip : mp->m_rbmip; in xfs_rtbuf_get()
77 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_rtbuf_get()
78 XFS_FSB_TO_DADDR(mp, map.br_startblock), in xfs_rtbuf_get()
79 mp->m_bsize, 0, &bp, &xfs_rtbuf_ops); in xfs_rtbuf_get()
95 xfs_mount_t *mp, /* file system mount point */ in xfs_rtfind_back() argument
118 block = XFS_BITTOBLOCK(mp, start); in xfs_rtfind_back()
119 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtfind_back()
127 word = XFS_BITTOWORD(mp, start); in xfs_rtfind_back()
171 error = xfs_rtbuf_get(mp, tp, --block, 0, &bp); in xfs_rtfind_back()
[all …]
Dxfs_quota_defs.h60 #define XFS_DQUOT_LOGRES(mp) \ argument
63 #define XFS_IS_QUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_ALL_QUOTA_ACCT) argument
64 #define XFS_IS_UQUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_UQUOTA_ACCT) argument
65 #define XFS_IS_PQUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_PQUOTA_ACCT) argument
66 #define XFS_IS_GQUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_GQUOTA_ACCT) argument
67 #define XFS_IS_UQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_UQUOTA_ENFD) argument
68 #define XFS_IS_GQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_GQUOTA_ENFD) argument
69 #define XFS_IS_PQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_PQUOTA_ENFD) argument
86 #define XFS_IS_QUOTA_ON(mp) ((mp)->m_qflags & (XFS_UQUOTA_ACTIVE | \ argument
89 #define XFS_IS_UQUOTA_ON(mp) ((mp)->m_qflags & XFS_UQUOTA_ACTIVE) argument
[all …]
/fs/jfs/
Djfs_metapage.c31 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag) argument
32 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag) argument
34 static inline void unlock_metapage(struct metapage *mp) in unlock_metapage() argument
36 clear_bit_unlock(META_locked, &mp->flag); in unlock_metapage()
37 wake_up(&mp->wait); in unlock_metapage()
40 static inline void __lock_metapage(struct metapage *mp) in __lock_metapage() argument
44 add_wait_queue_exclusive(&mp->wait, &wait); in __lock_metapage()
47 if (metapage_locked(mp)) { in __lock_metapage()
48 unlock_page(mp->page); in __lock_metapage()
50 lock_page(mp->page); in __lock_metapage()
[all …]
Djfs_metapage.h45 #define mark_metapage_dirty(mp) set_bit(META_dirty, &(mp)->flag) argument
72 static inline void write_metapage(struct metapage *mp) in write_metapage() argument
74 set_bit(META_dirty, &mp->flag); in write_metapage()
75 release_metapage(mp); in write_metapage()
78 static inline void flush_metapage(struct metapage *mp) in flush_metapage() argument
80 set_bit(META_sync, &mp->flag); in flush_metapage()
81 write_metapage(mp); in flush_metapage()
84 static inline void discard_metapage(struct metapage *mp) in discard_metapage() argument
86 clear_bit(META_dirty, &mp->flag); in discard_metapage()
87 set_bit(META_discard, &mp->flag); in discard_metapage()
[all …]
/fs/xfs/scrub/
Drepair.c91 struct xfs_mount *mp) in xrep_failure() argument
93 xfs_alert_ratelimited(mp, in xrep_failure()
178 struct xfs_mount *mp = sc->mp; in xrep_calc_ag_resblks() local
195 pag = xfs_perag_get(mp, sm->sm_agno); in xrep_calc_ag_resblks()
201 error = xfs_ialloc_read_agi(mp, NULL, sm->sm_agno, &bp); in xrep_calc_ag_resblks()
209 error = xfs_alloc_read_agf(mp, NULL, sm->sm_agno, 0, &bp); in xrep_calc_ag_resblks()
220 !xfs_verify_agino(mp, sm->sm_agno, icount)) { in xrep_calc_ag_resblks()
223 xfs_agino_range(mp, sm->sm_agno, &first, &last); in xrep_calc_ag_resblks()
229 aglen != xfs_ag_block_count(mp, sm->sm_agno) || in xrep_calc_ag_resblks()
231 aglen = xfs_ag_block_count(mp, sm->sm_agno); in xrep_calc_ag_resblks()
[all …]
Dagheader.c28 struct xfs_mount *mp = sc->mp; in xchk_superblock_xref() local
36 agbno = XFS_SB_BLOCK(mp); in xchk_superblock_xref()
62 struct xfs_mount *mp = sc->mp; in xchk_superblock() local
75 error = xfs_sb_read_secondary(mp, sc->tp, agno, &bp); in xchk_superblock()
92 if (!xchk_process_error(sc, agno, XFS_SB_BLOCK(mp), &error)) in xchk_superblock()
103 if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) in xchk_superblock()
106 if (sb->sb_dblocks != cpu_to_be64(mp->m_sb.sb_dblocks)) in xchk_superblock()
109 if (sb->sb_rblocks != cpu_to_be64(mp->m_sb.sb_rblocks)) in xchk_superblock()
112 if (sb->sb_rextents != cpu_to_be64(mp->m_sb.sb_rextents)) in xchk_superblock()
115 if (!uuid_equal(&sb->sb_uuid, &mp->m_sb.sb_uuid)) in xchk_superblock()
[all …]

12345678