Home
last modified time | relevance | path

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

12345678910>>...30

/titanic_41/usr/src/cmd/ssh/sshd/
H A Dservconf.c69 initialize_server_options(ServerOptions *options) in initialize_server_options() argument
71 (void) memset(options, 0, sizeof(*options)); in initialize_server_options()
74 options->num_ports = 0; in initialize_server_options()
75 options->ports_from_cmdline = 0; in initialize_server_options()
76 options->listen_addrs = NULL; in initialize_server_options()
77 options->num_host_key_files = 0; in initialize_server_options()
78 options->pid_file = NULL; in initialize_server_options()
79 options->server_key_bits = -1; in initialize_server_options()
80 options->login_grace_time = -1; in initialize_server_options()
81 options->key_regeneration_time = -1; in initialize_server_options()
[all …]
H A Dsshd.c127 ServerOptions options; variable
258 for (i = 0; i < options.max_startups; i++) in close_startup_pipes()
479 sensitive_data.server_key ? "new " : "", options.server_key_bits); in generate_ephemeral_server_key()
483 options.server_key_bits); in generate_ephemeral_server_key()
515 if ((options.protocol & SSH_PROTO_1) && in sshd_exchange_identification()
516 (options.protocol & SSH_PROTO_2)) { in sshd_exchange_identification()
519 } else if (options.protocol & SSH_PROTO_2) { in sshd_exchange_identification()
598 if (options.protocol & SSH_PROTO_2) in sshd_exchange_identification()
604 if (!(options.protocol & SSH_PROTO_1)) { in sshd_exchange_identification()
617 if (options.protocol & SSH_PROTO_2) { in sshd_exchange_identification()
[all …]
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dreadconf.c236 add_local_forward(Options *options, const Forward *newfwd) in add_local_forward() argument
244 if (options->num_local_forwards >= SSH_MAX_FORWARDS_PER_DIRECTION) in add_local_forward()
246 fwd = &options->local_forwards[options->num_local_forwards++]; in add_local_forward()
261 add_remote_forward(Options *options, const Forward *newfwd) in add_remote_forward() argument
264 if (options->num_remote_forwards >= SSH_MAX_FORWARDS_PER_DIRECTION) in add_remote_forward()
267 fwd = &options->remote_forwards[options->num_remote_forwards++]; in add_remote_forward()
277 clear_forwardings(Options *options) in clear_forwardings() argument
281 for (i = 0; i < options->num_local_forwards; i++) { in clear_forwardings()
282 if (options->local_forwards[i].listen_host != NULL) in clear_forwardings()
283 xfree(options->local_forwards[i].listen_host); in clear_forwardings()
[all …]
/titanic_41/usr/src/cmd/ssh/ssh/
H A Dssh.c119 Options options; variable
306 initialize_options(&options);
316 options.protocol = SSH_PROTO_1;
319 options.protocol = SSH_PROTO_2;
335 options.forward_x11 = 0;
338 options.forward_x11 = 1;
341 options.gateway_ports = 1;
346 options.use_privileged_port = 0;
349 options.forward_agent = 0;
352 options.forward_agent = 1;
[all …]
H A Dsshconnect.c50 extern Options options;
209 if (options.bind_address == NULL) in ssh_create_socket()
216 gaierr = getaddrinfo(options.bind_address, "0", &hints, &res); in ssh_create_socket()
218 error("getaddrinfo: %s: %s", options.bind_address, in ssh_create_socket()
224 error("bind: %s: %s", options.bind_address, strerror(errno)); in ssh_create_socket()
392 options.connection_timeout) >= 0) { in ssh_connect()
432 if (options.keepalives && in ssh_connect()
497 (options.protocol & SSH_PROTO_2) && in ssh_exchange_identification()
498 !(options.protocol & SSH_PROTO_1_PREFERRED)) { in ssh_exchange_identification()
502 if (!(options.protocol & SSH_PROTO_1)) { in ssh_exchange_identification()
[all …]
/titanic_41/usr/src/cmd/format/
H A Dprompts.c124 get_phead(n_heads, options) in get_phead() argument
126 ulong_t *options;
136 *options |= SUP_PHEAD;
163 get_psect(options) in get_psect() argument
164 ulong_t *options; in get_psect()
174 *options |= SUP_PSECT;
185 get_bpt(n_sects, options) in get_bpt() argument
187 ulong_t *options;
193 *options |= SUP_BPT;
224 get_fmt_time(options) in get_fmt_time() argument
[all …]
/titanic_41/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
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_006_pos.ksh63 if [[ $options == *"P"* ]]; then
76 typeset options=$1
87 log_fail "zfs send $options failed"
90 log_fail "zfs send $options gives wrong size estimates"
119 options="-nv"
121 estimate_size=$(get_estimate_size $full_snapshot $options)
122 log_must verify_size_estimates $options $full_size
125 options="-Pnv"
127 estimate_size=$(get_estimate_size $full_snapshot $options)
128 log_must verify_size_estimates $options $full_size
[all …]
/titanic_41/usr/src/lib/pyzfs/common/
H A Duserspace.py49 def skiptype(options, prop): argument
52 if field not in options.fields:
54 if isgroup and "posixgroup" not in options.types and \
55 "smbgroup" not in options.types:
57 if not isgroup and "posixuser" not in options.types and \
58 "smbuser" not in options.types:
62 def new_entry(options, isgroup, domain, rid): argument
77 if typename.lower().replace(" ", "") not in options.types:
84 if not options.noname and rid < 1<<31:
103 def process_one_raw(acct, options, prop, elem): argument
[all …]
H A Dallow.py134 def args_to_perms(parser, options, who, perms): argument
171 if options.set:
173 elif options.create:
177 if options.user:
181 elif options.group:
198 if options.local:
200 if options.descend:
340 (options, args) = parser.parse_args(sys.argv[2:])
342 if sum((bool(options.everyone), bool(options.user),
343 bool(options.group))) > 1:
[all …]
/titanic_41/usr/src/test/zfs-tests/tests/functional/truncate/
H A Dtruncate_001_pos.ksh52 options=""
57 [[ -n "$TRUNC_FILESIZE" ]] && options=" $options -f $TRUNC_FILESIZE "
59 [[ -n "$TRUNC_BLKSIZE" ]] && options="$options -b $TRUNC_BLKSIZE "
61 [[ -n "$TRUNC_COUNT" ]] && options="$options -c $TRUNC_COUNT "
63 [[ -n "$TRUNC_SEED" ]] && options="$options -s $TRUNC_SEED "
65 [[ -n "$TRUNC_FILEOFFSET" ]] && options="$options -o $TRUNC_FILEOFFSET "
67 [[ -n "$options" ]] && options_display=$options
70 log_must $FILE_TRUNC $options $TESTDIR/$TESTFILE
/titanic_41/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"
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_reset.c41 mdcmdopts_t options, in meta_reset() argument
54 if (meta_isopen(sp, np, ep, options) != 0) { in meta_reset()
61 mir.force = (options & MDCMD_FORCE) ? 1 : 0; in meta_reset()
81 mdcmdopts_t options, in meta_reset_all() argument
85 options |= MDCMD_RECURSE; in meta_reset_all()
92 if (meta_trans_reset(sp, NULL, options, ep) != 0) in meta_reset_all()
94 if (meta_sp_reset(sp, NULL, options, ep) != 0) in meta_reset_all()
96 if (meta_raid_reset(sp, NULL, options, ep) != 0) in meta_reset_all()
98 if (meta_mirror_reset(sp, NULL, options, ep) != 0) in meta_reset_all()
100 if (meta_stripe_reset(sp, NULL, options, ep) != 0) in meta_reset_all()
[all …]
/titanic_41/usr/src/lib/libcmd/common/
H A Dchgrp.c162 getids(register char* s, char** e, Key_t* key, int options) in getids() argument
175 options |= OPT_CHOWN; in getids()
180 if (options & OPT_CHOWN) in getids()
217 register int options = 0; in b_chgrp() local
250 options |= OPT_CHOWN; in b_chgrp()
253 if (options & OPT_CHOWN) in b_chgrp()
271 options |= OPT_VERBOSE; in b_chgrp()
274 options |= OPT_FORCE; in b_chgrp()
277 options |= OPT_LCHOWN; in b_chgrp()
287 options |= OPT_SHOW; in b_chgrp()
[all …]
/titanic_41/usr/src/cmd/fcinfo/
H A Dfcinfo.c137 listHbaPortFunc(int objects, char *argv[], cmdOptions_t *options, void *addArgs) in listHbaPortFunc() argument
139 return (fc_util_list_hbaport(objects, argv, options)); in listHbaPortFunc()
147 listRemotePortFunc(int objects, char *argv[], cmdOptions_t *options, in listRemotePortFunc() argument
150 return (fc_util_list_remoteport(objects, argv, options)); in listRemotePortFunc()
158 listLogicalUnitFunc(int objects, char *argv[], cmdOptions_t *options, in listLogicalUnitFunc() argument
161 return (fc_util_list_logicalunit(objects, argv, options)); in listLogicalUnitFunc()
170 cmdOptions_t *options, void *addArgs) { in npivCreatePortFunc() argument
171 return (fc_util_create_npivport(objects, argv, options)); in npivCreatePortFunc()
176 cmdOptions_t *options, void *addArgs) { in npivCreatePortListFunc() argument
177 if ((objects == 0) && addArgs && options && argv) { in npivCreatePortListFunc()
[all …]
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dmount.c52 static void process_opts(char *options, int *directp);
54 static int ro_given(char *options);
73 char *options = ""; in main() local
85 options = optarg; in main()
124 process_opts(options, &fni.direct); in main()
126 if (roflg && !ro_given(options)) in main()
127 options = concat_opts(options, "ro"); in main()
133 fni.opts = options; in main()
143 strcpy(obuf, options); in main()
178 process_opts(char *options, int *directp) in process_opts() argument
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dsvc-route68 options="AdghmnqsStvVzT:F:P:"
77 "$options" "A" ignore_auth false true
79 "$options" "F" minimize_routes
81 "$options" "g" offer_default_route true false
83 "$options" "h" advertise_host_routes false true
85 "$options" "m" advertise_host_routes_primary true false
87 "$options" "n" install_routes false true
89 "$options" "P" parameters
91 "$options" "q" quiet_mode true false
93 "$options" "s" supply_routes true false
[all …]
/titanic_41/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()
133 cfga_err(errstring, 0, ERRARG_OPT_INVAL, options, 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
[all …]
/titanic_41/usr/src/test/test-runner/cmd/
H A Drun.py181 def run(self, options): argument
187 if options.dryrun is True:
227 def log(self, logger, options): argument
246 if not options.quiet:
316 def run(self, logger, options): argument
332 pretest.run(options)
334 pretest.log(logger, options)
337 test.run(options)
341 test.log(logger, options)
344 posttest.run(options)
[all …]
/titanic_41/usr/src/lib/libresolv/
H A Dres_send.c145 if (_res.options & RES_DEBUG) {
150 if (!(_res.options & RES_INIT))
159 v_circuit = (_res.options & RES_USEVC) || buflen > PACKETSZ;
167 if (_res.options & RES_DEBUG)
185 if (_res.options & RES_DEBUG) {
195 if (_res.options & RES_DEBUG) {
216 if (_res.options & RES_DEBUG)
236 if (_res.options & RES_DEBUG)
261 if (_res.options & RES_DEBUG)
278 if (_res.options & RES_DEBUG)
[all …]
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dgetopts.c55 register char *options=error_info.context->id; in b_getopts() local
75 options = opt_info.arg; in b_getopts()
89 error_info.id = options; in b_getopts()
90 options = argv[0]; in b_getopts()
104 if(mode= (*options==':')) in b_getopts()
105 options++; in b_getopts()
106 extended = *options=='\n' && *(options+1)=='[' || *options=='[' && *(options+1)=='-'; in b_getopts()
117 …switch(opt_info.index>=0 && opt_info.index<=argc?(opt_info.num= LONG_MIN,flag=optget(argv,options)… in b_getopts()
136 *(options = value) = flag; in b_getopts()
152 optget(com,options); in b_getopts()
[all …]
/titanic_41/usr/src/lib/libshell/common/scripts/
H A Dcrawlsrccomments.sh852 nameref options=$2
859 [[ "${node.filename}" != ${options.filepattern.accept} ]] ; then
863 [[ "${node.filename}" == ${options.filepattern.reject} ]] ; then
878 [[ "$s" == ${options.commentpattern.accept} ]] ; then
882 [[ "$s" == ${options.commentpattern.reject} ]] ; then
910 nameref options=$2
919 [[ "${node.filename}" != ${options.filepattern.accept} ]] ; then
923 [[ "${node.filename}" == ${options.filepattern.reject} ]] ; then
938 [[ "$s" == ${options.commentpattern.accept} ]] ; then
942 [[ "$s" == ${options.commentpattern.reject} ]] ; then
[all …]
/titanic_41/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()
108 parse_options(int argc, char **argv, int *options) in parse_options() argument
118 *options = (OPT_SP | OPT_DOMAIN); in parse_options()
153 if (*options == OPT_DOMAIN) { in parse_options()
158 *options = OPT_SP; in parse_options()
[all …]

12345678910>>...30