Home
last modified time | relevance | path

Searched refs:M_RES (Results 1 - 25 of 59) sorted by relevance

123

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A 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()
H A Dxfs_trans_resv.h56 #define M_RES(mp) (&(mp)->m_resv) macro
H A 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()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_log_rlimit.c36 return M_RES(mp)->tr_attrsetm.tr_logres + in xfs_log_calc_max_attrsetm_res()
37 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; in xfs_log_calc_max_attrsetm_res()
H A Dxfs_trans_resv.h54 #define M_RES(mp) (&(mp)->m_resv) macro
/kernel/linux/linux-5.10/fs/xfs/
H A 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()
H A 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()
H A 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()
2850 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_remove, resblks, 0, 0, &tp); in xfs_remove()
2853 error = xfs_trans_alloc(mp, &M_RES(m in xfs_remove()
[all...]
H A Dxfs_bmap_util.c680 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, in xfs_free_eofblocks()
803 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, in xfs_alloc_file_space()
872 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, 0, &tp); in xfs_unmap_extent()
1085 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_collapse_file_space()
1155 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, in xfs_insert_file_space()
1647 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, flags, in xfs_swap_extents()
H A 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()
H A 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()
H A Dxfs_symlink.c200 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_symlink, resblks, 0, 0, &tp); in xfs_symlink()
390 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_symlink_rmt()
H A 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()
H A Dxfs_pnfs.c280 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_fs_commit_blocks()
H A Dxfs_attr_inactive.c347 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans); in xfs_attr_inactive()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_reflink.c403 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, 0, in xfs_reflink_fill_cow_hole()
466 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, 0, 0, in xfs_reflink_fill_delalloc()
681 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range()
740 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, in xfs_reflink_end_cow_extent()
1033 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_set_inode_flag()
1092 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_update_dest()
1192 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_reflink_remap_extent()
1196 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_reflink_remap_extent()
1658 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_reflink_try_clear_inode_flag()
H A Dxfs_fsops.c149 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_data_private()
153 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, -delta, 0, in xfs_growfs_data_private()
267 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_imaxpct()
H A Dxfs_pnfs.c89 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_fs_map_update_inode()
316 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_fs_commit_blocks()
H A Dxfs_bmap_util.c737 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_free_eofblocks()
858 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_alloc_file_space()
920 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, 0, in xfs_unmap_extent()
1130 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_collapse_file_space()
1200 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, in xfs_insert_file_space()
1721 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, flags, in xfs_swap_extents()
H A Dxfs_trans.c39 res = (struct xfs_trans_res *)M_RES(mp); in xfs_trans_trace_reservations()
40 end_res = (struct xfs_trans_res *)(M_RES(mp) + 1); in xfs_trans_trace_reservations()
56 xfs_trans_resv_calc(mp, M_RES(mp)); in xfs_trans_init()
1300 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_trans_alloc_ichange()
H A Dxfs_inode.c996 tres = &M_RES(mp)->tr_mkdir; in xfs_create()
999 tres = &M_RES(mp)->tr_create; in xfs_create()
1144 tres = &M_RES(mp)->tr_create_tmpfile; in xfs_create_tmpfile()
1230 error = xfs_trans_alloc_dir(tdp, &M_RES(mp)->tr_link, sip, &resblks, in xfs_link()
1506 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_truncate()
1567 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, in xfs_inactive_ifree()
1571 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, 0, 0, 0, &tp); in xfs_inactive_ifree()
2530 error = xfs_trans_alloc_dir(dp, &M_RES(mp)->tr_remove, ip, &resblks, in xfs_remove()
2889 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_rename, spaceres, 0, 0, &tp); in xfs_rename()
2893 error = xfs_trans_alloc(mp, &M_RES(m in xfs_rename()
[all...]
H A Dxfs_symlink.c213 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink()
398 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_symlink_rmt()
H A Dxfs_qm_syscalls.c71 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_qm_scall_trunc_qfile()
309 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_setqlim, 0, 0, 0, &tp); in xfs_qm_scall_setqlim()
H A Dxfs_attr_inactive.c344 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans); in xfs_attr_inactive()
H A Dxfs_acl.c229 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_acl_set_mode()

Completed in 30 milliseconds

123