Lines Matching refs:opts
46 static int match(char **opts, char *s);
47 static int has_Nflag(char *opts);
405 stat_snap(char *cmd, char *mountpoint, char *opts) in stat_snap() argument
426 fssnap_show_status(mountpoint, opts, 1, (opts ? 0 : 1)); in stat_snap()
429 has_Nflag(char *opts) in has_Nflag() argument
431 while (opts != NULL && *opts != '\0') { in has_Nflag()
432 if (match(&opts, "N")) { in has_Nflag()
435 if (!opts) in has_Nflag()
437 if (*opts == ',') in has_Nflag()
438 opts ++; in has_Nflag()
439 if (*opts == ' ') in has_Nflag()
440 opts ++; in has_Nflag()
451 match(char **opts, char *s) in match() argument
456 cs = *opts; in match()
468 tmp_str = strchr(*opts, ','); in match()
470 tmp_str = strchr(*opts, ' '); in match()
472 *opts = tmp_str; in match()
477 *opts = cs; in match()