Displaying 2 results from an estimated 2 matches for "maxmem_".
Did you mean:
maxmem
2012 Aug 21
1
[PATCH] xfs: add a new api xfs_repair
...erous,
+ int nomodify, int noprefetch, int forcegeometry,
+ int64_t maxmem, int64_t ihashsize,
+ int64_t bhashsize, int64_t agstride,
+ const char *logdev, const char *rtdev)
+{
+ int r;
+ char *err = NULL;
+ const char *argv[MAX_ARGS];
+ char maxmem_s[64];
+ char ihashsize_s[70];
+ char bhashsize_s[70];
+ char agstride_s[74];
+ size_t i = 0;
+
+ ADD_ARG (argv, i, "xfs_repair");
+
+ /* Optional arguments */
+ if (!(optargs_bitmask & GUESTFS_XFS_REPAIR_IMGFILE_BITMASK))
+ imgfile = 0;
+ if (!(optargs_bitmask & GUESTFS...
2015 Jul 17
1
[PATCH] daemon: add a space after func/macro to fit code-style
...rintf (maxpct_s, sizeof maxpct_s, "%" PRIi32, maxpct);
ADD_ARG (argv, i, "-m");
ADD_ARG (argv, i, maxpct_s);
}
@@ -591,7 +591,7 @@ do_xfs_repair (const char *device,
reply_with_error ("maxmem must be >= 0");
return -1;
}
- snprintf(maxmem_s, sizeof maxmem_s, "%" PRIi64, maxmem);
+ snprintf (maxmem_s, sizeof maxmem_s, "%" PRIi64, maxmem);
ADD_ARG (argv, i, "-m");
ADD_ARG (argv, i, maxmem_s);
}
@@ -601,7 +601,7 @@ do_xfs_repair (const char *device,
reply_with_error ("ihashsize m...