Home
last modified time | relevance | path

Searched refs:M_RES (Results 1 – 25 of 30) sorted by relevance

12

/fs/xfs/libxfs/
Dxfs_log_rlimit.c35 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()
Dxfs_trans_resv.h56 #define M_RES(mp) (&(mp)->m_resv) macro
Dxfs_attr.c382 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()
Dxfs_sb.c953 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/
Dxfs_reflink.c381 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()
Dxfs_qm_syscalls.c223 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()
Dxfs_inode.c1165 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 …]
Dxfs_bmap_util.c819 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()
Dxfs_fsops.c72 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()
Dxfs_symlink.c212 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()
Dxfs_trans.c35 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()
Dxfs_rtalloc.c780 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()
Dxfs_pnfs.c283 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_fs_commit_blocks()
Dxfs_iops.c673 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()
Dxfs_attr_inactive.c393 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans); in xfs_attr_inactive()
Dxfs_aops.c136 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()
Dxfs_refcount_item.c516 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_cui_recover()
Dxfs_bmap_item.c496 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_bui_recover()
Dxfs_iomap.c261 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()
Dxfs_rmap_item.c546 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_rui_recover()
Dxfs_extfree_item.c631 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_efi_recover()
Dxfs_ioctl.c309 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()
Dxfs_dquot.c524 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_dqalloc, in xfs_qm_dqread_alloc()
Dxfs_file.c43 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_update_prealloc_flags()
/fs/xfs/scrub/
Dcommon.c604 return xfs_trans_alloc(sc->mp, &M_RES(sc->mp)->tr_itruncate, in xchk_trans_alloc()

12