Lines Matching refs:opts
48 static int match(char **opts, char *s);
49 static int has_Nflag(char *opts);
407 stat_snap(char *cmd, char *mountpoint, char *opts) in stat_snap() argument
428 fssnap_show_status(mountpoint, opts, 1, (opts ? 0 : 1)); in stat_snap()
431 has_Nflag(char *opts) in has_Nflag() argument
433 while (opts != NULL && *opts != '\0') { in has_Nflag()
434 if (match(&opts, "N")) { in has_Nflag()
437 if (!opts) in has_Nflag()
439 if (*opts == ',') in has_Nflag()
440 opts ++; in has_Nflag()
441 if (*opts == ' ') in has_Nflag()
442 opts ++; in has_Nflag()
453 match(char **opts, char *s) in match() argument
458 cs = *opts; in match()
470 tmp_str = strchr(*opts, ','); in match()
472 tmp_str = strchr(*opts, ' '); in match()
474 *opts = tmp_str; in match()
479 *opts = cs; in match()