/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | shareutil.c | 44 add_opt(struct options **optlistp, char *optarg, int unset) in add_opt() 46 struct options *newopt, *tmp, *optlist; in add_opt() 51 newopt = (struct options *)malloc(sizeof (struct options)); in add_opt()
|
H A D | sharemgr.h | 96 struct options { struct 97 struct options *next; argument 111 extern int add_opt(struct options **, char *, int); argument
|
/illumos-gate/usr/src/cmd/auditrecord/ |
H A D | mkmsg.pl | 56 my %options; 57 $options{'classFilter'} = ''; # don''t filter 59 $options{'eventFilter'} = ''; # don''t filter 60 $options{'idFilter'} = ''; # don''t filter 62 $parse = new Sun::Solaris::BSM::_BSMparse($debug, \%options, './',
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | cddlchk.py | 124 options = { 139 options['lenient'] = False 141 options['verbose'] = True 143 options['exclude'].load(arg) 146 walkpath(path, options) 148 return options['status']
|
H A D | mapfilechk.py | 122 options = { 136 options['verbose'] = True 138 options['exclude'].load(arg) 141 walkpath(path, options) 143 return options['status']
|
/illumos-gate/usr/src/cmd/print/selector/ |
H A D | print-service | 188 my $FH, %printer, @options; 195 @options = (); 196 push(@options, "-p", $1); 201 push(@options, "-v", $value); 203 push(@options, "-D", $value); 206 push(@options, "-m", "uri"); 209 psystem($LPADMIN, @options);
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_set.c | 261 for (op = options; op < &options[vi_NOPTS]; op++) in set() 279 if (op == &options[vi_PROMPT]) in set() 303 if (op == &options[vi_WINDOW]) { in set() 398 struct option *op = options; in prall() 404 if (&op[2*incr] < &options[vi_NOPTS]) { in prall() 417 for (op = options; op < &options[vi_NOPTS]; op++) { in propts() 418 if (op == &options[vi_TTYTYPE]) in propts()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pcnet32.c | 134 static int options[MAX_UNITS]; variable 267 int options; member 451 if (lp->options & PCNET32_PORT_ASEL) in pcnet32_reset() 457 if (lp->options & PCNET32_PORT_FD) { in pcnet32_reset() 459 if (lp->options == in pcnet32_reset() 462 } else if (lp->options & PCNET32_PORT_ASEL) { in pcnet32_reset() 483 if (lp->options & PCNET32_PORT_FD) in pcnet32_reset() 485 if (lp->options & PCNET32_PORT_100) in pcnet32_reset() 858 lp->options = PCNET32_PORT_ASEL; in pcnet32_probe() 860 lp->options = options_mapping[options[cards_found]]; in pcnet32_probe() [all …]
|
/illumos-gate/usr/src/lib/brand/solaris10/zone/ |
H A D | uninstall.ksh | 44 options="FhHnv" 54 while getopts $options OPT ; do 73 while getopts :$options OPT ; do 81 while getopts :$options OPT ; do
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
H A D | zfs_unmount_001_pos.ksh | 81 log_must zfs $cmd $options $mnt 84 log_fail "Unable to unmount $options $mnt" 86 log_note "Successfully unmounted $options $mnt" 92 set -A options "" "-f"
|
/illumos-gate/usr/src/cmd/iscsiadm/ |
H A D | cmdparse.c | 324 optionProp_t *options; in subUsageObject() local 352 if (options != NULL) { in subUsageObject() 353 if (options->required) { in subUsageObject() 359 if (options->required) { in subUsageObject() 399 if (options != NULL && options->optionString != NULL) { in subUsageObject() 403 options->optionString[i])) in subUsageObject() 409 options->optionString[i], longOpt); in subUsageObject() 411 getOptionArgDesc(options->optionString[i]); in subUsageObject() 415 if (options->exclusive && in subUsageObject() 416 strchr(options->exclusive, in subUsageObject() [all …]
|
/illumos-gate/usr/src/cmd/mpathadm/ |
H A D | cmdparse.c | 322 optionProp_t *options; in subUsageObject() local 350 if (options != NULL) { in subUsageObject() 351 if (options->required) { in subUsageObject() 357 if (options->required) { in subUsageObject() 397 if (options != NULL && options->optionString != NULL) { in subUsageObject() 401 options->optionString[i])) in subUsageObject() 407 options->optionString[i], longOpt); in subUsageObject() 409 getOptionArgDesc(options->optionString[i]); in subUsageObject() 413 if (options->exclusive && in subUsageObject() 414 strchr(options->exclusive, in subUsageObject() [all …]
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_dfstab.c | 46 char *options; member 146 if (headp->options != NULL) { in free_dfstab_list() 147 free(headp->options); in free_dfstab_list() 174 if (new_entry->options) { in create_share_cmd() 261 *err |= (dfstablist->options != NULL); in dfstab_line_to_dfstab_entry() 262 dfstablist->options = strdup(optarg); in dfstab_line_to_dfstab_entry() 263 if (dfstablist->options == NULL) { in dfstab_line_to_dfstab_entry() 436 char *options, in fs_set_DFStab_ent() argument 472 if (options != NULL) { in fs_set_DFStab_ent() 473 new_entry->options = strdup(options); in fs_set_DFStab_ent() [all …]
|
/illumos-gate/usr/src/cmd/fuser/ |
H A D | fuser.c | 200 report_process(f_user_t *f_user, int options, int sig) in report_process() argument 215 if ((options & OPT_USERID) && in report_process() 220 if (options & OPT_SIGNAL) in report_process() 375 report(fu_data_t *fu_data, int options, int sig) in report() argument 389 err = report_process(f_user, options, sig); in report() 401 set_option(int *options, int nextopt, opt_flavor_t type) in set_option() argument 409 if (*options & nextopt) in set_option() 415 if ((type == EXCL_OPT) && (*options)) { in set_option() 430 *options |= nextopt; in set_option()
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | bsd-comp.c | 345 bsd_alloc(uchar_t *options, int opt_len, int decomp) in bsd_alloc() argument 356 options[0] != CI_BSD_COMPRESS || in bsd_alloc() 357 options[1] != 3 || in bsd_alloc() 363 bits = BSD_NBITS(options[2]); in bsd_alloc() 455 bsd_comp_alloc(uchar_t *options, int opt_len) in bsd_comp_alloc() argument 457 return (bsd_alloc(options, opt_len, 0)); in bsd_comp_alloc() 464 bsd_decomp_alloc(uchar_t *options, int opt_len) in bsd_decomp_alloc() argument 466 return (bsd_alloc(options, opt_len, 1)); in bsd_decomp_alloc() 481 options[0] != CI_BSD_COMPRESS || in bsd_init() 482 options[1] != CILEN_BSD_COMPRESS || in bsd_init() [all …]
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 83 char *options; member 424 if (item->options != NULL && strlen(item->options) == 0) { in adddfsentry() 425 free(item->options); in adddfsentry() 426 item->options = NULL; in adddfsentry() 468 item->options : "", in outdfstab() 1076 free(entry->options); in dfs_free_list() 1878 sa_optionset_t options; in sa_get_all_security_types() local 1883 options = NULL; in sa_get_all_security_types() 1892 if (options == NULL) in sa_get_all_security_types() 1893 return (options); in sa_get_all_security_types() [all …]
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | boot_plat.c | 353 char *options; in is_netdev() local 367 options = prom_path_options(devpath); in is_netdev() 368 if (options != NULL) { in is_netdev() 373 if (strstr(options, ",protocol=ip,") != NULL) in is_netdev() 375 while ((options = strstr(options, SEARCHSTRING)) != in is_netdev() 379 nextc = options[SEARCHSTRLEN]; in is_netdev() 382 options += SEARCHSTRLEN; in is_netdev()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | wait3.c | 59 csh_wait3(int *status, int options, struct rusage *rp) in csh_wait3() argument 75 options |= (WNOHANG|WUNTRACED|WEXITED|WSTOPPED|WTRAPPED|WCONTINUED); in csh_wait3() 76 error = waitid(P_ALL, 0, &info, options); in csh_wait3() 81 if ((options & WNOHANG) && (info.si_pid == 0)) in csh_wait3()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_ctxsetup.c | 38 noptions, options, kmsg, mic) in kg2_parse_token() argument 46 struct kg2_option *options; /* INOUT */ 106 if (options[i].option_id = opt_id) { 107 options[i].length = field_length; 108 options[i].data = ptr;
|
/illumos-gate/usr/src/cmd/cmd-inet/etc/ppp/ |
H A D | myisp.tmpl | 30 # mv /etc/ppp/options.tmpl /etc/ppp/options 31 # mv /etc/ppp/options.ttya.tmpl /etc/ppp/options.ttya 39 # Options in this file, /etc/ppp/options, /etc/ppp//options.<tty>,
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | wait4.c | 70 wait4(pid_t pid, int *status, int options, struct rusage *rp) in wait4() argument 93 if (options & ~(WNOHANG|WUNTRACED)) in wait4() 95 noptions = options | WEXITED | WTRAPPED; in wait4() 113 if ((options & WNOHANG) && (info.si_pid == 0)) in wait4()
|
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | vtdaemon | 36 val=`svcprop -p options/hotkeys $SMF_FMRI` 39 val=`svcprop -p options/secure $SMF_FMRI` 42 val=`svcprop -p options/nodecount $SMF_FMRI`
|
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_usb.c | 447 const char *options, in verify_params() argument 454 if (options != NULL) { in verify_params() 1028 const char *options, in cfga_change_state() argument 1241 const char *options, in cfga_private_func() argument 1322 subopts = (char *)options; in cfga_private_func() 1337 options, flags); in cfga_private_func() 1359 options, flags); in cfga_private_func() 1469 const char *options, in cfga_test() argument 1485 const char *options, in cfga_list_ext() argument 1714 if (options) { in cfga_help() [all …]
|
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcadm-list.c | 504 cmdOptions_t *options) in fc_util_delete_npivport() argument 521 for (; options->optval; options++) { in fc_util_delete_npivport() 522 switch (options->optval) { in fc_util_delete_npivport() 524 if (!isValidWWN(options->optarg)) { in fc_util_delete_npivport() 529 sscanf(options->optarg, "%016llx", &virtualportWWN); in fc_util_delete_npivport() 617 char **wwn_argv, cmdOptions_t *options) in fc_util_create_npivport() argument 636 for (; options->optval; options++) { in fc_util_create_npivport() 637 switch (options->optval) { in fc_util_create_npivport() 639 if (!isValidWWN(options->optarg)) { in fc_util_create_npivport() 644 sscanf(options->optarg, "%016llx", &virtualportWWN); in fc_util_create_npivport() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | validate.c | 182 prs->request->options in _validate() 913 if (prs->request->options && in _chkopts() 916 free(prs->request->options); in _chkopts() 917 prs->request->options = sprintlist(list); in _chkopts() 946 if (prs->request->options && in _chkopts() 949 free(prs->request->options); in _chkopts() 950 prs->request->options = sprintlist(list); in _chkopts() 958 if (prs->request->options) { in _chkopts() 959 list = dashos(prs->request->options); in _chkopts() 960 free(prs->request->options); in _chkopts() [all …]
|