| /linux/fs/xfs/libxfs/ |
| A D | xfs_log_rlimit.c | 35 return M_RES(mp)->tr_attrsetm.tr_logres + in xfs_log_calc_max_attrsetm_res() 36 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; in xfs_log_calc_max_attrsetm_res() 56 resp = (struct xfs_trans_res *)M_RES(mp); in xfs_log_get_max_trans_res() 57 end_resp = (struct xfs_trans_res *)(M_RES(mp) + 1); in xfs_log_get_max_trans_res() 69 *max_resp = M_RES(mp)->tr_attrsetm; /* struct copy */ in xfs_log_get_max_trans_res()
|
| A D | xfs_trans_resv.h | 54 #define M_RES(mp) (&(mp)->m_resv) macro
|
| A D | xfs_attr.c | 751 tres.tr_logres = M_RES(mp)->tr_attrsetm.tr_logres + in xfs_attr_set() 752 M_RES(mp)->tr_attrsetrt.tr_logres * in xfs_attr_set() 763 tres = M_RES(mp)->tr_attrrm; in xfs_attr_set()
|
| A D | xfs_sb.c | 945 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, in xfs_sync_sb() 1042 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, 0, &tp); in xfs_sync_sb_buf()
|
| /linux/fs/xfs/ |
| A D | xfs_reflink.c | 381 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, 0, in xfs_reflink_allocate_cow() 546 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range() 605 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, in xfs_reflink_end_cow_extent() 867 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_set_inode_flag() 926 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_update_dest() 1026 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_reflink_remap_extent() 1030 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_reflink_remap_extent() 1479 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_reflink_try_clear_inode_flag()
|
| A D | xfs_inode.c | 1000 tres = &M_RES(mp)->tr_mkdir; in xfs_create() 1003 tres = &M_RES(mp)->tr_create; in xfs_create() 1153 tres = &M_RES(mp)->tr_create_tmpfile; in xfs_create_tmpfile() 1239 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, resblks, 0, 0, &tp); in xfs_link() 1242 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, 0, 0, 0, &tp); in xfs_link() 1526 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_truncate() 1587 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, in xfs_inactive_ifree() 1591 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, 0, 0, 0, &tp); in xfs_inactive_ifree() 2784 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_remove, resblks, 0, 0, &tp); in xfs_remove() 2787 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_remove, 0, 0, 0, in xfs_remove() [all …]
|
| A D | xfs_trans.c | 40 res = (struct xfs_trans_res *)M_RES(mp); in xfs_trans_trace_reservations() 41 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() 1149 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_trans_alloc_ichange()
|
| A D | xfs_bmap_util.c | 732 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_free_eofblocks() 857 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_alloc_file_space() 912 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, 0, in xfs_unmap_extent() 1121 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_collapse_file_space() 1191 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, in xfs_insert_file_space() 1703 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, flags, in xfs_swap_extents()
|
| A D | xfs_symlink.c | 204 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink() 394 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_symlink_rmt()
|
| A D | xfs_fsops.c | 141 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_data_private() 259 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_imaxpct()
|
| A D | xfs_qm_syscalls.c | 71 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_qm_scall_trunc_qfile() 328 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_setqlim, 0, 0, 0, &tp); in xfs_qm_scall_setqlim()
|
| A D | xfs_rtalloc.c | 797 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtalloc, resblks, in xfs_growfs_rt_alloc() 838 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtzero, in xfs_growfs_rt_alloc() 1049 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtfree, 0, 0, 0, in xfs_growfs_rt()
|
| A D | xfs_acl.c | 228 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_acl_set_mode()
|
| A D | xfs_pnfs.c | 278 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_fs_commit_blocks()
|
| A D | xfs_attr_inactive.c | 347 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans); in xfs_attr_inactive()
|
| A D | xfs_aops.c | 56 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_setfilesize()
|
| A D | xfs_iomap.c | 241 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_iomap_write_direct() 544 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, in xfs_iomap_write_unwritten()
|
| A D | xfs_iops.c | 973 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_setattr_size() 1129 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_vn_update_time()
|
| A D | xfs_bmap_item.c | 494 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_bui_item_recover()
|
| A D | xfs_refcount_item.c | 496 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_cui_item_recover()
|
| A D | xfs_rmap_item.c | 535 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_rui_item_recover()
|
| A D | xfs_extfree_item.c | 629 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_efi_item_recover()
|
| A D | xfs_dquot.c | 642 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_dqalloc, in xfs_qm_dqread_alloc()
|
| A D | xfs_file.c | 77 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_update_prealloc_flags()
|
| /linux/fs/xfs/scrub/ |
| A D | common.c | 575 return xfs_trans_alloc(sc->mp, &M_RES(sc->mp)->tr_itruncate, in xchk_trans_alloc()
|