/fs/xfs/libxfs/ |
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()
|
D | xfs_trans_resv.h | 56 #define M_RES(mp) (&(mp)->m_resv) macro
|
D | xfs_attr.c | 382 tres.tr_logres = M_RES(mp)->tr_attrsetm.tr_logres + in xfs_attr_set() 383 M_RES(mp)->tr_attrsetrt.tr_logres * args.total; in xfs_attr_set() 475 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrrm, in xfs_attr_remove()
|
D | xfs_sb.c | 953 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, in xfs_sync_sb() 1049 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, 0, &tp); in xfs_sync_sb_buf()
|
/fs/xfs/ |
D | xfs_reflink.c | 381 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, 0, &tp); in xfs_reflink_allocate_cow() 561 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range() 620 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, in xfs_reflink_end_cow_extent() 874 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_set_inode_flag() 933 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_update_dest() 1023 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, 0, &tp); in xfs_reflink_remap_extent() 1565 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_reflink_try_clear_inode_flag()
|
D | xfs_qm_syscalls.c | 223 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_qm_scall_trunc_qfile() 421 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_setqlim, 0, 0, 0, &tp); in xfs_qm_scall_setqlim() 551 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_equotaoff, 0, 0, 0, &tp); in xfs_qm_log_quotaoff_end() 581 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_quotaoff, 0, 0, 0, &tp); in xfs_qm_log_quotaoff()
|
D | xfs_inode.c | 1165 tres = &M_RES(mp)->tr_mkdir; in xfs_create() 1168 tres = &M_RES(mp)->tr_create; in xfs_create() 1315 tres = &M_RES(mp)->tr_create_tmpfile; in xfs_create_tmpfile() 1402 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, resblks, 0, 0, &tp); in xfs_link() 1405 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, 0, 0, 0, &tp); in xfs_link() 1686 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_truncate() 1747 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, in xfs_inactive_ifree() 1751 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, 0, 0, 0, &tp); in xfs_inactive_ifree() 2892 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_remove, resblks, 0, 0, &tp); in xfs_remove() 2895 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_remove, 0, 0, 0, in xfs_remove() [all …]
|
D | xfs_bmap_util.c | 819 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, in xfs_free_eofblocks() 945 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, in xfs_alloc_file_space() 1014 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, 0, &tp); in xfs_unmap_extent() 1251 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, 0, in xfs_collapse_file_space() 1328 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, in xfs_insert_file_space() 1795 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, 0, &tp); in xfs_swap_extents()
|
D | xfs_fsops.c | 72 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_data_private() 205 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_imaxpct()
|
D | xfs_symlink.c | 212 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_symlink, resblks, 0, 0, &tp); in xfs_symlink() 405 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_symlink_rmt()
|
D | xfs_trans.c | 35 res = (struct xfs_trans_res *)M_RES(mp); in xfs_trans_trace_reservations() 36 end_res = (struct xfs_trans_res *)(M_RES(mp) + 1); in xfs_trans_trace_reservations() 54 xfs_trans_resv_calc(mp, M_RES(mp)); in xfs_trans_init()
|
D | xfs_rtalloc.c | 780 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtalloc, resblks, in xfs_growfs_rt_alloc() 817 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtzero, in xfs_growfs_rt_alloc() 1003 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtfree, 0, 0, 0, in xfs_growfs_rt()
|
D | xfs_pnfs.c | 283 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_fs_commit_blocks()
|
D | xfs_iops.c | 673 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_setattr_nonsize() 934 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_setattr_size() 1084 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_vn_update_time()
|
D | xfs_attr_inactive.c | 393 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans); in xfs_attr_inactive()
|
D | xfs_aops.c | 136 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_setfilesize_trans_alloc() 194 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_setfilesize()
|
D | xfs_refcount_item.c | 516 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_cui_recover()
|
D | xfs_bmap_item.c | 496 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_bui_recover()
|
D | xfs_iomap.c | 261 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, resrtextents, in xfs_iomap_write_direct() 778 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, in xfs_iomap_write_unwritten()
|
D | xfs_rmap_item.c | 546 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_rui_recover()
|
D | xfs_extfree_item.c | 631 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_efi_recover()
|
D | xfs_ioctl.c | 309 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_set_dmattrs() 1375 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_ioctl_setattr_get_trans()
|
D | xfs_dquot.c | 524 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_dqalloc, in xfs_qm_dqread_alloc()
|
D | xfs_file.c | 43 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_update_prealloc_flags()
|
/fs/xfs/scrub/ |
D | common.c | 604 return xfs_trans_alloc(sc->mp, &M_RES(sc->mp)->tr_itruncate, in xchk_trans_alloc()
|