Searched refs:tres (Results 1 – 5 of 5) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_log_rlimit.c | 100 struct xfs_trans_res tres = {0}; in xfs_log_calc_minimum_size() local 105 xfs_log_get_max_trans_res(mp, &tres); in xfs_log_calc_minimum_size() 107 max_logres = xfs_log_calc_unit_res(mp, tres.tr_logres); in xfs_log_calc_minimum_size() 108 if (tres.tr_logcount > 1) in xfs_log_calc_minimum_size() 109 max_logres *= tres.tr_logcount; in xfs_log_calc_minimum_size()
|
D | xfs_attr.c | 208 struct xfs_trans_res tres; in xfs_attr_set() local 266 tres.tr_logres = M_RES(mp)->tr_attrsetm.tr_logres + in xfs_attr_set() 268 tres.tr_logcount = XFS_ATTRSET_LOG_COUNT; in xfs_attr_set() 269 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; in xfs_attr_set() 270 error = xfs_trans_reserve(args.trans, &tres, args.total, 0); in xfs_attr_set()
|
/fs/xfs/ |
D | xfs_inode.c | 906 struct xfs_trans_res tres; in xfs_dir_ialloc() local 920 tres.tr_logres = xfs_trans_get_log_res(tp); in xfs_dir_ialloc() 921 tres.tr_logcount = xfs_trans_get_log_count(tp); in xfs_dir_ialloc() 964 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; in xfs_dir_ialloc() 965 code = xfs_trans_reserve(tp, &tres, 0, 0); in xfs_dir_ialloc() 1085 struct xfs_trans_res tres; in xfs_create() local 1108 tres.tr_logres = M_RES(mp)->tr_mkdir.tr_logres; in xfs_create() 1109 tres.tr_logcount = XFS_MKDIR_LOG_COUNT; in xfs_create() 1113 tres.tr_logres = M_RES(mp)->tr_create.tr_logres; in xfs_create() 1114 tres.tr_logcount = XFS_CREATE_LOG_COUNT; in xfs_create() [all …]
|
D | xfs_trans.c | 1003 struct xfs_trans_res tres; in xfs_trans_roll() local 1015 tres.tr_logres = trans->t_log_res; in xfs_trans_roll() 1016 tres.tr_logcount = trans->t_log_count; in xfs_trans_roll() 1047 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; in xfs_trans_roll() 1048 error = xfs_trans_reserve(trans, &tres, 0, 0); in xfs_trans_roll()
|
D | xfs_bmap_util.c | 81 struct xfs_trans_res tres; /* new log reservation */ in xfs_bmap_finish() local 97 tres.tr_logres = ntp->t_log_res; in xfs_bmap_finish() 98 tres.tr_logcount = ntp->t_log_count; in xfs_bmap_finish() 99 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; in xfs_bmap_finish() 117 error = xfs_trans_reserve(ntp, &tres, 0, 0); in xfs_bmap_finish()
|