Home
last modified time | relevance | path

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

12

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_log_rlimit.c73 return M_RES(mp)->tr_attrsetm.tr_logres + in xfs_log_calc_max_attrsetm_res()
74 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; in xfs_log_calc_max_attrsetm_res()
Dxfs_trans_resv.c470 struct xfs_trans_resv *resp = M_RES(mp); in xfs_calc_rename_reservation()
581 struct xfs_trans_resv *resp = M_RES(mp); in xfs_calc_link_reservation()
645 struct xfs_trans_resv *resp = M_RES(mp); in xfs_calc_remove_reservation()
731 struct xfs_trans_resv *resp = M_RES(mp); in xfs_calc_icreate_reservation()
Dxfs_trans_resv.h54 #define M_RES(mp) (&(mp)->m_resv) macro
Dxfs_attr.c338 .tr_logres = M_RES(mp)->tr_attrsetm.tr_logres + in xfs_attr_set_resv()
339 M_RES(mp)->tr_attrsetrt.tr_logres * args->total, in xfs_attr_set_resv()
1011 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_addafork, blks, 0, in xfs_attr_add_fork()
1088 tres = M_RES(mp)->tr_attrrm; in xfs_attr_set()
Dxfs_rtbitmap.c1235 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtalloc, in xfs_rtfile_alloc_blocks()
1279 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtzero, 0, 0, 0, &tp); in xfs_rtfile_initialize_block()
Dxfs_sb.c1087 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, in xfs_sync_sb()
1184 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, 0, &tp); in xfs_sync_sb_buf()
/linux-6.12.1/fs/xfs/
Dxfs_reflink.c404 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, 0, in xfs_reflink_fill_cow_hole()
460 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, 0, 0, in xfs_reflink_fill_delalloc()
663 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range()
716 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, in xfs_reflink_end_cow_extent()
1006 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_set_inode_flag()
1065 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_reflink_update_dest()
1165 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_reflink_remap_extent()
1169 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_reflink_remap_extent()
1636 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_reflink_try_clear_inode_flag()
Dxfs_fsops.c151 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_data_private()
155 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, -delta, 0, in xfs_growfs_data_private()
270 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_imaxpct()
Dxfs_symlink.c149 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink()
277 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_symlink_rmt()
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()
Dxfs_inode.c672 tres = &M_RES(mp)->tr_mkdir; in xfs_create()
675 tres = &M_RES(mp)->tr_create; in xfs_create()
808 tres = &M_RES(mp)->tr_create_tmpfile; in xfs_create_tmpfile()
906 error = xfs_trans_alloc_dir(tdp, &M_RES(mp)->tr_link, sip, &resblks, in xfs_link()
1140 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_inactive_truncate()
1201 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, in xfs_inactive_ifree()
1205 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, 0, 0, 0, &tp); in xfs_inactive_ifree()
1921 error = xfs_trans_alloc_dir(dp, &M_RES(mp)->tr_remove, ip, &resblks, in xfs_remove()
2168 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_rename, spaceres, 0, 0, &tp); in xfs_rename()
2172 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_rename, 0, 0, 0, in xfs_rename()
Dxfs_bmap_util.c595 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_free_eofblocks()
719 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, in xfs_alloc_file_space()
777 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, 0, in xfs_unmap_extent()
996 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp); in xfs_collapse_file_space()
1065 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, in xfs_insert_file_space()
1578 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, flags, in xfs_swap_extents()
Dxfs_trans.c40 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()
57 xfs_trans_resv_calc(mp, M_RES(mp)); in xfs_trans_init()
1241 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_trans_alloc_ichange()
Dxfs_qm_syscalls.c70 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_qm_scall_trunc_qfile()
308 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_setqlim, 0, 0, 0, &tp); in xfs_qm_scall_setqlim()
Dxfs_acl.c230 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp); in xfs_acl_set_mode()
Dxfs_attr_inactive.c348 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans); in xfs_attr_inactive()
Dxfs_aops.c58 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_setfilesize()
Dxfs_iops.c927 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, resblks, in xfs_setattr_size()
1083 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_vn_update_time()
Dxfs_rtalloc.c687 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_ichange, 0, 0, false, in xfs_growfs_rt_fixup_extsize()
745 error = xfs_trans_alloc(mp, &M_RES(nmp)->tr_growrtfree, 0, 0, 0, in xfs_growfs_rt_bmblock()
Dxfs_exchmaps_item.c450 resv = xlog_recover_resv(&M_RES(mp)->tr_write); in xfs_exchmaps_recover_work()
Dxfs_refcount_item.c485 resv = xlog_recover_resv(&M_RES(mp)->tr_itruncate); in xfs_refcount_recover_work()
Dxfs_iomap.c297 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_iomap_write_direct()
613 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, in xfs_iomap_write_unwritten()
/linux-6.12.1/fs/xfs/scrub/
Dtempfile.c79 tres = &M_RES(mp)->tr_mkdir; in xrep_tempfile_create()
82 tres = &M_RES(mp)->tr_create_tmpfile; in xrep_tempfile_create()
745 error = xfs_trans_alloc(sc->mp, &M_RES(sc->mp)->tr_itruncate, in xrep_tempexch_trans_alloc()
Dnlinks_repair.c139 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, 0, 0, 0, in xrep_nlinks_repair_inode()
Dorphanage.c344 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, in xrep_adoption_trans_alloc()

12