Searched refs:tres (Results 1 – 4 of 4) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_log_rlimit.c | 98 struct xfs_trans_res tres = {0}; in xfs_log_calc_minimum_size() local 103 xfs_log_get_max_trans_res(mp, &tres); in xfs_log_calc_minimum_size() 105 max_logres = xfs_log_calc_unit_res(mp, tres.tr_logres); in xfs_log_calc_minimum_size() 106 if (tres.tr_logcount > 1) in xfs_log_calc_minimum_size() 107 max_logres *= tres.tr_logcount; in xfs_log_calc_minimum_size()
|
D | xfs_attr.c | 205 struct xfs_trans_res tres; in xfs_attr_set() local 243 tres.tr_logres = M_RES(mp)->tr_attrsetm.tr_logres + in xfs_attr_set() 245 tres.tr_logcount = XFS_ATTRSET_LOG_COUNT; in xfs_attr_set() 246 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; in xfs_attr_set() 252 error = xfs_trans_alloc(mp, &tres, args.total, 0, in xfs_attr_set()
|
/fs/xfs/ |
D | xfs_trans.c | 1043 struct xfs_trans_res tres; in __xfs_trans_roll() local 1058 tres.tr_logres = trans->t_log_res; in __xfs_trans_roll() 1059 tres.tr_logcount = trans->t_log_count; in __xfs_trans_roll() 1084 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; in __xfs_trans_roll() 1085 error = xfs_trans_reserve(trans, &tres, 0, 0); in __xfs_trans_roll()
|
D | xfs_inode.c | 1172 struct xfs_trans_res *tres; in xfs_create() local 1195 tres = &M_RES(mp)->tr_mkdir; in xfs_create() 1198 tres = &M_RES(mp)->tr_create; in xfs_create() 1207 error = xfs_trans_alloc(mp, tres, resblks, 0, 0, &tp); in xfs_create() 1211 error = xfs_trans_alloc(mp, tres, resblks, 0, 0, &tp); in xfs_create() 1216 error = xfs_trans_alloc(mp, tres, 0, 0, 0, &tp); in xfs_create() 1350 struct xfs_trans_res *tres; in xfs_create_tmpfile() local 1369 tres = &M_RES(mp)->tr_create_tmpfile; in xfs_create_tmpfile() 1371 error = xfs_trans_alloc(mp, tres, resblks, 0, 0, &tp); in xfs_create_tmpfile() 1375 error = xfs_trans_alloc(mp, tres, 0, 0, 0, &tp); in xfs_create_tmpfile()
|