Home
last modified time | relevance | path

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

12345678910>>...12

/linux/fs/xfs/libxfs/
H A Dxfs_trans_space.h14 #define XFS_MAX_CONTIG_BMAPS_PER_BLOCK(mp) \ argument
15 (((mp)->m_bmap_dmxr[0]) - ((mp)->m_bmap_dmnr[0]))
18 #define XFS_MAX_CONTIG_RTRMAPS_PER_BLOCK(mp) \ argument
19 (((mp)->m_rtrmap_mxr[0]) - ((mp)->m_rtrmap_mnr[0]))
22 #define XFS_RTRMAPADD_SPACE_RES(mp) ((mp)->m_rtrmap_maxlevels) argument
25 #define XFS_NRTRMAPADD_SPACE_RES(mp, b) \ argument
26 ((((b) + XFS_MAX_CONTIG_RTRMAPS_PER_BLOCK(mp) - 1) / \
27 XFS_MAX_CONTIG_RTRMAPS_PER_BLOCK(mp)) * \
28 XFS_RTRMAPADD_SPACE_RES(mp))
31 #define XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) \ argument
[all …]
H A Dxfs_metafile.c89 struct xfs_mount *mp, in xfs_metafile_resv_can_cover() argument
98 if (mp->m_metafile_resv_avail >= rhs) in xfs_metafile_resv_can_cover()
105 return xfs_compare_freecounter(mp, XC_FREE_BLOCKS, in xfs_metafile_resv_can_cover()
106 rhs - mp->m_metafile_resv_avail, 2048) >= 0; in xfs_metafile_resv_can_cover()
116 struct xfs_mount *mp) in xfs_metafile_resv_critical() argument
118 ASSERT(xfs_has_metadir(mp)); in xfs_metafile_resv_critical()
120 trace_xfs_metafile_resv_critical(mp, 0); in xfs_metafile_resv_critical()
122 if (!xfs_metafile_resv_can_cover(mp, mp->m_rtbtree_maxlevels)) in xfs_metafile_resv_critical()
125 if (!xfs_metafile_resv_can_cover(mp, in xfs_metafile_resv_critical()
126 div_u64(mp->m_metafile_resv_target, 10))) in xfs_metafile_resv_critical()
[all …]
H A Dxfs_rtbitmap.h13 struct xfs_mount *mp; member
28 struct xfs_mount *mp = rtg_mount(rtg); in xfs_rtx_to_rtb() local
31 if (mp->m_rtxblklog >= 0) in xfs_rtx_to_rtb()
32 return start + (rtx << mp->m_rtxblklog); in xfs_rtx_to_rtb()
33 return start + (rtx * mp->m_sb.sb_rextsize); in xfs_rtx_to_rtb()
39 struct xfs_mount *mp, in xfs_rgbno_to_rtx() argument
42 if (likely(mp->m_rtxblklog >= 0)) in xfs_rgbno_to_rtx()
43 return rgbno >> mp->m_rtxblklog; in xfs_rgbno_to_rtx()
44 return rgbno / mp->m_sb.sb_rextsize; in xfs_rgbno_to_rtx()
49 struct xfs_mount *mp, in xfs_rtbxlen_to_blen() argument
[all …]
H A Dxfs_sb.c195 struct xfs_mount *mp, in xfs_validate_sb_read() argument
206 xfs_warn(mp, in xfs_validate_sb_read()
209 xfs_warn(mp, in xfs_validate_sb_read()
214 xfs_alert(mp, in xfs_validate_sb_read()
218 if (!xfs_is_readonly(mp)) { in xfs_validate_sb_read()
219 xfs_warn(mp, in xfs_validate_sb_read()
221 xfs_warn(mp, in xfs_validate_sb_read()
228 xfs_warn(mp, in xfs_validate_sb_read()
232 xfs_warn(mp, in xfs_validate_sb_read()
325 struct xfs_mount *mp, in xfs_validate_sb_write() argument
[all …]
H A Dxfs_trans_space.c21 struct xfs_mount *mp, in xfs_parent_calc_space_res() argument
43 return XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + in xfs_parent_calc_space_res()
44 XFS_NEXTENTADD_SPACE_RES(mp, namelen, XFS_ATTR_FORK); in xfs_parent_calc_space_res()
49 struct xfs_mount *mp, in xfs_create_space_res() argument
54 ret = XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp, namelen); in xfs_create_space_res()
55 if (xfs_has_parent(mp)) in xfs_create_space_res()
56 ret += xfs_parent_calc_space_res(mp, namelen); in xfs_create_space_res()
63 struct xfs_mount *mp, in xfs_mkdir_space_res() argument
66 return xfs_create_space_res(mp, namelen); in xfs_mkdir_space_res()
71 struct xfs_mount *mp, in xfs_link_space_res() argument
[all …]
H A Dxfs_format.h467 #define XFS_SB_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_SB_DADDR) argument
469 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d)) argument
470 #define XFS_DADDR_TO_FSB(mp,d) XFS_AGB_TO_FSB(mp, \ argument
471 xfs_daddr_to_agno(mp,d), xfs_daddr_to_agbno(mp,d))
472 #define XFS_FSB_TO_DADDR(mp,fsbno) XFS_AGB_TO_DADDR(mp, \ argument
473 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno))
478 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
483 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) argument
484 #define XFS_BB_TO_FSB(mp,bb) \ argument
485 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
[all …]
H A Dxfs_dquot_buf.c41 struct xfs_mount *mp, in xfs_dquot_verify() argument
76 !xfs_has_bigtime(mp)) in xfs_dquot_verify()
108 struct xfs_mount *mp, in xfs_dqblk_verify() argument
112 if (xfs_has_crc(mp) && in xfs_dqblk_verify()
113 !uuid_equal(&dqb->dd_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dqblk_verify()
116 return xfs_dquot_verify(mp, &dqb->dd_diskdq, id); in xfs_dqblk_verify()
124 struct xfs_mount *mp, in xfs_dqblk_repair() argument
140 if (xfs_has_crc(mp)) { in xfs_dqblk_repair()
141 uuid_copy(&dqb->dd_uuid, &mp->m_sb.sb_meta_uuid); in xfs_dqblk_repair()
149 struct xfs_mount *mp, in xfs_dquot_buf_verify_crc() argument
[all …]
H A Dxfs_rtgroup.h115 struct xfs_mount *mp, in xfs_rtgroup_get() argument
118 return to_rtg(xfs_group_get(mp, rgno, XG_TYPE_RTG)); in xfs_rtgroup_get()
138 struct xfs_mount *mp, in xfs_rtgroup_grab() argument
141 return to_rtg(xfs_group_grab(mp, rgno, XG_TYPE_RTG)); in xfs_rtgroup_grab()
153 struct xfs_mount *mp, in xfs_rtgroup_next_range() argument
158 return to_rtg(xfs_group_next_range(mp, rtg ? rtg_group(rtg) : NULL, in xfs_rtgroup_next_range()
164 struct xfs_mount *mp, in xfs_rtgroup_next() argument
167 return xfs_rtgroup_next_range(mp, rtg, 0, mp->m_sb.sb_rgcount - 1); in xfs_rtgroup_next()
206 struct xfs_mount *mp, in xfs_rtb_to_rgno() argument
209 return xfs_fsb_to_gno(mp, rtbno, XG_TYPE_RTG); in xfs_rtb_to_rgno()
[all …]
/linux/fs/xfs/
H A Dxfs_super.c80 struct xfs_mount *mp, in xfs_mount_set_dax_mode() argument
85 mp->m_features &= ~(XFS_FEAT_DAX_ALWAYS | XFS_FEAT_DAX_NEVER); in xfs_mount_set_dax_mode()
88 mp->m_features |= XFS_FEAT_DAX_ALWAYS; in xfs_mount_set_dax_mode()
89 mp->m_features &= ~XFS_FEAT_DAX_NEVER; in xfs_mount_set_dax_mode()
92 mp->m_features |= XFS_FEAT_DAX_NEVER; in xfs_mount_set_dax_mode()
93 mp->m_features &= ~XFS_FEAT_DAX_ALWAYS; in xfs_mount_set_dax_mode()
207 struct xfs_mount *mp = XFS_M(root->d_sb); in xfs_fs_show_options() local
211 if (mp->m_features & xfs_infop->flag) in xfs_fs_show_options()
215 seq_printf(m, ",inode%d", xfs_has_small_inums(mp) ? 32 : 64); in xfs_fs_show_options()
217 if (xfs_has_allocsize(mp)) in xfs_fs_show_options()
[all …]
H A Dxfs_qm.c40 STATIC int xfs_qm_init_quotainos(struct xfs_mount *mp);
41 STATIC int xfs_qm_init_quotainfo(struct xfs_mount *mp);
55 struct xfs_mount *mp, in xfs_qm_dquot_walk() argument
60 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dquot_walk()
204 struct xfs_mount *mp) in xfs_qm_dqpurge_all() argument
206 xfs_qm_dquot_walk(mp, XFS_DQTYPE_USER, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
207 xfs_qm_dquot_walk(mp, XFS_DQTYPE_GROUP, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
208 xfs_qm_dquot_walk(mp, XFS_DQTYPE_PROJ, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
216 struct xfs_mount *mp) in xfs_qm_unmount() argument
218 if (mp->m_quotainfo) { in xfs_qm_unmount()
[all …]
H A Dxfs_rtalloc.c108 for (log = oargs->mp->m_rsumlevels - 1; log >= 0; log--) { in xfs_rtcopy_summary()
109 for (bbno = oargs->mp->m_sb.sb_rbmblocks - 1; in xfs_rtcopy_summary()
115 if (XFS_IS_CORRUPT(oargs->mp, sum < 0)) { in xfs_rtcopy_summary()
144 struct xfs_mount *mp = args->mp; in xfs_rtallocate_range() local
174 xfs_rtx_to_rbmblock(mp, preblock), -1); in xfs_rtallocate_range()
185 xfs_rtx_to_rbmblock(mp, preblock), 1); in xfs_rtallocate_range()
197 xfs_rtx_to_rbmblock(mp, end + 1), 1); in xfs_rtallocate_range()
253 struct xfs_mount *mp = args->mp; in xfs_rtallocate_extent_block() local
267 end = min(args->rtg->rtg_extents, xfs_rbmblock_to_rtx(mp, bbno + 1)) - in xfs_rtallocate_extent_block()
269 for (i = xfs_rbmblock_to_rtx(mp, bbno); i <= end; i++) { in xfs_rtallocate_extent_block()
[all …]
H A Dxfs_mount.h64 struct xfs_mount *mp; member
361 #define M_IGEO(mp) (&(mp)->m_ino_geo) argument
418 static inline bool xfs_has_ ## name (const struct xfs_mount *mp) \
420 return mp->m_features & XFS_FEAT_ ## NAME; \
426 static inline void xfs_add_ ## name (struct xfs_mount *mp) \
428 mp->m_features |= XFS_FEAT_ ## NAME; \
429 xfs_sb_version_add ## name(&mp->m_sb); \
456 static inline bool xfs_has_rtgroups(const struct xfs_mount *mp) in __XFS_ADD_FEAT()
459 return xfs_has_metadir(mp); in __XFS_ADD_FEAT()
462 static inline bool xfs_has_rtsb(const struct xfs_mount *mp) in xfs_has_rtsb() argument
[all …]
H A Dxfs_notify_failure.c41 struct xfs_mount *mp, in xfs_failure_pgoff() argument
45 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset); in xfs_failure_pgoff()
48 pos += XFS_FSB_TO_B(mp, in xfs_failure_pgoff()
55 struct xfs_mount *mp, in xfs_failure_pgcnt() argument
70 return XFS_FSB_TO_B(mp, end_cross - start_cross) >> PAGE_SHIFT; in xfs_failure_pgcnt()
79 struct xfs_mount *mp = cur->bc_mp; in xfs_dax_failure_fn() local
97 error = xfs_iget(mp, cur->bc_tp, rec->rm_owner, XFS_IGET_INCORE, in xfs_dax_failure_fn()
108 pgoff = xfs_failure_pgoff(mp, rec, notify); in xfs_dax_failure_fn()
109 pgcnt = xfs_failure_pgcnt(mp, rec, notify); in xfs_dax_failure_fn()
130 struct xfs_mount *mp) in xfs_dax_notify_failure_freeze() argument
[all …]
H A Dxfs_zone_space_resv.c52 struct xfs_mount *mp, in xfs_zoned_default_resblks() argument
57 return xfs_rtgs_to_rfsbs(mp, XFS_RESERVED_ZONES) + in xfs_zoned_default_resblks()
58 mp->m_sb.sb_rtreserved; in xfs_zoned_default_resblks()
60 return xfs_rtgs_to_rfsbs(mp, XFS_GC_ZONES); in xfs_zoned_default_resblks()
69 struct xfs_mount *mp) in xfs_zoned_resv_wake_all() argument
71 struct xfs_zone_info *zi = mp->m_zone_info; in xfs_zoned_resv_wake_all()
82 struct xfs_mount *mp, in xfs_zoned_add_available() argument
85 struct xfs_zone_info *zi = mp->m_zone_info; in xfs_zoned_add_available()
89 xfs_add_freecounter(mp, XC_FREE_RTAVAILABLE, count_fsb); in xfs_zoned_add_available()
95 count_fsb = xfs_sum_freecounter(mp, XC_FREE_RTAVAILABLE); in xfs_zoned_add_available()
[all …]
H A Dxfs_zone_alloc.c50 struct xfs_mount *mp, in xfs_zone_bucket() argument
54 mp->m_groups[XG_TYPE_RTG].blocks; in xfs_zone_bucket()
83 struct xfs_mount *mp = rtg_mount(rtg); in xfs_zone_account_reclaimable() local
84 struct xfs_zone_info *zi = mp->m_zone_info; in xfs_zone_account_reclaimable()
87 uint32_t from_bucket = xfs_zone_bucket(mp, used + freed); in xfs_zone_account_reclaimable()
88 uint32_t to_bucket = xfs_zone_bucket(mp, used); in xfs_zone_account_reclaimable()
128 if (zi->zi_gc_thread && xfs_zoned_need_gc(mp)) in xfs_zone_account_reclaimable()
169 struct xfs_mount *mp = rtg_mount(rtg); in xfs_open_zone_mark_full() local
170 struct xfs_zone_info *zi = mp->m_zone_info; in xfs_open_zone_mark_full()
326 struct xfs_mount *mp = ip->i_mount; in xfs_zoned_end_io() local
[all …]
H A Dxfs_icache.c51 static int xfs_icwalk(struct xfs_mount *mp,
91 struct xfs_mount *mp, in xfs_inode_alloc() argument
97 ip = alloc_inode_sb(mp->m_super, xfs_inode_cache, gfp); in xfs_inode_alloc()
98 inode_init_always_gfp(mp->m_super, VFS_I(ip), gfp); in xfs_inode_alloc()
104 M_IGEO(mp)->min_folio_order); in xfs_inode_alloc()
106 XFS_STATS_INC(mp, xs_inodes_active); in xfs_inode_alloc()
110 ip->i_mount = mp; in xfs_inode_alloc()
118 ip->i_diflags2 = mp->m_ino_geo.new_diflags2; in xfs_inode_alloc()
203 struct xfs_mount *mp) in xfs_reclaim_work_queue() argument
207 if (xfs_group_marked(mp, XG_TYPE_AG, XFS_PERAG_RECLAIM_MARK)) { in xfs_reclaim_work_queue()
[all …]
H A Dxfs_zone_gc.c128 struct xfs_mount *mp; member
173 struct xfs_mount *mp) in xfs_zoned_need_gc() argument
179 if (!xfs_zoned_have_reclaimable(mp->m_zone_info)) in xfs_zoned_need_gc()
188 available = xfs_estimate_freecounter(mp, XC_FREE_RTAVAILABLE); in xfs_zoned_need_gc()
190 xfs_rtgs_to_rfsbs(mp, mp->m_max_open_zones - XFS_OPEN_GC_ZONES)) in xfs_zoned_need_gc()
200 if (!mp->m_zonegc_low_space) in xfs_zoned_need_gc()
203 free = xfs_estimate_freecounter(mp, XC_FREE_RTEXTENTS); in xfs_zoned_need_gc()
205 threshold = threshold * mp->m_zonegc_low_space + in xfs_zoned_need_gc()
206 remainder * div_s64(mp->m_zonegc_low_space, 100); in xfs_zoned_need_gc()
213 struct xfs_mount *mp) in xfs_zone_gc_data_alloc() argument
[all …]
H A Dxfs_buf_item_recover.c217 struct xfs_mount *mp, in xlog_recover_validate_buf_type() argument
236 if (!xfs_has_crc(mp)) in xlog_recover_validate_buf_type()
313 xfs_alert(mp, in xlog_recover_validate_buf_type()
404 if (xfs_has_rtgroups(mp) && magic32 != XFS_RTBITMAP_MAGIC) { in xlog_recover_validate_buf_type()
408 bp->b_ops = xfs_rtblock_ops(mp, XFS_RTGI_BITMAP); in xlog_recover_validate_buf_type()
411 if (xfs_has_rtgroups(mp) && magic32 != XFS_RTSUMMARY_MAGIC) { in xlog_recover_validate_buf_type()
415 bp->b_ops = xfs_rtblock_ops(mp, XFS_RTGI_SUMMARY); in xlog_recover_validate_buf_type()
419 xfs_warn(mp, "Unknown buffer type %d!", in xlog_recover_validate_buf_type()
433 xfs_warn(mp, warnmsg); in xlog_recover_validate_buf_type()
451 xfs_buf_item_init(bp, mp); in xlog_recover_validate_buf_type()
[all …]
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-context.c30 static void pvr2_context_set_notify(struct pvr2_context *mp, int fl) in pvr2_context_set_notify() argument
35 if (!mp->notify_flag) { in pvr2_context_set_notify()
37 mp->notify_prev = pvr2_context_notify_last; in pvr2_context_set_notify()
38 mp->notify_next = NULL; in pvr2_context_set_notify()
39 pvr2_context_notify_last = mp; in pvr2_context_set_notify()
40 if (mp->notify_prev) { in pvr2_context_set_notify()
41 mp->notify_prev->notify_next = mp; in pvr2_context_set_notify()
43 pvr2_context_notify_first = mp; in pvr2_context_set_notify()
45 mp->notify_flag = !0; in pvr2_context_set_notify()
48 if (mp->notify_flag) { in pvr2_context_set_notify()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn5_funcs_mode_programming.c44 …mode_lib->mp.num_active_pipes = dml2_core_util_get_num_active_pipes(display_cfg->num_planes, cfg_s… in dcn5_mode_programming()
45 dml2_core_utils_pipe_plane_mapping(cfg_support_info, mode_lib->mp.pipe_plane); in dcn5_mode_programming()
47 mode_lib->mp.GlobalDPPCLK = programming->min_clocks.dcn4x.dpprefclk_khz / 1000.0; in dcn5_mode_programming()
64 mode_lib->mp.ODMMode[k] = dml2_odm_mode_combine_4to1; in dcn5_mode_programming()
67 mode_lib->mp.ODMMode[k] = dml2_odm_mode_combine_3to1; in dcn5_mode_programming()
70 mode_lib->mp.ODMMode[k] = dml2_odm_mode_combine_2to1; in dcn5_mode_programming()
74 mode_lib->mp.ODMMode[k] = dml2_odm_mode_mso_1to4; in dcn5_mode_programming()
76 mode_lib->mp.ODMMode[k] = dml2_odm_mode_mso_1to2; in dcn5_mode_programming()
78 mode_lib->mp.ODMMode[k] = dml2_odm_mode_bypass; in dcn5_mode_programming()
84 mode_lib->mp.NoOfDPP[k] = cfg_support_info->plane_support_info[k].dpps_used; in dcn5_mode_programming()
[all …]
/linux/drivers/net/ethernet/apple/
H A Dmace.c91 static inline void mace_clean_rings(struct mace_data *mp);
112 struct mace_data *mp; in mace_probe() local
155 mp = netdev_priv(dev); in mace_probe()
156 mp->mdev = mdev; in mace_probe()
160 mp->mace = ioremap(dev->base_addr, 0x1000); in mace_probe()
161 if (mp->mace == NULL) { in mace_probe()
173 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | in mace_probe()
174 in_8(&mp->mace->chipid_lo); in mace_probe()
177 mp = netdev_priv(dev); in mace_probe()
178 mp->maccc = ENXMT | ENRCV; in mace_probe()
[all …]
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_malloc.c47 static void *___sym_malloc(m_pool_p mp, int size) in ___sym_malloc() argument
53 m_link_p h = mp->h; in ___sym_malloc()
93 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) in ___sym_mfree() argument
99 m_link_p h = mp->h; in ___sym_mfree()
145 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) in __sym_calloc2() argument
149 p = ___sym_malloc(mp, size); in __sym_calloc2()
161 #define __sym_calloc(mp, s, n) __sym_calloc2(mp, s, n, SYM_MEM_WARN) argument
166 static void __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) in __sym_mfree() argument
171 ___sym_mfree(mp, ptr, size); in __sym_mfree()
180 static void *___mp0_get_mem_cluster(m_pool_p mp) in ___mp0_get_mem_cluster() argument
[all …]
/linux/drivers/pci/controller/dwc/
H A Dpci-meson.c73 static struct reset_control *meson_pcie_get_reset(struct meson_pcie *mp, in meson_pcie_get_reset() argument
77 struct device *dev = mp->pci.dev; in meson_pcie_get_reset()
88 static int meson_pcie_get_resets(struct meson_pcie *mp) in meson_pcie_get_resets() argument
90 struct meson_pcie_rc_reset *mrst = &mp->mrst; in meson_pcie_get_resets()
92 mrst->port = meson_pcie_get_reset(mp, "port", PCIE_NORMAL_RESET); in meson_pcie_get_resets()
97 mrst->apb = meson_pcie_get_reset(mp, "apb", PCIE_SHARED_RESET); in meson_pcie_get_resets()
106 struct meson_pcie *mp) in meson_pcie_get_mems() argument
108 struct dw_pcie *pci = &mp->pci; in meson_pcie_get_mems()
126 mp->cfg_base = devm_platform_ioremap_resource_byname(pdev, "cfg"); in meson_pcie_get_mems()
127 if (IS_ERR(mp->cfg_base)) in meson_pcie_get_mems()
[all …]
/linux/fs/jfs/
H A 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 …]
/linux/fs/xfs/scrub/
H A Dagheader.c41 struct xfs_mount *mp = sc->mp; in xchk_superblock_xref() local
49 agbno = XFS_SB_BLOCK(mp); in xchk_superblock_xref()
72 struct xfs_mount *mp) in xchk_superblock_ondisk_size() argument
74 if (xfs_has_zoned(mp)) in xchk_superblock_ondisk_size()
76 if (xfs_has_metadir(mp)) in xchk_superblock_ondisk_size()
78 if (xfs_has_metauuid(mp)) in xchk_superblock_ondisk_size()
80 if (xfs_has_crc(mp)) in xchk_superblock_ondisk_size()
82 if (xfs_sb_version_hasmorebits(&mp->m_sb)) in xchk_superblock_ondisk_size()
84 if (xfs_has_logv2(mp)) in xchk_superblock_ondisk_size()
86 if (xfs_has_sector(mp)) in xchk_superblock_ondisk_size()
[all …]

12345678910>>...12