Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 651) sorted by relevance

12345678910>>...27

/illumos-gate/usr/src/cmd/format/
H A Dprompts.c126 ulong_t *options;
163 get_psect(options) in get_psect() argument
164 ulong_t *options; in get_psect()
187 ulong_t *options;
225 ulong_t *options; in get_fmt_time()
245 ulong_t *options; in get_cyl_skew()
265 ulong_t *options; in get_trk_skew()
285 ulong_t *options; in get_trks_zone()
304 get_atrks(options) in get_atrks() argument
324 get_asect(options) in get_asect() argument
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/sparse/
H A Dsparse_001_pos.ksh55 options=""
60 [[ -n "$HOLES_FILESIZE" ]] && options=" $options -f $HOLES_FILESIZE "
62 [[ -n "$HOLES_BLKSIZE" ]] && options="$options -b $HOLES_BLKSIZE "
64 [[ -n "$HOLES_COUNT" ]] && options="$options -c $HOLES_COUNT "
66 [[ -n "$HOLES_SEED" ]] && options="$options -s $HOLES_SEED "
68 [[ -n "$HOLES_FILEOFFSET" ]] && options="$options -o $HOLES_FILEOFFSET "
70 options="$options -r "
72 [[ -n "$options" ]] && options_display=$options
75 log_must file_trunc $options $TESTDIR/$TESTFILE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_006_pos.ksh64 if [[ $options == *"P"* ]]; then
77 typeset options=$1
88 log_fail "zfs send $options failed"
121 options="-nv"
127 options="-Pnv"
133 options="-nv"
140 options="-vPn"
146 options="-nvi"
155 options="-vPni"
184 options="-Rnv"
[all …]
/illumos-gate/usr/src/lib/pyzfs/common/
H A Duserspace.py50 def skiptype(options, prop): argument
132 if options.parsable:
189 options.fields = options.fields.split(",")
190 for f in options.fields:
194 options.types = options.types.split(",")
195 for t in options.types:
199 if not options.sortfields:
202 if "all" in options.types:
203 options.types = types[1:]
208 options.noname = True
[all …]
H A Dallow.py172 if options.set:
178 if options.user:
342 if sum((bool(options.everyone), bool(options.user),
355 if options.set:
356 if options.local or options.descend or options.user or \
357 options.group or options.everyone or options.create:
365 if options.local or options.descend or options.user or \
366 options.group or options.everyone or options.set:
372 if options.user or options.group or \
373 options.create or options.set:
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/truncate/
H A Dtruncate_001_pos.ksh56 options=""
61 [[ -n "$TRUNC_FILESIZE" ]] && options=" $options -f $TRUNC_FILESIZE "
63 [[ -n "$TRUNC_BLKSIZE" ]] && options="$options -b $TRUNC_BLKSIZE "
65 [[ -n "$TRUNC_COUNT" ]] && options="$options -c $TRUNC_COUNT "
67 [[ -n "$TRUNC_SEED" ]] && options="$options -s $TRUNC_SEED "
69 [[ -n "$TRUNC_FILEOFFSET" ]] && options="$options -o $TRUNC_FILEOFFSET "
71 [[ -n "$options" ]] && options_display=$options
74 log_must file_trunc $options $TESTDIR/$TESTFILE
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dchgrp.c171 options |= OPT_CHOWN; in getids()
176 if (options & OPT_CHOWN) in getids()
222 register int options = 0; in b_chgrp() local
255 options |= OPT_CHOWN; in b_chgrp()
258 if (options & OPT_CHOWN) in b_chgrp()
279 options |= OPT_FORCE; in b_chgrp()
282 options |= OPT_LCHOWN; in b_chgrp()
292 options |= OPT_SHOW; in b_chgrp()
325 options |= OPT_TEST; in b_chgrp()
376 options |= OPT_UID; in b_chgrp()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/replacement/
H A Dreplacement_001_pos.ksh66 options=""
71 [[ -n "$HOLES_FILESIZE" ]] && options=" $options -f $HOLES_FILESIZE "
73 [[ -n "$HOLES_BLKSIZE" ]] && options="$options -b $HOLES_BLKSIZE "
75 [[ -n "$HOLES_COUNT" ]] && options="$options -c $HOLES_COUNT "
77 [[ -n "$HOLES_SEED" ]] && options="$options -s $HOLES_SEED "
79 [[ -n "$HOLES_FILEOFFSET" ]] && options="$options -o $HOLES_FILEOFFSET "
81 options="$options -r "
83 [[ -n "$options" ]] && options_display=$options
98 file_trunc $options $TESTDIR/$TESTFILE.$i &
103 log_fail "file_trunc $options $TESTDIR/$TESTFILE.$i"
H A Dreplacement_002_pos.ksh66 options=""
71 [[ -n "$HOLES_FILESIZE" ]] && options=" $options -f $HOLES_FILESIZE "
73 [[ -n "$HOLES_BLKSIZE" ]] && options="$options -b $HOLES_BLKSIZE "
75 [[ -n "$HOLES_COUNT" ]] && options="$options -c $HOLES_COUNT "
77 [[ -n "$HOLES_SEED" ]] && options="$options -s $HOLES_SEED "
79 [[ -n "$HOLES_FILEOFFSET" ]] && options="$options -o $HOLES_FILEOFFSET "
81 options="$options -r "
83 [[ -n "$options" ]] && options_display=$options
98 file_trunc $options $TESTDIR/$TESTFILE.$i &
103 log_fail "file_trunc $options $TESTDIR/$TESTFILE.$i"
H A Dreplacement_003_pos.ksh66 options=""
71 [[ -n "$HOLES_FILESIZE" ]] && options=" $options -f $HOLES_FILESIZE "
73 [[ -n "$HOLES_BLKSIZE" ]] && options="$options -b $HOLES_BLKSIZE "
75 [[ -n "$HOLES_COUNT" ]] && options="$options -c $HOLES_COUNT "
77 [[ -n "$HOLES_SEED" ]] && options="$options -s $HOLES_SEED "
79 [[ -n "$HOLES_FILEOFFSET" ]] && options="$options -o $HOLES_FILEOFFSET "
81 ptions="$options -r "
83 [[ -n "$options" ]] && options_display=$options
96 file_trunc $options $TESTDIR/$TESTFILE.$i &
101 log_fail "file_trunc $options $TESTDIR/$TESTFILE.$i"
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo.c139 return (fc_util_list_hbaport(objects, argv, options)); in listHbaPortFunc()
150 return (fc_util_list_remoteport(objects, argv, options)); in listRemotePortFunc()
170 cmdOptions_t *options, void *addArgs) { in npivCreatePortFunc() argument
176 cmdOptions_t *options, void *addArgs) { in npivCreatePortListFunc() argument
177 if ((objects == 0) && addArgs && options && argv) { in npivCreatePortListFunc()
189 cmdOptions_t *options, void *addArgs) { in npivDeletePortFunc() argument
199 cmdOptions_t *options, void *addArgs) { in npivListHbaPortFunc() argument
200 return (fc_util_list_hbaport(objects, argv, options)); in npivListHbaPortFunc()
209 cmdOptions_t *options, void *addArgs) { in npivListRemotePortFunc() argument
221 return (fcoe_adm_create_port(objects, argv, options)); in fcoeAdmCreatePortFunc()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dmount.c73 char *options = ""; in main() local
85 options = optarg; in main()
127 options = concat_opts(options, "ro"); in main()
133 fni.opts = options; in main()
143 strcpy(obuf, options); in main()
188 options[0] = '\0'; in process_opts()
202 if (options[0] != '\0') { in process_opts()
203 (void) strcat(options, ","); in process_opts()
205 (void) strcat(options, opt); in process_opts()
235 ro_given(char *options) in ro_given() argument
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dsvc-route70 options="AdghmnqsStvVzT:F:P:"
79 "$options" "A" ignore_auth false true
81 "$options" "F" minimize_routes
83 "$options" "g" offer_default_route true false
89 "$options" "n" install_routes false true
91 "$options" "P" parameters
93 "$options" "q" quiet_mode true false
95 "$options" "s" supply_routes true false
99 "$options" "T" log_file
101 "$options" "v" debug true false
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.c60 const char *options, in cfga_change_state() argument
81 if (options != NULL && strcmp(options, OPT_DISABLE_RCM) != 0) { in cfga_change_state()
82 cfga_err(errstring, 0, ERRARG_OPT_INVAL, options, 0); in cfga_change_state()
90 if (options != NULL) in cfga_change_state()
111 const char *options, in cfga_private_func() argument
132 if (options != NULL && strcmp(options, OPT_DISABLE_RCM) != 0) { in cfga_private_func()
145 if (options != NULL) in cfga_private_func()
164 const char *options, in cfga_test() argument
186 const char *options, in cfga_list_ext() argument
212 if (options != NULL && strcmp(options, OPT_USE_DIFORCE) != 0) { in cfga_list_ext()
[all …]
/illumos-gate/usr/src/lib/libresolv/
H A Dres_send.c158 if (_res.options & RES_DEBUG) {
163 if (!(_res.options & RES_INIT))
180 if (_res.options & RES_DEBUG)
229 if (_res.options & RES_DEBUG)
249 if (_res.options & RES_DEBUG)
274 if (_res.options & RES_DEBUG)
291 if (_res.options & RES_DEBUG)
368 if (_res.options &
424 if (_res.options & RES_DEBUG)
434 if (_res.options & RES_DEBUG)
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dgetopts.c80 options = opt_info.arg; in b_getopts()
94 error_info.id = options; in b_getopts()
95 options = argv[0]; in b_getopts()
109 if(mode= (*options==':')) in b_getopts()
110 options++; in b_getopts()
111 extended = *options=='\n' && *(options+1)=='[' || *options=='[' && *(options+1)=='-'; in b_getopts()
144 *(options = value) = flag; in b_getopts()
160 optget(com,options); in b_getopts()
166 options = value; in b_getopts()
167 *options = '?'; in b_getopts()
[all …]
/illumos-gate/usr/src/cmd/ast/libshell/common/scripts/
H A Dcrawlsrccomments.sh852 nameref options=$2
910 nameref options=$2
996 compound options=(
1019 …extract_comments scan.records "$i" ${options.max_num_comments} ${options.max_filesize_for_scan} ||…
1039 compound options=(
1060 D) options.database="${OPTARG}" ;;
1063 S) options.print_stats=true ;;
1064 +S) options.print_stats=false ;;
1065 Z) options.zapduplicates=true ;;
1066 +Z) options.zapduplicates=false ;;
[all …]
/illumos-gate/usr/src/cmd/prtdscp/sparc/sun4u/
H A Dprtdscp.c59 int options; in main() local
66 parse_options(argc, argv, &options); in main()
71 if ((options & OPT_SP) != 0) { in main()
78 if ((options & OPT_DOMAIN) != 0) { in main()
90 if (options == OPT_SP) { in main()
92 } else if (options == OPT_DOMAIN) { in main()
118 *options = (OPT_SP | OPT_DOMAIN); in parse_options()
153 if (*options == OPT_DOMAIN) { in parse_options()
158 *options = OPT_SP; in parse_options()
161 if (*options == OPT_SP) { in parse_options()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_fp.c43 const char *options, in cfga_change_state() argument
78 if (options != NULL) { in cfga_change_state()
80 (void) snprintf(hw_option, strlen(options) + 1, "%s", options); in cfga_change_state()
99 options, 0); in cfga_change_state()
109 options, 0); in cfga_change_state()
160 const char *options, in cfga_private_func() argument
182 const char *options, in cfga_test() argument
205 const char *options, in cfga_list_ext() argument
236 if (options != NULL) { in cfga_list_ext()
238 (void) snprintf(hw_option, strlen(options) + 1, "%s", options); in cfga_list_ext()
[all …]
/illumos-gate/usr/src/test/test-runner/cmd/
H A Drun237 def run(self, options):
308 if not options.quiet:
410 test.run(options)
665 def write(self, options):
769 def run(self, options):
946 return options
950 options = parse_args()
954 if options.runfile:
959 if options.logfile:
962 if options.template:
[all …]
/illumos-gate/usr/src/cmd/stmfadm/
H A Dstmfadm.c270 for (; options->optval; options++) { in addHostGroupMemberFunc()
358 for (; options->optval; options++) { in addTargetGroupMemberFunc()
628 for (; options->optval; options++) { in addViewFunc()
827 for (; options->optval; options++) { in createLuFunc()
975 for (; options->optval; options++) { in modifyLuFunc()
1009 for (; options->optval; options++) { in modifyLuFunc()
1338 for (; options->optval; options++) { in deleteLuFunc()
1661 for (; options->optval; options++) { in listHostGroupFunc()
1792 for (; options->optval; options++) { in listTargetGroupFunc()
2686 for (; options->optval; options++) { in listViewFunc()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/stmf/
H A Dstmf.c546 if (options == NULL || ! options->lpname_defined) { in stmf_find_ilport()
823 if (options == NULL || (options->rpname_defined == 0 && in stmf_find_fct_irp()
829 if (options->rpname_defined && options->rp_defined) { in stmf_find_fct_irp()
835 if (options->rp_defined) { in stmf_find_fct_irp()
840 siport, options->rp); in stmf_find_fct_irp()
1023 if (options == NULL || in stmf_find_tasks()
1024 (options->lpname_defined == 0 && options->rpname_defined == 0)) { in stmf_find_tasks()
1063 if (options == NULL || options->lpname_defined == 0) { in fct_find_cmds()
1438 options->rp_defined = 1; in parse_options()
1439 options->rp = in parse_options()
[all …]
/illumos-gate/usr/src/cmd/sbdadm/
H A Dsbdadm.c71 optionTbl_t options[] = { variable
111 for (; options->optval; options++) { in create_lu()
112 switch (options->optval) { in create_lu()
115 options->optarg); in create_lu()
118 cmdName, options->optval, in create_lu()
126 cmdName, options->optval, in create_lu()
299 for (; options->optval; options++) { in delete_lu()
300 switch (options->optval) { in delete_lu()
307 cmdName, options->optval, in delete_lu()
451 for (; options->optval; options++) { in modify_lu()
[all …]
/illumos-gate/usr/src/cmd/sasinfo/
H A Dsasinfo.c93 listHbaFunc(int objects, char *argv[], cmdOptions_t *options, void *addArgs) in listHbaFunc() argument
95 return (sas_util_list_hba(objects, argv, options)); in listHbaFunc()
100 listHbaPortFunc(int objects, char *argv[], cmdOptions_t *options, void *addArgs) in listHbaPortFunc() argument
102 return (sas_util_list_hbaport(objects, argv, options)); in listHbaPortFunc()
110 listExpanderFunc(int objects, char *argv[], cmdOptions_t *options, in listExpanderFunc() argument
113 return (sas_util_list_expander(objects, argv, options)); in listExpanderFunc()
118 listTargetPortFunc(int objects, char *argv[], cmdOptions_t *options, in listTargetPortFunc() argument
121 return (sas_util_list_targetport(objects, argv, options)); in listTargetPortFunc()
129 listLogicalUnitFunc(int objects, char *argv[], cmdOptions_t *options, in listLogicalUnitFunc() argument
132 return (sas_util_list_logicalunit(objects, argv, options)); in listLogicalUnitFunc()
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/
H A Dgetholes.c70 print_list(list_t *seg_list, char *fname, int options) in print_list() argument
83 if (options & PRINT_VERBOSE) in print_list()
103 if (options & PRINT_HOLE && options & PRINT_DATA) { in print_list()
109 if (options & PRINT_DATA) in print_list()
111 if (options & PRINT_HOLE) in print_list()
119 int c, fd, options = 0, whence = SEEK_DATA; in main() local
130 options |= PRINT_DATA; in main()
133 options |= PRINT_HOLE; in main()
136 options |= PRINT_VERBOSE; in main()
191 print_list(&seg_list, fname, options); in main()

12345678910>>...27