search for: rtsize_

Displaying 2 results from an estimated 2 matches for "rtsize_".

Did you mean: rtsize
2012 Jul 31
1
[PATCH] xfs: add new api xfs-growfs
...int64_t rtsize, + int64_t rtextsize, int32_t maxpct) +{ + +#define MAX_ARGS 64 + + int r; + char *buf; + char *out = NULL, *err = NULL; + char **lines = NULL; + guestfs_int_xfsinfo *ret = NULL; + const char *argv[MAX_ARGS]; + char datasize_s[64]; + char logsize_s[64]; + char rtsize_s[64]; + char rtextsize_s[64]; + char maxpct_s[32]; + size_t i = 0; + + buf = sysroot_path (path); + if (buf == NULL) { + reply_with_perror ("malloc"); + return NULL; + } + + ADD_ARG (argv, i, "xfs_growfs"); + + /* Optional arguments */ + if (!(optargs_bitmask &amp...
2015 Jul 17
1
[PATCH] daemon: add a space after func/macro to fit code-style
...ntf (logsize_s, sizeof logsize_s, "%" PRIi64, logsize); ADD_ARG (argv, i, "-L"); ADD_ARG (argv, i, logsize_s); } @@ -418,7 +418,7 @@ do_xfs_growfs (const char *path, reply_with_error ("rtsize must be >= 0"); return -1; } - snprintf(rtsize_s, sizeof rtsize_s, "%" PRIi64, rtsize); + snprintf (rtsize_s, sizeof rtsize_s, "%" PRIi64, rtsize); ADD_ARG (argv, i, "-R"); ADD_ARG (argv, i, rtsize_s); } @@ -428,7 +428,7 @@ do_xfs_growfs (const char *path, reply_with_error ("rtextsize mus...