Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.c439 tres.tr_logres = M_RES(mp)->tr_attrsetm.tr_logres + in xfs_attr_set()
440 M_RES(mp)->tr_attrsetrt.tr_logres * in xfs_attr_set()
448 tres = M_RES(mp)->tr_attrrm; in xfs_attr_set()
Dxfs_sb.c987 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, in xfs_sync_sb()
1083 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, 0, &tp); in xfs_sync_sb_buf()
Dxfs_refcount.c1737 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_refcount_recover_cow_leftovers()
/Linux-v5.10/fs/xfs/
Dxfs_reflink.c379 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, 0, &tp); in xfs_reflink_allocate_cow()
559 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range()
618 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, in xfs_reflink_end_cow_extent()
872 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_set_inode_flag()
931 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_update_dest()
1009 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, 0, &tp); in xfs_reflink_remap_extent()
1457 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_reflink_try_clear_inode_flag()
Dxfs_qm_syscalls.c32 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_quotaoff, 0, 0, 0, &tp); in xfs_qm_log_quotaoff()
70 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_equotaoff, 0, 0, 0, &tp); in xfs_qm_log_quotaoff_end()
287 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_qm_scall_trunc_qfile()
544 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_setqlim, 0, 0, 0, &tp); in xfs_qm_scall_setqlim()
Dxfs_inode.c1148 tres = &M_RES(mp)->tr_mkdir; in xfs_create()
1151 tres = &M_RES(mp)->tr_create; in xfs_create()
1296 tres = &M_RES(mp)->tr_create_tmpfile; in xfs_create_tmpfile()
1383 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, resblks, 0, 0, &tp); in xfs_link()
1386 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, 0, 0, 0, &tp); in xfs_link()
1659 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_truncate()
1720 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, in xfs_inactive_ifree()
1724 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, 0, 0, 0, &tp); in xfs_inactive_ifree()
2848 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_remove, resblks, 0, 0, &tp); in xfs_remove()
2851 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_remove, 0, 0, 0, in xfs_remove()
[all …]
Dxfs_bmap_util.c680 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, in xfs_free_eofblocks()
806 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, in xfs_alloc_file_space()
875 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, 0, &tp); in xfs_unmap_extent()
1088 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_collapse_file_space()
1158 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, in xfs_insert_file_space()
1650 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, flags, in xfs_swap_extents()
Dxfs_symlink.c200 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_symlink, resblks, 0, 0, &tp); in xfs_symlink()
389 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_symlink_rmt()
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_trans.c36 res = (struct xfs_trans_res *)M_RES(mp); in xfs_trans_trace_reservations()
37 end_res = (struct xfs_trans_res *)(M_RES(mp) + 1); in xfs_trans_trace_reservations()
55 xfs_trans_resv_calc(mp, M_RES(mp)); in xfs_trans_init()
Dxfs_aops.c50 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_setfilesize_trans_alloc()
108 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_setfilesize()
Dxfs_pnfs.c278 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_fs_commit_blocks()
Dxfs_rtalloc.c797 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtalloc, resblks, in xfs_growfs_rt_alloc()
833 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtzero, in xfs_growfs_rt_alloc()
1020 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtfree, 0, 0, 0, in xfs_growfs_rt()
Dxfs_attr_inactive.c347 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans); in xfs_attr_inactive()
Dxfs_iops.c706 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_setattr_nonsize()
970 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_setattr_size()
1120 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_vn_update_time()
Dxfs_iomap.c242 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, resrtextents, in xfs_iomap_write_direct()
551 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, in xfs_iomap_write_unwritten()
Dxfs_bmap_item.c491 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_bui_item_recover()
Dxfs_refcount_item.c486 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_cui_item_recover()
Dxfs_rmap_item.c518 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, in xfs_rui_item_recover()
Dxfs_extfree_item.c615 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_efi_item_recover()
Dxfs_dquot.c601 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_dqalloc, in xfs_qm_dqread_alloc()
Dxfs_file.c76 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_update_prealloc_flags()
/Linux-v5.10/fs/xfs/scrub/
Dcommon.c604 return xfs_trans_alloc(sc->mp, &M_RES(sc->mp)->tr_itruncate, in xchk_trans_alloc()

12