Home
last modified time | relevance | path

Searched defs:mp (Results 1 – 25 of 107) sorted by relevance

12345

/fs/xfs/libxfs/
Dxfs_trans_resv.c99 struct xfs_mount *mp, in xfs_calc_inode_res()
131 struct xfs_mount *mp, in xfs_calc_finobt_res()
186 struct xfs_mount *mp) in xfs_calc_write_reservation()
215 struct xfs_mount *mp) in xfs_calc_itruncate_reservation()
245 struct xfs_mount *mp) in xfs_calc_rename_reservation()
263 struct xfs_mount *mp) in xfs_calc_iunlink_remove_reservation()
283 struct xfs_mount *mp) in xfs_calc_link_reservation()
301 xfs_calc_iunlink_add_reservation(xfs_mount_t *mp) in xfs_calc_iunlink_add_reservation()
321 struct xfs_mount *mp) in xfs_calc_remove_reservation()
351 struct xfs_mount *mp) in xfs_calc_create_resv_modify()
[all …]
Dxfs_trans_space.h24 #define XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) \ argument
26 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
27 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument
31 #define XFS_DAENTER_1B(mp,w) \ argument
33 #define XFS_DAENTER_DBS(mp,w) \ argument
35 #define XFS_DAENTER_BLOCKS(mp,w) \ argument
37 #define XFS_DAENTER_BMAP1B(mp,w) \ argument
39 #define XFS_DAENTER_BMAPS(mp,w) \ argument
41 #define XFS_DAENTER_SPACE_RES(mp,w) \ argument
43 #define XFS_DAREMOVE_SPACE_RES(mp,w) XFS_DAENTER_BMAPS(mp,w) argument
[all …]
Dxfs_inum.h32 #define XFS_INO_OFFSET_BITS(mp) (mp)->m_sb.sb_inopblog argument
33 #define XFS_INO_AGBNO_BITS(mp) (mp)->m_sb.sb_agblklog argument
34 #define XFS_INO_AGINO_BITS(mp) (mp)->m_agino_log argument
35 #define XFS_INO_AGNO_BITS(mp) (mp)->m_agno_log argument
36 #define XFS_INO_BITS(mp) \ argument
38 #define XFS_INO_TO_AGNO(mp,i) \ argument
40 #define XFS_INO_TO_AGINO(mp,i) \ argument
42 #define XFS_INO_TO_AGBNO(mp,i) \ argument
45 #define XFS_INO_TO_OFFSET(mp,i) \ argument
47 #define XFS_INO_TO_FSB(mp,i) \ argument
[all …]
Dxfs_quota_defs.h72 #define XFS_DQUOT_LOGRES(mp) \ argument
75 #define XFS_IS_QUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_ALL_QUOTA_ACCT) argument
76 #define XFS_IS_UQUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_UQUOTA_ACCT) argument
77 #define XFS_IS_PQUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_PQUOTA_ACCT) argument
78 #define XFS_IS_GQUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_GQUOTA_ACCT) argument
79 #define XFS_IS_UQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_UQUOTA_ENFD) argument
80 #define XFS_IS_GQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_GQUOTA_ENFD) argument
81 #define XFS_IS_PQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_PQUOTA_ENFD) argument
98 #define XFS_IS_QUOTA_ON(mp) ((mp)->m_qflags & (XFS_UQUOTA_ACTIVE | \ argument
101 #define XFS_IS_UQUOTA_ON(mp) ((mp)->m_qflags & XFS_UQUOTA_ACTIVE) argument
[all …]
Dxfs_bmap_btree.h38 #define XFS_BMBT_BLOCK_LEN(mp) \ argument
42 #define XFS_BMBT_REC_ADDR(mp, block, index) \ argument
48 #define XFS_BMBT_KEY_ADDR(mp, block, index) \ argument
54 #define XFS_BMBT_PTR_ADDR(mp, block, index, maxrecs) \ argument
84 #define XFS_BMAP_BROOT_PTR_ADDR(mp, bb, i, sz) \ argument
87 #define XFS_BMAP_BROOT_SPACE_CALC(mp, nrecs) \ argument
91 #define XFS_BMAP_BROOT_SPACE(mp, bb) \ argument
102 #define XFS_BM_MAXLEVELS(mp,w) ((mp)->m_bm_maxlevels[(w)]) argument
Dxfs_ag.h126 #define XFS_AGF_DADDR(mp) ((xfs_daddr_t)(1 << (mp)->m_sectbb_log)) argument
127 #define XFS_AGF_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGF_DADDR(mp)) argument
197 #define XFS_AGI_DADDR(mp) ((xfs_daddr_t)(2 << (mp)->m_sectbb_log)) argument
198 #define XFS_AGI_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGI_DADDR(mp)) argument
208 #define XFS_AGFL_DADDR(mp) ((xfs_daddr_t)(3 << (mp)->m_sectbb_log)) argument
209 #define XFS_AGFL_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGFL_DADDR(mp)) argument
212 #define XFS_BUF_TO_AGFL_BNO(mp, bp) \ argument
222 #define XFS_AGFL_SIZE(mp) \ argument
247 #define XFS_AG_MAXLEVELS(mp) ((mp)->m_ag_maxlevels) argument
248 #define XFS_MIN_FREELIST_RAW(bl,cl,mp) \ argument
[all …]
Dxfs_symlink_remote.c44 struct xfs_mount *mp, in xfs_symlink_blocks()
54 struct xfs_mount *mp, in xfs_symlink_hdr_set()
105 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_symlink_verify() local
129 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_symlink_read_verify() local
148 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_symlink_write_verify() local
181 struct xfs_mount *mp = ip->i_mount; in xfs_symlink_local_to_remote() local
Dxfs_dquot_buf.c54 struct xfs_mount *mp, in xfs_dqcheck()
178 struct xfs_mount *mp, in xfs_dquot_buf_verify_crc()
210 struct xfs_mount *mp, in xfs_dquot_buf_verify()
256 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_read_verify() local
277 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_readahead_verify() local
295 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_write_verify() local
Dxfs_sb.c115 struct xfs_mount *mp, in xfs_perag_get()
137 struct xfs_mount *mp, in xfs_perag_get_tag()
174 xfs_mount_t *mp, in xfs_mount_validate_sb()
596 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_sb_verify() local
630 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_sb_read_verify() local
687 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_sb_write_verify() local
728 struct xfs_mount *mp, in xfs_sb_mount_common()
774 struct xfs_mount *mp, in xfs_initialize_perag_data()
836 xfs_mount_t *mp; in xfs_mod_sb() local
Dxfs_ialloc_btree.h32 #define XFS_INOBT_BLOCK_LEN(mp) \ argument
41 #define XFS_INOBT_REC_ADDR(mp, block, index) \ argument
47 #define XFS_INOBT_KEY_ADDR(mp, block, index) \ argument
53 #define XFS_INOBT_PTR_ADDR(mp, block, index, maxrecs) \ argument
Dxfs_alloc_btree.h32 #define XFS_ALLOC_BLOCK_LEN(mp) \ argument
41 #define XFS_ALLOC_REC_ADDR(mp, block, index) \ argument
47 #define XFS_ALLOC_KEY_ADDR(mp, block, index) \ argument
53 #define XFS_ALLOC_PTR_ADDR(mp, block, index, maxrecs) \ argument
Dxfs_attr_remote.c54 struct xfs_mount *mp, in xfs_attr3_rmt_blocks()
94 struct xfs_mount *mp, in xfs_attr3_rmt_verify()
124 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_attr3_rmt_read_verify() local
163 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_attr3_rmt_write_verify() local
208 struct xfs_mount *mp, in xfs_attr3_rmt_hdr_set()
235 struct xfs_mount *mp, in xfs_attr_rmtval_copyout()
283 struct xfs_mount *mp, in xfs_attr_rmtval_copyin()
339 struct xfs_mount *mp = args->dp->i_mount; in xfs_attr_rmtval_get() local
404 struct xfs_mount *mp = dp->i_mount; in xfs_attr_rmtval_set() local
540 struct xfs_mount *mp = args->dp->i_mount; in xfs_attr_rmtval_remove() local
Dxfs_inode_buf.c42 xfs_mount_t *mp, in xfs_inobp_check()
83 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_inode_buf_verify() local
167 struct xfs_mount *mp, in xfs_imap_to_bp()
300 struct xfs_mount *mp, in xfs_dinode_verify()
333 struct xfs_mount *mp, in xfs_dinode_calc_crc()
361 xfs_mount_t *mp, in xfs_iread()
/fs/xfs/
Dxfs_mount.c56 #define xfs_icsb_balance_counter(mp, a, b) do { } while (0) argument
57 #define xfs_icsb_balance_counter_locked(mp, a, b) do { } while (0) argument
70 struct xfs_mount *mp) in xfs_uuid_mount()
113 struct xfs_mount *mp) in xfs_uuid_unmount()
150 xfs_mount_t *mp) in xfs_free_perag()
185 xfs_mount_t *mp, in xfs_initialize_perag()
274 struct xfs_mount *mp, in xfs_readsb()
371 xfs_update_alignment(xfs_mount_t *mp) in xfs_update_alignment()
437 xfs_set_maxicount(xfs_mount_t *mp) in xfs_set_maxicount()
464 xfs_set_rw_sizes(xfs_mount_t *mp) in xfs_set_rw_sizes()
[all …]
Dxfs_icache.c50 struct xfs_mount *mp, in xfs_inode_alloc()
149 struct xfs_mount *mp = ip->i_mount; in xfs_iget_cache_hit() local
275 struct xfs_mount *mp, in xfs_iget_cache_miss()
390 xfs_mount_t *mp, in xfs_iget()
510 struct xfs_mount *mp, in xfs_inode_ag_walk()
617 struct xfs_mount *mp) in xfs_queue_eofblocks()
631 struct xfs_mount *mp = container_of(to_delayed_work(work), in xfs_eofblocks_worker() local
639 struct xfs_mount *mp, in xfs_inode_ag_iterator()
666 struct xfs_mount *mp, in xfs_inode_ag_iterator_tag()
701 struct xfs_mount *mp) in xfs_reclaim_work_queue()
[all …]
Dxfs_fsops.c52 xfs_mount_t *mp, in xfs_fs_geometry()
123 struct xfs_mount *mp, in xfs_growfs_get_hdr_buf()
145 xfs_mount_t *mp, /* mount point for filesystem */ in xfs_growfs_data_private()
567 xfs_mount_t *mp, /* mount point for filesystem */ in xfs_growfs_log_private()
596 xfs_mount_t *mp, in xfs_growfs_data()
612 xfs_mount_t *mp, in xfs_growfs_log()
632 xfs_mount_t *mp, in xfs_fs_counts()
662 xfs_mount_t *mp, in xfs_reserve_blocks()
774 xfs_mount_t *mp) in xfs_fs_log_dummy()
794 xfs_mount_t *mp, in xfs_fs_goingdown()
[all …]
Dxfs_super.c178 struct xfs_mount *mp, in xfs_parseargs()
484 struct xfs_mount *mp, in xfs_showargs()
604 xfs_set_inode32(struct xfs_mount *mp, xfs_agnumber_t agcount) in xfs_set_inode32()
656 xfs_set_inode64(struct xfs_mount *mp, xfs_agnumber_t agcount) in xfs_set_inode64()
681 xfs_mount_t *mp, in xfs_blkdev_get()
714 struct xfs_mount *mp) in xfs_close_devices()
741 struct xfs_mount *mp) in xfs_open_devices()
813 struct xfs_mount *mp) in xfs_setup_devices()
843 struct xfs_mount *mp) in xfs_init_mount_workqueues()
893 struct xfs_mount *mp) in xfs_destroy_mount_workqueues()
[all …]
Dxfs_qm_syscalls.c54 xfs_mount_t *mp, in xfs_qm_scall_quotaoff()
226 struct xfs_mount *mp, in xfs_qm_scall_trunc_qfile()
277 xfs_mount_t *mp, in xfs_qm_scall_trunc_qfiles()
312 xfs_mount_t *mp, in xfs_qm_scall_quotaon()
411 struct xfs_mount *mp, in xfs_qm_scall_getqstat()
501 struct xfs_mount *mp, in xfs_qm_scall_getqstatv()
584 struct xfs_mount *mp, in xfs_qm_scall_setqlim()
747 xfs_mount_t *mp, in xfs_qm_log_quotaoff_end()
780 xfs_mount_t *mp, in xfs_qm_log_quotaoff()
830 struct xfs_mount *mp, in xfs_qm_scall_getquota()
[all …]
Dxfs_qm.c65 struct xfs_mount *mp, in xfs_qm_dquot_walk()
135 struct xfs_mount *mp = dqp->q_mount; in xfs_qm_dqpurge() local
200 struct xfs_mount *mp, in xfs_qm_dqpurge_all()
216 struct xfs_mount *mp) in xfs_qm_unmount()
229 xfs_mount_t *mp) in xfs_qm_unmount_quotas()
312 struct xfs_mount *mp = ip->i_mount; in xfs_qm_need_dqattach() local
337 xfs_mount_t *mp = ip->i_mount; in xfs_qm_dqattach_locked() local
571 xfs_mount_t *mp) in xfs_qm_init_quotainfo()
684 xfs_mount_t *mp) in xfs_qm_destroy_quotainfo()
717 xfs_mount_t *mp, in xfs_qm_qino_alloc()
[all …]
Dxfs_quotaops.c50 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_xstate() local
62 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_xstatev() local
75 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_set_xstate() local
113 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_rm_xquota() local
138 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_dqblk() local
155 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_set_dqblk() local
Dxfs_filestream.c86 xfs_mount_t *mp, in xfs_filestream_peek_ag()
100 xfs_mount_t *mp, in xfs_filestream_get_ag()
114 xfs_mount_t *mp, in xfs_filestream_put_ag()
150 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_pick_ag() local
319 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_lookup_ag() local
370 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_new_ag() local
416 xfs_mount_t *mp) in xfs_filestream_mount()
431 xfs_mount_t *mp) in xfs_filestream_unmount()
Dxfs_rtalloc.c51 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtget_summary()
68 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtany_summary()
155 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_range()
234 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_extent_block()
347 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_extent_exact()
426 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_extent_near()
621 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_extent_size()
765 xfs_mount_t *mp, /* file system mount point */ in xfs_growfs_rt_alloc()
889 xfs_mount_t *mp, /* mount point for filesystem */ in xfs_growfs_rt()
1112 xfs_mount_t *mp = tp->t_mountp; in xfs_rtallocate_extent() local
[all …]
Dxfs_error.c60 xfs_errortag_add(int error_tag, xfs_mount_t *mp) in xfs_errortag_add()
95 xfs_errortag_clearall(xfs_mount_t *mp, int loud) in xfs_errortag_clearall()
129 struct xfs_mount *mp, in xfs_error_report()
147 struct xfs_mount *mp, in xfs_corruption_error()
167 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_verifier_error() local
/fs/jfs/
Djfs_metapage.c44 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag) argument
45 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag) argument
47 static inline void unlock_metapage(struct metapage *mp) in unlock_metapage()
53 static inline void __lock_metapage(struct metapage *mp) in __lock_metapage()
73 static inline void lock_metapage(struct metapage *mp) in lock_metapage()
90 struct metapage *mp[MPS_PER_PAGE]; member
101 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
128 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
164 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
174 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
[all …]
Djfs_metapage.h58 #define mark_metapage_dirty(mp) set_bit(META_dirty, &(mp)->flag) argument
85 static inline void write_metapage(struct metapage *mp) in write_metapage()
91 static inline void flush_metapage(struct metapage *mp) in flush_metapage()
97 static inline void discard_metapage(struct metapage *mp) in discard_metapage()
104 static inline void metapage_nohomeok(struct metapage *mp) in metapage_nohomeok()
120 static inline void metapage_wait_for_io(struct metapage *mp) in metapage_wait_for_io()
129 static inline void _metapage_homeok(struct metapage *mp) in _metapage_homeok()
135 static inline void metapage_homeok(struct metapage *mp) in metapage_homeok()

12345