/fs/xfs/libxfs/ |
D | xfs_trans_resv.c | 68 struct xfs_mount *mp, in xfs_allocfree_log_count() 113 struct xfs_mount *mp, in xfs_calc_inode_res() 135 struct xfs_mount *mp) in xfs_calc_inobt_res() 156 struct xfs_mount *mp) in xfs_calc_finobt_res() 181 struct xfs_mount *mp, in xfs_calc_inode_chunk_res() 207 struct xfs_mount *mp, in xfs_rtalloc_log_count() 261 struct xfs_mount *mp) in xfs_calc_write_reservation() 309 struct xfs_mount *mp) in xfs_calc_itruncate_reservation() 345 struct xfs_mount *mp) in xfs_calc_rename_reservation() 364 struct xfs_mount *mp) in xfs_calc_iunlink_remove_reservation() [all …]
|
D | xfs_trans_space.h | 14 #define XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) \ argument 18 #define XFS_RMAPADD_SPACE_RES(mp) ((mp)->m_rmap_maxlevels) argument 21 #define XFS_NRMAPADD_SPACE_RES(mp, b)\ argument 26 #define XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) \ argument 28 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument 29 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument 35 #define XFS_SWAP_RMAP_SPACE_RES(mp,b,w)\ argument 39 #define XFS_DAENTER_1B(mp,w) \ argument 41 #define XFS_DAENTER_DBS(mp,w) \ argument 43 #define XFS_DAENTER_BLOCKS(mp,w) \ argument [all …]
|
D | xfs_types.c | 19 struct xfs_mount *mp, in xfs_ag_block_count() 35 struct xfs_mount *mp, in xfs_verify_agbno() 55 struct xfs_mount *mp, in xfs_verify_fsbno() 71 struct xfs_mount *mp, in xfs_verify_fsbext() 91 struct xfs_mount *mp, in xfs_agino_range() 122 struct xfs_mount *mp, in xfs_verify_agino() 139 struct xfs_mount *mp, in xfs_verify_agino_or_null() 152 struct xfs_mount *mp, in xfs_verify_ino() 168 struct xfs_mount *mp, in xfs_internal_inum() 182 struct xfs_mount *mp, in xfs_verify_dir_ino() [all …]
|
D | xfs_ag.c | 43 struct xfs_mount *mp, in xfs_perag_get() 65 struct xfs_mount *mp, in xfs_perag_get_tag() 107 struct xfs_mount *mp, in xfs_initialize_perag_data() 184 struct xfs_mount *mp) in xfs_free_perag() 206 struct xfs_mount *mp, in xfs_initialize_perag() 302 struct xfs_mount *mp, in xfs_get_aghdr_buf() 322 static inline bool is_log_ag(struct xfs_mount *mp, struct aghdr_init_data *id) in is_log_ag() 333 struct xfs_mount *mp, in xfs_btroot_init() 343 struct xfs_mount *mp, in xfs_freesp_init_recs() 400 struct xfs_mount *mp, in xfs_bnoroot_init() [all …]
|
D | xfs_sb.c | 181 struct xfs_mount *mp, in xfs_validate_sb_read() 229 struct xfs_mount *mp, in xfs_validate_sb_write() 303 struct xfs_mount *mp, in xfs_validate_sb_common() 786 struct xfs_mount *mp = bp->b_mount; in xfs_sb_read_verify() local 852 struct xfs_mount *mp = bp->b_mount; in xfs_sb_write_verify() local 907 struct xfs_mount *mp, in xfs_sb_mount_common() 955 struct xfs_mount *mp = tp->t_mountp; in xfs_log_sb() local 990 struct xfs_mount *mp, in xfs_sync_sb() 1019 struct xfs_mount *mp) in xfs_update_secondary_sbs() 1087 struct xfs_mount *mp) in xfs_sync_sb_buf() [all …]
|
D | xfs_dquot_buf.c | 38 struct xfs_mount *mp, in xfs_dquot_verify() 105 struct xfs_mount *mp, in xfs_dqblk_verify() 121 struct xfs_mount *mp, in xfs_dqblk_repair() 146 struct xfs_mount *mp, in xfs_dquot_buf_verify_crc() 181 struct xfs_mount *mp, in xfs_dquot_buf_verify() 233 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_verify_struct() local 242 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_read_verify() local 259 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_readahead_verify() local 277 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_write_verify() local
|
D | xfs_bmap_btree.h | 18 #define XFS_BMBT_BLOCK_LEN(mp) \ argument 22 #define XFS_BMBT_REC_ADDR(mp, block, index) \ argument 28 #define XFS_BMBT_KEY_ADDR(mp, block, index) \ argument 34 #define XFS_BMBT_PTR_ADDR(mp, block, index, maxrecs) \ argument 64 #define XFS_BMAP_BROOT_PTR_ADDR(mp, bb, i, sz) \ argument 67 #define XFS_BMAP_BROOT_SPACE_CALC(mp, nrecs) \ argument 71 #define XFS_BMAP_BROOT_SPACE(mp, bb) \ argument 82 #define XFS_BM_MAXLEVELS(mp,w) ((mp)->m_bm_maxlevels[(w)]) argument
|
D | xfs_quota_defs.h | 60 #define XFS_DQUOT_LOGRES(mp) \ argument 63 #define XFS_IS_QUOTA_ON(mp) ((mp)->m_qflags & XFS_ALL_QUOTA_ACCT) argument 64 #define XFS_IS_UQUOTA_ON(mp) ((mp)->m_qflags & XFS_UQUOTA_ACCT) argument 65 #define XFS_IS_PQUOTA_ON(mp) ((mp)->m_qflags & XFS_PQUOTA_ACCT) argument 66 #define XFS_IS_GQUOTA_ON(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
|
D | xfs_ialloc_btree.h | 21 #define XFS_INOBT_BLOCK_LEN(mp) \ argument 30 #define XFS_INOBT_REC_ADDR(mp, block, index) \ argument 36 #define XFS_INOBT_KEY_ADDR(mp, block, index) \ argument 42 #define XFS_INOBT_PTR_ADDR(mp, block, index, maxrecs) \ argument 64 #define xfs_inobt_rec_check_count(mp, rec) 0 argument
|
D | xfs_dir2_sf.c | 42 struct xfs_mount *mp, in xfs_dir2_sf_entsize() 58 struct xfs_mount *mp, in xfs_dir2_sf_nextentry() 73 struct xfs_mount *mp, in xfs_dir2_sf_get_ino() 89 struct xfs_mount *mp, in xfs_dir2_sf_put_ino() 135 struct xfs_mount *mp, in xfs_dir2_sf_get_ftype() 150 struct xfs_mount *mp, in xfs_dir2_sf_put_ftype() 181 xfs_mount_t *mp; /* mount structure pointer */ in xfs_dir2_block_sfsize() local 264 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_block_to_sf() local 464 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_addname_easy() local 515 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_addname_hard() local [all …]
|
D | xfs_symlink_remote.c | 27 struct xfs_mount *mp, in xfs_symlink_blocks() 37 struct xfs_mount *mp, in xfs_symlink_hdr_set() 89 struct xfs_mount *mp = bp->b_mount; in xfs_symlink_verify() local 115 struct xfs_mount *mp = bp->b_mount; in xfs_symlink_read_verify() local 135 struct xfs_mount *mp = bp->b_mount; in xfs_symlink_write_verify() local 171 struct xfs_mount *mp = ip->i_mount; in xfs_symlink_local_to_remote() local
|
/fs/xfs/ |
D | xfs_mount.c | 57 struct xfs_mount *mp) in xfs_uuid_mount() 102 struct xfs_mount *mp) in xfs_uuid_unmount() 148 struct xfs_mount *mp, in xfs_readsb() 251 struct xfs_mount *mp, in xfs_check_new_dalign() 287 struct xfs_mount *mp) in xfs_validate_new_dalign() 334 struct xfs_mount *mp) in xfs_update_alignment() 366 struct xfs_mount *mp) in xfs_set_low_space_thresholds() 386 struct xfs_mount *mp) in xfs_check_sizes() 430 struct xfs_mount *mp) in xfs_mount_reset_sbqflags() 448 xfs_default_resblks(xfs_mount_t *mp) in xfs_default_resblks() [all …]
|
D | xfs_super.c | 56 static inline void xfs_mount_list_add(struct xfs_mount *mp) in xfs_mount_list_add() 63 static inline void xfs_mount_list_del(struct xfs_mount *mp) in xfs_mount_list_del() 70 static inline void xfs_mount_list_add(struct xfs_mount *mp) {} in xfs_mount_list_add() 71 static inline void xfs_mount_list_del(struct xfs_mount *mp) {} in xfs_mount_list_del() 82 struct xfs_mount *mp, in xfs_mount_set_dax_mode() 194 struct xfs_mount *mp = XFS_M(root->d_sb); in xfs_fs_show_options() local 263 struct xfs_mount *mp, in xfs_set_inode_alloc() 344 xfs_mount_t *mp, in xfs_blkdev_get() 370 struct xfs_mount *mp) in xfs_close_devices() 406 struct xfs_mount *mp) in xfs_open_devices() [all …]
|
D | xfs_icache.c | 71 struct xfs_mount *mp, in xfs_inode_alloc() 187 struct xfs_mount *mp) in xfs_reclaim_work_queue() 206 struct xfs_mount *mp = pag->pag_mount; in xfs_blockgc_queue() local 226 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_set_inode_tag() local 265 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_clear_inode_tag() local 318 struct xfs_mount *mp, in xfs_reinit_inode() 351 struct xfs_mount *mp = ip->i_mount; in xfs_iget_recycle() local 453 struct xfs_mount *mp) in xfs_inodegc_queue_all() 482 struct xfs_mount *mp = ip->i_mount; in xfs_iget_cache_hit() local 588 struct xfs_mount *mp, in xfs_iget_cache_miss() [all …]
|
D | xfs_error.c | 88 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_store() local 113 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_show() local 225 struct xfs_mount *mp) in xfs_errortag_init() 243 struct xfs_mount *mp) in xfs_errortag_del() 251 struct xfs_mount *mp, in xfs_errortag_test() 283 struct xfs_mount *mp, in xfs_errortag_get() 294 struct xfs_mount *mp, in xfs_errortag_set() 307 struct xfs_mount *mp, in xfs_errortag_add() 321 struct xfs_mount *mp) in xfs_errortag_clearall() 332 struct xfs_mount *mp, in xfs_error_report() [all …]
|
D | xfs_error.h | 28 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument 30 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \ argument 46 #define XFS_TEST_ERROR(expr, mp, tag) \ argument 55 #define xfs_errortag_init(mp) (0) argument 56 #define xfs_errortag_del(mp) argument 57 #define XFS_TEST_ERROR(expr, mp, tag) (expr) argument 58 #define xfs_errortag_set(mp, tag, val) (ENOSYS) argument 59 #define xfs_errortag_add(mp, tag) (ENOSYS) argument 60 #define xfs_errortag_clearall(mp) (ENOSYS) argument
|
D | xfs_qm.c | 51 struct xfs_mount *mp, in xfs_qm_dquot_walk() 124 struct xfs_mount *mp = dqp->q_mount; in xfs_qm_dqpurge() local 190 struct xfs_mount *mp) in xfs_qm_dqpurge_all() 202 struct xfs_mount *mp) in xfs_qm_unmount() 215 xfs_mount_t *mp) in xfs_qm_unmount_quotas() 296 struct xfs_mount *mp = ip->i_mount; in xfs_qm_need_dqattach() local 319 xfs_mount_t *mp = ip->i_mount; in xfs_qm_dqattach_locked() local 542 struct xfs_mount *mp, in xfs_qm_set_defquota() 572 struct xfs_mount *mp, in xfs_qm_init_timelimits() 627 struct xfs_mount *mp) in xfs_qm_init_quotainfo() [all …]
|
D | xfs_fsops.c | 45 struct xfs_mount *mp = tp->t_mountp; in xfs_resizefs_init_new_ags() local 85 struct xfs_mount *mp, /* mount point for filesystem */ in xfs_growfs_data_private() 227 struct xfs_mount *mp, /* mount point for filesystem */ in xfs_growfs_log_private() 249 struct xfs_mount *mp, in xfs_growfs_imaxpct() 277 struct xfs_mount *mp, in xfs_growfs_data() 324 xfs_mount_t *mp, in xfs_growfs_log() 344 xfs_mount_t *mp, in xfs_fs_counts() 374 xfs_mount_t *mp, in xfs_reserve_blocks() 475 xfs_mount_t *mp, in xfs_fs_goingdown() 513 struct xfs_mount *mp, in xfs_do_force_shutdown() [all …]
|
D | xfs_quotaops.c | 22 struct xfs_mount *mp, in xfs_qm_fill_state() 59 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_quota_state() local 112 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_set_info() local 161 struct xfs_mount *mp = XFS_M(sb); in xfs_quota_enable() local 176 struct xfs_mount *mp = XFS_M(sb); in xfs_quota_disable() local 191 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_rm_xquota() local 219 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_dqblk() local 237 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_nextdqblk() local 260 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_set_dqblk() local
|
D | xfs_qm_syscalls.c | 24 xfs_mount_t *mp, in xfs_qm_scall_quotaoff() 55 struct xfs_mount *mp, in xfs_qm_scall_trunc_qfile() 103 xfs_mount_t *mp, in xfs_qm_scall_trunc_qfiles() 138 xfs_mount_t *mp, in xfs_qm_scall_quotaon() 229 struct xfs_mount *mp, in xfs_setqlim_limits() 266 struct xfs_mount *mp, in xfs_setqlim_timer() 286 struct xfs_mount *mp, in xfs_qm_scall_setqlim() 426 struct xfs_mount *mp, in xfs_qm_scall_getquota_fill_qc() 476 struct xfs_mount *mp, in xfs_qm_scall_getquota() 521 struct xfs_mount *mp, in xfs_qm_scall_getquota_next()
|
D | xfs_dquot.c | 72 struct xfs_mount *mp = dq->q_mount; in xfs_qm_adjust_dqlimits() local 104 struct xfs_mount *mp, in xfs_dquot_set_timeout() 127 struct xfs_mount *mp, in xfs_qm_adjust_res_timer() 163 struct xfs_mount *mp = dq->q_mount; in xfs_qm_adjust_dqtimers() local 181 struct xfs_mount *mp, in xfs_qm_init_dquot_blk() 298 struct xfs_mount *mp = tp->t_mountp; in xfs_dquot_disk_alloc() local 392 struct xfs_mount *mp, in xfs_dquot_disk_read() 455 struct xfs_mount *mp, in xfs_dquot_alloc() 635 struct xfs_mount *mp, in xfs_qm_dqread_alloc() 676 struct xfs_mount *mp, in xfs_qm_dqread() [all …]
|
D | xfs_filestream.c | 40 xfs_mount_t *mp, in xfs_filestream_peek_ag() 54 xfs_mount_t *mp, in xfs_filestream_get_ag() 68 xfs_mount_t *mp, in xfs_filestream_put_ag() 83 struct xfs_mount *mp = data; in xfs_fstrm_free_func() local 105 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_pick_ag() local 275 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_lookup_ag() local 326 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_new_ag() local 375 xfs_mount_t *mp) in xfs_filestream_mount() 390 xfs_mount_t *mp) in xfs_filestream_unmount()
|
D | xfs_trans.c | 33 struct xfs_mount *mp) in xfs_trans_trace_reservations() 48 # define xfs_trans_trace_reservations(mp) argument 57 struct xfs_mount *mp) in xfs_trans_init() 158 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve() local 249 struct xfs_mount *mp, in xfs_trans_alloc() 331 struct xfs_mount *mp, in xfs_trans_alloc_empty() 362 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_sb() local 576 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_unreserve_and_mod_sb() local 838 struct xfs_mount *mp = tp->t_mountp; in __xfs_trans_commit() local 940 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_cancel() local [all …]
|
D | xfs_rtalloc.c | 31 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtget_summary() 48 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtany_summary() 143 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_range() 222 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_extent_block() 342 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_extent_exact() 421 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_extent_near() 624 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_extent_size() 768 struct xfs_mount *mp, /* file system mount point */ in xfs_growfs_rt_alloc() 882 xfs_mount_t *mp, /* file system mount structure */ in xfs_alloc_rsum_cache() 904 xfs_mount_t *mp, /* mount point for filesystem */ in xfs_growfs_rt() [all …]
|
/fs/jfs/ |
D | jfs_metapage.c | 31 #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() 40 static inline void __lock_metapage(struct metapage *mp) in __lock_metapage() 60 static inline void lock_metapage(struct metapage *mp) in lock_metapage() 77 struct metapage *mp[MPS_PER_PAGE]; member 88 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage() 115 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage() 151 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage() 161 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage() [all …]
|