Lines Matching refs:options
56 mdcmdopts_t options,
98 if (options & MDCMD_DOIT) {
120 if ((options & MDCMD_DOIT) == 0) {
121 params.options |= MDIOCTL_DRYRUN;
128 if (options & MDCMD_DOIT)
136 if (options & MDCMD_PRINT) {
149 * options - options from the command line
160 int options,
164 return (meta_get_names(MD_STRIPE, sp, nlpp, options, ep));
251 /* get options */
496 mdchkopts_t options = (MDCHK_ALLOW_MDDB);
541 if (meta_check_inmeta(sp, np, options, 0, -1, ep) != 0)
556 mdprtopts_t options,
563 if (options & PRINT_LARGEDEVICES) {
570 if (options & PRINT_FN) {
675 mdprtopts_t options,
700 if (! (options & PRINT_TIMES)) {
788 if (options & PRINT_DEVID) {
802 if (! (options & PRINT_TIMES)) {
842 mdprtopts_t options,
904 if (options & PRINT_DEVID) {
936 * print stripe options
950 /* print options */
976 mdprtopts_t options,
990 if (options & PRINT_LARGEDEVICES) {
1007 if (options & PRINT_FN) {
1019 if (options & PRINT_HEADER) {
1077 if (subdev_row_report(sp, rp, fname, fp, options,
1082 if (toplev_row_report(sp, rp, fname, fp, options,
1113 mdprtopts_t options,
1133 if ((cnt = meta_get_stripe_names(sp, &nlp, options, ep)) < 0)
1143 options, ep) != 0)
1154 ((options & PRINT_FAST) ? 1 : 0), ep)) == NULL)
1158 if ((! (options & PRINT_SUBDEVS)) &&
1164 if (options & PRINT_SHORT) {
1165 if (stripe_print(stripep, fname, fp, options, ep) != 0)
1168 if (stripe_report(sp, stripep, nlpp, fname, fp, options,
1184 (options | PRINT_HEADER | PRINT_SUBDEVS),
1297 mdcmdopts_t options,
1433 if (options & MDCMD_DOIT) {
1476 if ((options & MDCMD_DOIT) == 0) {
1477 if (options & MDCMD_PRINT) {
1502 mgp.options = MD_CRO_32BIT;
1505 mgp.options = MD_CRO_64BIT;
1527 if (options & MDCMD_PRINT) {
1548 if (options & MDCMD_DOIT) {
1700 mdcmdopts_t options,
1705 int force = ((options & MDCMD_FORCE) ? 1 : 0);
1706 int doit = ((options & MDCMD_DOIT) ? 1 : 0);
1707 int updateit = ((options & MDCMD_UPDATE) ? 1 : 0);
1919 mdcmdopts_t options,
1924 int force = ((options & MDCMD_FORCE) ? 1 : 0);
1925 int doall = ((options & MDCMD_ALLOPTION) ? 1 : 0);
1942 if (meta_check_stripe(sp, stripep, options, ep) != 0)
2035 if (options & MDCMD_DOIT) {
2075 if (options & MDCMD_UPDATE) {
2107 if (! (options & MDCMD_DOIT)) {
2118 set_params.options = MD_CRO_64BIT;
2121 set_params.options = MD_CRO_32BIT;
2143 if ((rval == 0) && (options & MDCMD_DOIT)) {
2160 mdcmdopts_t options,
2184 if (!(options & MDCMD_NOLOCK)) {
2205 /* parse general options */
2209 goto options;
2280 /* parse row options */
2306 /* parse stripe options */
2331 goto options;
2343 if (meta_create_stripe(*spp, stripep, options, ep) != 0)
2348 if (options & MDCMD_PRINT) {
2361 /* options error */
2362 options:
2380 mdcmdopts_t options,
2412 stripenp->cname, options, 0, ep) != 0) {
2418 options, ep) != 0) {
2449 if (meta_reset(sp, stripenp, options, ep) != 0)
2454 if (options & MDCMD_PRINT) {
2462 if (! (options & MDCMD_RECURSE))
2475 if (meta_reset_by_name(sp, compnp, options, ep) != 0)