Lines Matching refs:arg

45 opt_set_mflags(int enable, uint_t bits, const char *arg)  in opt_set_mflags()  argument
53 opt_set_tflags(int enable, uint_t bits, const char *arg) in opt_set_tflags() argument
60 opt_pager(int enable, uint_t bits, const char *arg) in opt_pager() argument
67 return (opt_set_mflags(enable, bits, arg)); in opt_pager()
71 opt_adb(int enable, uint_t bits, const char *arg) in opt_adb() argument
78 (void) opt_pager(1 - enable, MDB_FL_PAGER, arg); in opt_adb()
79 return (opt_set_mflags(enable, bits, arg)); in opt_adb()
84 opt_armemlim(int enable, uint_t bits, const char *arg) in opt_armemlim() argument
86 if (strisnum(arg)) { in opt_armemlim()
87 mdb.m_armemlim = strtoi(arg); in opt_armemlim()
90 if (strcmp(arg, "none") == 0) { in opt_armemlim()
99 opt_arstrlim(int enable, uint_t bits, const char *arg) in opt_arstrlim() argument
101 if (strisnum(arg)) { in opt_arstrlim()
102 mdb.m_arstrlim = strtoi(arg); in opt_arstrlim()
105 if (strcmp(arg, "none") == 0) { in opt_arstrlim()
114 opt_exec_mode(int enable, uint_t bits, const char *arg) in opt_exec_mode() argument
116 if (strcmp(arg, "ask") == 0) { in opt_exec_mode()
119 } else if (strcmp(arg, "stop") == 0) { in opt_exec_mode()
122 } else if (strcmp(arg, "follow") == 0) { in opt_exec_mode()
131 opt_fork_mode(int enable, uint_t bits, const char *arg) in opt_fork_mode() argument
133 if (strcmp(arg, "ask") == 0) { in opt_fork_mode()
136 } else if (strcmp(arg, "parent") == 0) { in opt_fork_mode()
139 } else if (strcmp(arg, "child") == 0) { in opt_fork_mode()
148 opt_set_term(int enable, uint_t bits, const char *arg) in opt_set_term() argument
150 mdb.m_termtype = strdup(arg); in opt_set_term()
190 char *opt, *arg; in mdb_set_options() local
194 if ((arg = strchr(opt, '=')) != NULL) in mdb_set_options()
195 *arg++ = '\0'; in mdb_set_options()
199 if (opp->opt_bits != 0 && arg != NULL) { in mdb_set_options()
203 } else if (opp->opt_bits == 0 && arg == NULL) { in mdb_set_options()
208 opp->opt_bits, arg) == 0) { in mdb_set_options()
210 "%s -- %s\n", opt, arg); in mdb_set_options()