| /fs/xfs/libxfs/ |
| A D | xfs_log_rlimit.c | 73 return M_RES(mp)->tr_attrsetm.tr_logres + in xfs_log_calc_max_attrsetm_res() 74 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; in xfs_log_calc_max_attrsetm_res() 94 resv->tr_atomic_ioend = M_RES(mp)->tr_atomic_ioend; in xfs_log_calc_trans_resv_for_minlogblocks() 112 resv->tr_atomic_ioend = M_RES(mp)->tr_atomic_ioend; in xfs_log_calc_trans_resv_for_minlogblocks()
|
| A D | xfs_trans_resv.c | 612 struct xfs_trans_resv *resp = M_RES(mp); in xfs_calc_rename_reservation() 721 struct xfs_trans_resv *resp = M_RES(mp); in xfs_calc_link_reservation() 783 struct xfs_trans_resv *resp = M_RES(mp); in xfs_calc_remove_reservation() 867 struct xfs_trans_resv *resp = M_RES(mp); in xfs_calc_icreate_reservation() 1473 const struct xfs_trans_res *resv = &M_RES(mp)->tr_atomic_ioend; in xfs_calc_max_atomic_write_fsblocks() 1503 struct xfs_trans_res *curr_res = &M_RES(mp)->tr_atomic_ioend; in xfs_calc_atomic_write_log_geometry() 1511 xfs_calc_default_atomic_ioend_reservation(mp, M_RES(mp)); in xfs_calc_atomic_write_log_geometry() 1548 xfs_calc_default_atomic_ioend_reservation(mp, M_RES(mp)); in xfs_calc_atomic_write_reservation() 1557 M_RES(mp)->tr_atomic_ioend.tr_logres = new_logres; in xfs_calc_atomic_write_reservation()
|
| A D | xfs_metadir.c | 208 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_create, in xfs_metadir_start_create() 338 error = xfs_trans_alloc_dir(upd->dp, &M_RES(mp)->tr_link, upd->ip, in xfs_metadir_start_link()
|
| A D | xfs_trans_resv.h | 55 #define M_RES(mp) (&(mp)->m_resv) macro
|
| A D | xfs_attr.c | 338 .tr_logres = M_RES(mp)->tr_attrsetm.tr_logres + in xfs_attr_set_resv() 339 M_RES(mp)->tr_attrsetrt.tr_logres * args->total, in xfs_attr_set_resv() 1012 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_addafork, blks, 0, in xfs_attr_add_fork() 1089 tres = M_RES(mp)->tr_attrrm; in xfs_attr_set()
|
| A D | xfs_rtbitmap.c | 1339 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtalloc, in xfs_rtfile_alloc_blocks() 1388 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtzero, 0, 0, 0, &tp); in xfs_rtfile_initialize_block()
|
| /fs/xfs/ |
| A D | xfs_reflink.c | 461 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_reflink_fill_cow_hole() 517 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, 0, 0, in xfs_reflink_fill_delalloc() 722 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range() 913 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, in xfs_reflink_end_cow_extent() 1018 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_atomic_ioend, resblks, 0, in xfs_reflink_end_atomic_cow() 1186 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_set_inode_flag() 1245 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_update_dest() 1361 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_reflink_remap_extent() 1365 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_reflink_remap_extent() 1835 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_reflink_try_clear_inode_flag()
|
| A D | xfs_fsops.c | 161 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_data_private() 165 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, -delta, 0, in xfs_growfs_data_private() 283 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_imaxpct()
|
| A D | xfs_pnfs.c | 86 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_fs_map_update_inode() 313 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_fs_commit_blocks()
|
| A D | xfs_symlink.c | 149 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink() 277 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_symlink_rmt()
|
| A D | xfs_inode.c | 684 tres = &M_RES(mp)->tr_mkdir; in xfs_create() 687 tres = &M_RES(mp)->tr_create; in xfs_create() 820 tres = &M_RES(mp)->tr_create_tmpfile; in xfs_create_tmpfile() 918 error = xfs_trans_alloc_dir(tdp, &M_RES(mp)->tr_link, sip, &resblks, in xfs_link() 1152 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_truncate() 1213 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, in xfs_inactive_ifree() 1217 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, 0, 0, 0, &tp); in xfs_inactive_ifree() 1934 error = xfs_trans_alloc_dir(dp, &M_RES(mp)->tr_remove, ip, &resblks, in xfs_remove() 2181 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_rename, spaceres, 0, 0, &tp); in xfs_rename() 2185 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_rename, 0, 0, 0, in xfs_rename()
|
| A D | xfs_bmap_util.c | 607 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_free_eofblocks() 731 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_alloc_file_space() 789 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, 0, in xfs_unmap_extent() 1010 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_collapse_file_space() 1079 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, in xfs_insert_file_space() 1604 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, flags, in xfs_swap_extents()
|
| A D | xfs_qm_syscalls.c | 70 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_qm_scall_trunc_qfile() 308 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_setqlim, 0, 0, 0, &tp); in xfs_qm_scall_setqlim()
|
| A D | xfs_trans.c | 42 res = (struct xfs_trans_res *)M_RES(mp); in xfs_trans_trace_reservations() 43 end_res = (struct xfs_trans_res *)(M_RES(mp) + 1); in xfs_trans_trace_reservations() 59 xfs_trans_resv_calc(mp, M_RES(mp)); in xfs_trans_init() 1247 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_trans_alloc_ichange()
|
| A D | xfs_acl.c | 230 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_acl_set_mode()
|
| A D | xfs_attr_inactive.c | 343 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans); in xfs_attr_inactive()
|
| A D | xfs_rtalloc.c | 706 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_ichange, 0, 0, false, in xfs_growfs_rt_fixup_extsize() 912 error = xfs_trans_alloc(mp, &M_RES(nmp)->tr_growrtfree, 0, 0, 0, &tp); in xfs_growfs_rt_zoned() 978 error = xfs_trans_alloc(mp, &M_RES(nmp)->tr_growrtfree, 0, 0, 0, in xfs_growfs_rt_bmblock() 1248 xfs_trans_resv_calc(nmp, M_RES(nmp)); in xfs_growfs_check_rtgeom()
|
| A D | xfs_iops.c | 1055 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, resblks, in xfs_setattr_size() 1211 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_vn_update_time()
|
| A D | xfs_exchmaps_item.c | 450 resv = xlog_recover_resv(&M_RES(mp)->tr_write); in xfs_exchmaps_recover_work()
|
| A D | xfs_iomap.c | 312 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_iomap_write_direct() 652 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, in xfs_iomap_write_unwritten() 1154 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_atomic_write_cow_iomap_begin()
|
| A D | xfs_bmap_item.c | 522 resv = xlog_recover_resv(&M_RES(mp)->tr_itruncate); in xfs_bmap_recover_work()
|
| /fs/xfs/scrub/ |
| A D | tempfile.c | 80 tres = &M_RES(mp)->tr_mkdir; in xrep_tempfile_create() 83 tres = &M_RES(mp)->tr_create_tmpfile; in xrep_tempfile_create() 862 error = xfs_trans_alloc(sc->mp, &M_RES(sc->mp)->tr_itruncate, in xrep_tempexch_trans_alloc()
|
| A D | nlinks_repair.c | 137 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, 0, 0, 0, in xrep_nlinks_repair_inode()
|
| A D | orphanage.c | 346 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, in xrep_adoption_trans_alloc()
|
| A D | dirtree_repair.c | 403 error = xfs_trans_alloc_dir(dp, &M_RES(mp)->tr_remove, sc->ip, in xrep_dirtree_unlink()
|