/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 660 process_options(int opcode, char *opts, char *endopts) argument 670 cp = opts; 684 while (opts < endopts) { 685 optname = opts; 690 if ((opts = next_field(optval, endopts)) == NULL) {
|
H A D | ndp.c | 843 ndp_set_nce(char *host, char *lladdr, char *opts[], int optlen) argument 878 opt = opts[i]; 921 char *opts[MAX_OPTS]; local 959 opts[optlen] = curr; 962 if (ndp_set_nce(host, lladdr, opts, optlen) != 0) { 986 char **opts; local 1021 opts = argv + optind; 1103 err = ndp_set_nce(flagarg, lladdr, opts, optlen);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_nm.c | 349 const char *opts; local 353 opts = "-f"; 356 opts = "-o"; 359 opts = ""; 363 sym->st_value, opts, sym->st_size, name);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/sctp/ |
H A D | sctp.c | 688 uint_t opts = 0; local 713 'a', MDB_OPT_SETBITS, MDB_SCTP_SHOW_ALL, &opts, 714 'f', MDB_OPT_SETBITS, MDB_SCTP_SHOW_FLAGS, &opts, 715 'h', MDB_OPT_SETBITS, MDB_SCTP_SHOW_HASH, &opts, 716 'o', MDB_OPT_SETBITS, MDB_SCTP_SHOW_OUT, &opts, 717 'i', MDB_OPT_SETBITS, MDB_SCTP_SHOW_IN, &opts, 718 'm', MDB_OPT_SETBITS, MDB_SCTP_SHOW_MISC, &opts, 719 'r', MDB_OPT_SETBITS, MDB_SCTP_SHOW_RTT, &opts, 720 'S', MDB_OPT_SETBITS, MDB_SCTP_SHOW_STATS, &opts, 721 'F', MDB_OPT_SETBITS, MDB_SCTP_SHOW_FLOW, &opts, [all...] |
/illumos-gate/usr/src/cmd/rmvolmgr/ |
H A D | rmm_common.c | 496 char **opts, int num_opts, char *mountpoint, DBusError *error) 518 DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &opts, num_opts, 552 char **opts = NULL; local 564 &opts, 0, DBUS_TYPE_INVALID)) { 803 char **opts, int num_opts, char *mountpoint) 828 opts, num_opts, mountpoint, &error); 881 struct action_arg *aap, char **opts, int num_opts, char *mountpoint) 925 opts, num_opts, NULL); 953 opts, num_opts, mountpoint); 495 rmm_hal_mount(LibHalContext *hal_ctx, const char *udi, char **opts, int num_opts, char *mountpoint, DBusError *error) argument 801 rmm_action_one(LibHalContext *hal_ctx, const char *name, action_t action, const char *dev, const char *udi, LibHalVolume *v, char **opts, int num_opts, char *mountpoint) argument 880 rmm_action(LibHalContext *hal_ctx, const char *name, action_t action, struct action_arg *aap, char **opts, int num_opts, char *mountpoint) argument
|
/illumos-gate/usr/src/cmd/cmd-crypto/elfsign/ |
H A D | elfsign.c | 143 char *opts; /* The set of flags for cmd */ local 179 opts = SIGN_OPTS; 180 cryptodebug("cmd=sign opts=%s", opts); 185 opts = VERIFY_OPTS; 186 cryptodebug("cmd=verify opts=%s", opts); 190 opts = REQUEST_OPTS; 191 cryptodebug("cmd=request opts=%s", opts); [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfstat.c | 97 int opts = 0; variable 302 opts |= OPT_ACCNT|OPT_SHOWLIST; 305 opts |= OPT_AUTHSTATS; 311 opts |= OPT_DEBUG; 317 opts |= OPT_FRSTATES; 320 opts |= OPT_GROUPS; 326 opts |= OPT_HITS; 329 opts |= OPT_INQUE|OPT_SHOWLIST; 332 opts |= OPT_INACTIVE; 335 opts | [all...] |
H A D | ipmon.c | 144 static int opts = 0; variable 564 if (!res || (opts & OPT_PORTNUM)) 731 res = (opts & OPT_RESOLVE) ? 1 : 0; 734 if (!(opts & OPT_SYSLOG)) { 794 if (opts & OPT_SYSLOG) 813 res = (opts & OPT_RESOLVE) ? 1 : 0; 816 if (!(opts & OPT_SYSLOG)) { 911 if (opts & OPT_SYSLOG) 1001 res = (opts & OPT_RESOLVE) ? 1 : 0; 1007 if (!(opts [all...] |
/illumos-gate/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 345 add_preauth_opt(struct k_opts *opts, char *av) argument 350 if (opts->num_pa_opts == 0) { 351 opts->pa_opts = malloc(sizeof(krb5_gic_opt_pa_data)); 352 if (opts->pa_opts == NULL) 355 size_t newsize = (opts->num_pa_opts + 1) * sizeof(krb5_gic_opt_pa_data); 356 x = realloc(opts->pa_opts, newsize); 359 opts->pa_opts = x; 361 p = &opts->pa_opts[opts->num_pa_opts]; 371 opts 1303 struct k_opts opts; local [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/ |
H A D | main.c | 2708 char *f, *opts = tmpopts; local 2730 (void) strcpy(opts, a_mntOptions); 2734 f = getMountOption(&opts); 2735 for (; *f; f = getMountOption(&opts)) {
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon_subr.c | 2010 struct sockaddr *faddr, socklen_t faddrlen, short opts) 2018 opts); 2007 so_quiesced_cb(sock_upper_handle_t sock_handle, sock_quiesce_arg_t *arg, struct T_capability_ack *tcap, struct sockaddr *laddr, socklen_t laddrlen, struct sockaddr *faddr, socklen_t faddrlen, short opts) argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | dacf.c | 311 char *module, char *opset, dacf_opid_t opid, uint_t opts, 341 rule = dacf_rule_ctor(devspec_data, module, opset, opid, opts, 367 uint_t opts, dacf_arg_t *op_args) 395 rule->r_opts = opts; 1127 dacf_getopt(char *opt_str, uint_t *opts) argument 1136 *opts |= p->optmask; 310 dacf_rule_insert(dacf_devspec_t devspec_type, char *devspec_data, char *module, char *opset, dacf_opid_t opid, uint_t opts, dacf_arg_t *op_args) argument 366 dacf_rule_ctor(char *device_spec, char *module, char *opset, dacf_opid_t opid, uint_t opts, dacf_arg_t *op_args) argument
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_parse.c | 267 * mount filesystem. Use mapopts if no default opts are provided. 526 * push_options(hiernode *node, char *opts, char *mapopts, int err) 570 * set_mapent_opts(struct mapent *me, char *opts, char *defaultopts, 573 * out the fstype part from the opts. Use default options if opts is NULL. 578 set_mapent_opts(struct mapent *me, char *opts, char *defaultopts, argument 589 if (opts == NULL) { 590 opts = defaultopts; 591 if (defaultopts == NULL) { /* NULL opts for entry */ 596 if (*opts 682 fstype_opts(struct mapent *me, char *opts, char *defaultopts, char *mapopts) argument 1173 char *opts; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv.c | 576 uint_t opts = 0; local 580 if (smb_dcmd_getopt(&opts, argc, argv)) 583 if (!(opts & ~(SMB_OPT_WALK | SMB_OPT_VERBOSE))) 584 opts |= SMB_OPT_ALL_OBJ; 586 opts |= SMB_OPT_WALK; 588 new_argc = smb_dcmd_setopt(opts, SMB_MDB_MAX_OPTS, new_argv); 642 uint_t opts; local 645 if (smb_dcmd_getopt(&opts, argc, argv)) 649 return (smb_obj_list("smb_server", opts | SMB_OPT_SERVER, 652 if (((opts 751 uint_t opts; local 871 uint_t opts; local 1050 uint_t opts; local 1160 uint_t opts; local 1236 uint_t opts; local 1307 uint_t opts; local 1375 uint_t *opts = arg; local 1422 uint_t opts = 0; local 2431 smb_dcmd_getopt(uint_t *opts, int argc, const mdb_arg_t *argv) argument 2461 smb_dcmd_setopt(uint_t opts, int max_argc, mdb_arg_t *argv) argument 2481 smb_obj_expand(uintptr_t addr, uint_t opts, const smb_exp_t *x, ulong_t indent) argument 2520 smb_obj_list(const char *name, uint_t opts, uint_t flags) argument [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 1250 sa_optionset_t opts; local 1254 opts = sa_get_optionset((sa_group_t) 1256 (void) sa_destroy_optionset(opts);
|
H A D | libshare.c | 4115 sa_optionset_t opts; local 4118 for (opts = sa_get_optionset(object, NULL); 4119 opts != NULL; 4120 opts = sa_get_next_optionset(opts)) { 4122 type = sa_get_optionset_attr(opts, "type");
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema.c | 1053 subopt_help_str(char *opts[]) argument 1064 for (i = 0; opts[i] != NULL; i++) { 1066 len += strlen(opts[i]); 1077 for (i = 0; opts[i] != NULL; i++) { 1079 (void) strcat(str, opts[i]); 1109 char **opts; local 1120 opts = mtest_build_opts(&maxerr_idx); 1121 if (opts == NULL) { 1127 subopt = getsubopt(&cp, opts, &value); 1131 hlp = subopt_help_str(opts); 1461 opt_help_str(struct opt_control *opts) argument 1494 process_options( const char *options, struct opt_control *opts, int *retp, char **errstring) argument [all...] |
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.c | 175 static optdesc_t opts = { variable 198 if (opts.o_outpmode & OPT_UDATE) { 200 } else if (opts.o_outpmode & OPT_DDATE) { 251 if (opts.o_outpmode & OPT_USERS) { 258 } else if (opts.o_outpmode & OPT_TASKS) { 262 } else if (opts.o_outpmode & OPT_PROJECTS) { 269 } else if (opts.o_outpmode & OPT_ZONES) { 276 opts.o_outpmode); 287 if (getvmusage(flags, opts.o_interval, NULL, &nres) != 0) 292 ret = getvmusage(flags, opts [all...] |
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rdr_messages.c | 383 rdr_init(int fd, struct sockaddr *addr, int *opts, int num_opts, int blog) argument 393 if ((opts == NULL) || (num_opts < 0)) { 419 if (rdr_setopt(fd, opts[i], SOL_SOCKET) != RDR_OK) {
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | net.c | 68 uint_t opts; member in struct:netstat_cb_data_s 505 uint_t opts = 0; local 512 'p', MDB_OPT_SETBITS, MI_PAYLOAD, &opts, 513 'd', MDB_OPT_SETBITS, MI_DEVICE, &opts, 514 'm', MDB_OPT_SETBITS, MI_MODULE, &opts, 518 if ((opts & (MI_DEVICE | MI_MODULE)) == (MI_DEVICE | MI_MODULE)) { 524 if ((opts == 0) && (DCMD_HDRSPEC(flags))) { 534 if (opts != 0) { 537 if (!(opts & MI_MODULE) && (opts 591 uint_t opts = ncb->opts; local 641 uint_t opts = ncb->opts; local 916 uint_t *opts = cb_data; local 995 uint_t *opts = cb_data; local 1122 uint_t opts = 0; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 1078 struct wordlist *addrs = NULL, *opts = NULL; local 1099 ret = (*pap_auth_hook)(user, passwd, msg, &addrs, &opts); 1102 set_allowed_addrs(unit, addrs, opts); 1115 addrs = opts = NULL; 1123 if (scan_authfile(f, user, our_name, secret, &addrs, &opts, filename) < 0) { 1161 if (opts != NULL) 1162 free_wordlist(opts); 1168 set_allowed_addrs(unit, addrs, opts); 1441 struct wordlist *addrs, *opts; local 1454 i = scan_authfile(f, "", our_name, secret, &addrs, &opts, filenam 1616 struct wordlist *addrs, *opts; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/ |
H A D | mount.c | 386 gettext("Usage: nfs mount [-r] [-o opts] [server:]path dir\n")); 973 char *saveopt, *optstr, *opts, *newopts, *val; local 985 optstr = opts = strdup(mnt->mnt_mntopts); 993 if (opts == NULL || newopts == NULL) { 995 if (opts) 996 free(opts); 1003 while (*opts) { 1005 saveopt = opts; 1006 switch (getsubopt(&opts, optlist, &val)) {
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_subr.c | 656 reqst.opts = fnip->fi_opts; 754 reqst.opts = fnip->fi_opts; 863 if (aargs->opts) 864 kmem_free(aargs->opts, strlen(aargs->opts) + 1); 946 argsp->opts == NULL || argsp->map == NULL || argsp->subdir == NULL) 2569 * opts should be a null ('\0') terminated string. 2573 auto_nobrowse_option(char *opts) argument 2582 len = strlen(opts) + 1; 2584 (void) strcpy(buf, opts); [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 1388 drmach_pre_op(int cmd, drmachid_t id, drmach_opts_t *opts, void *argp) argument 1431 if ((opts->size > 0) && (opts->copts != NULL)) { 1432 if (strstr(opts->copts, ACPIDEV_CMD_OST_PREFIX) == NULL) { 1531 drmach_post_op(int cmd, drmachid_t id, drmach_opts_t *opts, int rv) argument 1533 _NOTE(ARGUNUSED(id, opts, rv)); 1693 drmach_update_acpi_status(drmachid_t id, drmach_opts_t *opts) argument 1710 copts = opts->copts; 1728 return (drerr_new(0, EX86_UNKPTCMD, opts->copts)); 1734 return (drerr_new(0, EX86_UNKPTCMD, opts 1775 drmach_passthru(drmachid_t id, drmach_opts_t *opts) argument 2388 drmach_board_test(drmachid_t id, drmach_opts_t *opts, int force) argument 2413 drmach_board_connect(drmachid_t id, drmach_opts_t *opts) argument 2447 drmach_board_disconnect(drmachid_t id, drmach_opts_t *opts) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | optget.c | 936 p->opts = s; 2142 char* opts = (char*)oopts; local 2184 if (!(opts = sfstruse(sp_help))) 2188 if (opts) 2191 if (opt_info.state->pass[i].oopts == opts) 2199 if (init((char*)opts, o)) 2267 p = q->opts; 3332 if (!(opts = sfstruse(sp_help))) 3723 optusage(const char* opts) argument 3725 return opthelp(opts, Ni 3893 char* opts; local 5190 optstr(const char* str, const char* opts) argument [all...] |