Lines Matching refs:opt_flags
301 static int opt_flags; variable
1584 opt_flags = 0; in get_exportlist_one()
1765 } else if ((opt_flags & OP_NET) && tgrp->gr_next) { in get_exportlist_one()
1854 hang_dirp(dirhead, tgrp, ep, opt_flags, &anon, exflags); in get_exportlist_one()
1859 opt_flags, &anon, exflags); in get_exportlist_one()
2443 if (!(opt_flags & OP_QUIET)) { in getexp_err()
2822 opt_flags |= OP_MAPALL; in do_opt()
2824 opt_flags |= OP_MAPROOT; in do_opt()
2832 opt_flags |= OP_MASK; in do_opt()
2838 opt_flags |= OP_MASKLEN; in do_opt()
2850 opt_flags |= OP_NET; in do_opt()
2852 opt_flags |= OP_ALLDIRS; in do_opt()
2857 opt_flags |= OP_MAPALL; in do_opt()
2861 opt_flags |= OP_QUIET; in do_opt()
2865 opt_flags |= OP_SEC; in do_opt()
3210 if (opt_flags & OP_QUIET) { in do_mount()
3224 if (opt_flags & OP_ALLDIRS) { in do_mount()
3334 if ((opt_flags & OP_MASKLEN) && !maskflg) { in get_net()
3347 if (maskflg && (opt_flags & OP_NET)) in get_net()
3349 else if (!maskflg && (opt_flags & OP_HAVEMASK)) in get_net()
3387 opt_flags |= OP_HAVEMASK; in get_net()
3408 if (opt_flags & OP_MASKLEN) { in get_net()
3415 opt_flags |= OP_HAVEMASK; in get_net()
3418 (opt_flags & OP_MASK) == 0) { in get_net()
3438 opt_flags |= OP_HAVEMASK; in get_net()
3760 if ((opt_flags & (OP_MAPROOT | OP_MAPALL)) == (OP_MAPROOT | OP_MAPALL)) { in check_options()
3764 if ((opt_flags & OP_MASK) && (opt_flags & OP_NET) == 0) { in check_options()
3768 if ((opt_flags & OP_NET) && (opt_flags & OP_HAVEMASK) == 0) { in check_options()
3772 if ((opt_flags & OP_MASK) && (opt_flags & OP_MASKLEN)) { in check_options()
3777 (opt_flags & in check_options()
3782 if ((opt_flags & OP_ALLDIRS) && dp->dp_left) { in check_options()