/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | chgrp.c | 162 getids(register char* s, char** e, Key_t* key, int options) argument 175 options |= OPT_CHOWN; 180 if (options & OPT_CHOWN) 217 register int options = 0; local 250 options |= OPT_CHOWN; 253 if (options & OPT_CHOWN) 271 options |= OPT_VERBOSE; 274 options |= OPT_FORCE; 277 options |= OPT_LCHOWN; 287 options | [all...] |
/illumos-gate/usr/src/lib/libkmf/ber_der/common/ |
H A D | io.c | 172 kmfber_alloc_t(int options) argument 182 ber->ber_options = options; 219 ber_init_w_nullchar(BerElement *ber, int options) argument 224 ber->ber_options = options;
|
/illumos-gate/usr/src/cmd/ppgsz/ |
H A D | ppgsz.c | 176 " -o option[,option]: options are\n" 193 char *options, *value; local 205 /* options */ 208 case 'o': /* options */ 209 options = optarg; 210 while (*options != '\0') { 211 subopt = getsubopt(&options, suboptstr, &value);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ospf.c | 94 ospf_print_bits(const struct bits *bp, uchar_t options) argument 100 if (options & bp->bit) {
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rdr_param_types.h | 89 char *options; /* const */ member in struct:__anon367 103 char *options; /* const */ member in struct:__anon368 114 char *options; /* const */ member in struct:__anon369 137 char *options; member in struct:__anon371 149 char *options; /* const */ member in struct:__anon372
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | sharemgr.h | 89 * functions/values for manipulating options 98 struct options { struct 99 struct options *next; 113 extern int add_opt(struct options **, char *, int);
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_set.c | 207 mhd_opts_t options, 257 /* save options */ 258 if (options & MHD_SERIAL) 264 if (! (options & MHD_PARTIAL_SET)) { 510 mhd_opts_t options, 522 if ((sp = mhd_create_set(mhsp, options, &dl, mhep)) == NULL) { 680 mhd_opts_t options, 692 if ((sp = mhd_create_set(mhsp, options, &dl, mhep)) == NULL) { 703 (options & MHD_PARTIAL_SET)) { 767 mhd_opts_t options, 205 mhd_create_set( mhd_set_t *mhsp, mhd_opts_t options, mhd_drive_list_t *dlp, mhd_error_t *mhep ) argument 508 mhd_release_drives( mhd_set_t *mhsp, mhd_opts_t options, mhd_error_t *mhep ) argument 676 mhd_reserve_drives( mhd_set_t *mhsp, mhd_mhiargs_t *timeoutp, mhd_ff_mode_t ff_mode, mhd_opts_t options, mhd_error_t *mhep ) argument 765 mhd_status_drives( mhd_set_t *mhsp, mhd_opts_t options, mhd_drive_status_t **status, mhd_error_t *mhep ) argument [all...] |
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metahs.c | 57 mdprtopts_t options = (PRINT_HEADER | PRINT_SUBDEVS | PRINT_DEVID); local 65 if (meta_hsp_print(sp, hspnp, &nlp, NULL, stdout, options, ep) != 0) 102 mdcmdopts_t options, 156 if (meta_hs_add(*spp, hspnp, nlp, options, ep) != 0) 178 mdcmdopts_t options, 230 if (meta_hs_delete(*spp, hspnp, nlp, options, ep) != 0) { 267 mdcmdopts_t options, 295 rval = meta_hs_enable(*spp, nlp, options, ep); 311 mdcmdopts_t options, 365 if (meta_hs_replace(*spp, hspnp, oldnp, newnp, options, e 98 add_hotspares( mdsetname_t **spp, int argc, char *argv[], mdcmdopts_t options, md_error_t *ep ) argument 174 delete_hotspares( mdsetname_t **spp, int argc, char *argv[], mdcmdopts_t options, md_error_t *ep ) argument 263 enable_hotspares( mdsetname_t **spp, int argc, char *argv[], mdcmdopts_t options, md_error_t *ep ) argument 307 replace_hotspares( mdsetname_t **spp, int argc, char *argv[], mdcmdopts_t options, md_error_t *ep ) argument 515 mdcmdopts_t options = (MDCMD_PRINT | MDCMD_DOIT); local [all...] |
/illumos-gate/usr/src/cmd/mpathadm/ |
H A D | cmdparse.c | 46 * MAXOPTIONSTRING is the max length of the options string used in getopt and 48 * providing for options with arguments. e.g. "t:Cs:hglr:" 52 /* standard command options table to support -?, -V */ 59 /* standard subcommand options table to support -? */ 178 * object - object for which to get options 179 * subcommand - subcommand for which to get options 318 optionProp_t *options; local 337 options = getOptions(objp->value, subcommand->value); 345 /* print options if applicable */ 346 if (options ! [all...] |
/illumos-gate/usr/src/cmd/sbdadm/ |
H A D | sbdadm.c | 59 int delete_lu(int argc, char *argv[], cmdOptions_t *options, 61 int create_lu(int argc, char *argv[], cmdOptions_t *options, void *callData); 62 int list_lus(int argc, char *argv[], cmdOptions_t *options, void *callData); 63 int modify_lu(int argc, char *argv[], cmdOptions_t *options, void *callData); 64 int import_lu(int argc, char *argv[], cmdOptions_t *options, void *callData); 70 optionTbl_t options[] = { variable 96 create_lu(int argc, char *operands[], cmdOptions_t *options, void *callData) argument 110 for (; options->optval; options++) { 111 switch (options 211 import_lu(int argc, char *operands[], cmdOptions_t *options, void *callData) argument 282 delete_lu(int operandLen, char *operands[], cmdOptions_t *options, void *callData) argument 410 modify_lu(int operandLen, char *operands[], cmdOptions_t *options, void *callData) argument 545 list_lus(int argc, char *argv[], cmdOptions_t *options, void *callData) argument [all...] |
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrsubr.c | 111 rdc_decode_flag(int flag, int options) argument 117 if (options & RDC_OPT_FULL) 121 if (options & RDC_OPT_REVERSE) 130 if (options & RDC_OPT_SETBMP) 385 (void) snprintf(key, CFG_MAX_KEY, "sndr.set%d.options", setnum);
|
/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/ |
H A D | labelit.c | 95 int8_t *options = NULL; local 119 * UDFS specific options 121 options = optarg; 122 while (*options != '\0') { 123 switch (getsubopt(&options, labelit_subopts, 234 "udfs usage: labelit [-F udfs] [generic options] "
|
/illumos-gate/usr/src/cmd/fuser/ |
H A D | fuser.c | 53 * Command line options for fuser command. Mutually exclusive. 74 * Option flavors or types of options fuser command takes. Exclusive 75 * options (EXCL_OPT) are mutually exclusive key options, while 76 * modifier options (MOD_OPT) add to the key option. Examples are -f 202 report_process(f_user_t *f_user, int options, int sig) argument 217 if ((options & OPT_USERID) && 222 if (options & OPT_SIGNAL) 377 report(fu_data_t *fu_data, int options, int sig) argument 391 err = report_process(f_user, options, si 403 set_option(int *options, int nextopt, opt_flavor_t type) argument [all...] |
/illumos-gate/usr/src/cmd/hal/addons/storage/ |
H A D | addon-storage.c | 140 char **options = NULL; local 158 options = calloc (1, sizeof (char *)); 159 if (options == NULL) { 160 HAL_DEBUG (("Could not allocate options array")); 171 DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &options, num_options, 191 if (options != NULL) 192 free (options);
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-device.c | 92 struct option options[] = { variable in typeref:struct:option 110 while ((i = getopt_long(argc, argv, "a:hr:", options, NULL)) != -1) {
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap_engine.c | 79 options_parse(int argc, char *argv[], const char *options) argument 85 while ((c = getopt(argc, argv, options)) != EOF) { 90 /* This is relevant only if options starts with ':': */ 133 optind = options_parse(argc, argv, my_comv[i].options); 299 /* Long options: */ 308 options2 = strdup(my_comv[i].options);
|
/illumos-gate/usr/src/cmd/iscsiadm/ |
H A D | cmdparse.c | 46 * MAXOPTIONSTRING is the max length of the options string used in getopt and 48 * providing for options with arguments. e.g. "t:Cs:hglr:" 52 /* standard command options table to support -?, -V */ 59 /* standard subcommand options table to support -? */ 179 * object - object for which to get options 180 * subcommand - subcommand for which to get options 320 optionProp_t *options; local 339 options = getOptions(objp->value, subcommand->value); 347 /* print options if applicable */ 348 if (options ! [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | tiuser.h | 76 t_scalar_t options; /* size of protocol options */ member in struct:t_info 103 * t_bind - format of the address and options arguments of bind 112 * options management 133 struct netbuf opt; /* options */ 143 struct netbuf opt; /* options */ 152 struct netbuf opt; /* options */ 173 #define T_OPT 0x02 /* options */
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getvol.c | 94 getvol(char *device, char *label, int options, char *prompt) argument 96 return (_getvol(device, label, options, prompt, NULL)); 100 _getvol(char *device, char *label, int options, char *prompt, char *norewind) argument 137 if (!(options & DM_BATCH) && volume) { 138 n = insert(device, label, options, prompt); 147 if (options & DM_BATCH) 150 if ((options & DM_BATCH) || (volume == NULL)) 161 if (options & DM_ELABEL) 166 if ((options & DM_BATCH) || 287 insert(char *device, char *label, int options, cha argument [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | procopen.c | 72 static const Namval_t options[] = variable 83 * called by stropt() to set options 533 stropt(getenv(PROC_ENV_OPTIONS), options, sizeof(*options), setopt, &debug); local
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | opts.c | 27 * logadm/opts.c -- options handling routines 50 struct lut *op_raw; /* the raw text for the options */ 51 struct lut *op_ints; /* the int values for the options */ 98 * opts_init -- set current options parsing table 122 * opts_parse -- parse an argv-style list of options 178 /* for boolean options, we have all the info we need */ 240 * opts_count -- return count of the options in *options that are set 243 opts_count(struct opts *opts, const char *options) argument 247 for (; *options; option [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | options.c | 94 o = 0, /* some -o options given */ 121 **o_options = 0,/* undefined lpadmin -o options */ 142 ** options() - PARSE COMMAND LINE ARGUMENTS INTO OPTIONS 145 void options (argc, argv) function 180 * These options MAY take a value. Check the value; 219 * These options MUST have a value. Check the value; 226 * These options take numeric values, which might 256 * These options also must have non-null args. 273 * These options can have a null arg. 419 case 'o': /* several different options */ [all...] |
/illumos-gate/usr/src/cmd/lp/filter/postscript/download/ |
H A D | download.c | 124 static void options(void); 147 options(); /* first get command line options */ 186 options(void) function 197 * Reads and processes the command line options. 256 } /* End of options */
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postcomm/ |
H A D | postcomm.c | 53 * options that let you select the tty line, baud rate, and printer 150 static void options(int, char *[]); 239 options(argc, argv); 257 options(int argc, char *argv[]) 268 * Reads and processes the command line options. The -t option should 321 } /* End of options */ 253 options(int argc, char *argv[]) function
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postprint/ |
H A D | postprint.c | 96 * the prologue, which is where they belong. If they're changed (by options), an 100 * other options. 156 static void options(void); 262 options(); /* handle the command line options */ 278 options(void) function 287 * Reads and processes the command line options. Added the -P option so arbitrary 289 * definitions in the prologue for which options have not been defined. 445 } /* End of options */ 465 * Called from options() t [all...] |