/illumos-gate/usr/src/cmd/hotplug/ |
H A D | hotplug.c | 250 int opt; local 254 while ((opt = getopt_clip(argc, argv, "lv", list_opts, NULL)) != -1) { 255 switch (opt) { 263 bad_option(opt, optopt, usage_str); 791 int opt, rv; local 795 while ((opt = getopt_clip(argc, argv, "fqs:", changestate_opts, 797 switch (opt) { 811 bad_option(opt, optopt, usage_str); 862 int opt; local 869 while ((opt 899 int opt; local 928 int opt; local 973 bad_option(int opt, int optopt, const char *usage_str) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 583 Isa_opt *opt = isa->isa_opt; local 585 if ((nlen += opt->isa_namesz) < PATH_MAX) { 586 (void) strncpy(nptr, opt->isa_name, 587 opt->isa_namesz); 588 nptr = nptr + opt->isa_namesz; 603 isa->isa_listsz - opt->isa_namesz + 609 for (no = 1, opt++; no < isa->isa_optno; 610 no++, opt++) { 615 opt->isa_name, 616 opt [all...] |
/illumos-gate/usr/src/cmd/krb5/slave/ |
H A D | kprop.c | 212 krb5_get_init_creds_opt opt; local 331 (void) memset(&opt, 0, sizeof (opt)); 332 krb5_get_init_creds_opt_init(&opt); 340 keytab, 0, svcname, &opt);
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldmad.c | 643 int opt; local 651 while ((opt = getopt(argc, argv, "ds")) != EOF) { 653 switch (opt) {
|
/illumos-gate/usr/src/cmd/ptools/ppriv/ |
H A D | ppriv.c | 75 int opt; local 86 while ((opt = getopt(argc, argv, "lDMNPevs:xS")) != EOF) { 87 switch (opt) {
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_upgrade.c | 622 char opt[10]; local 628 (void) snprintf(opt, sizeof (opt), "%d", root_opt); 630 grubroot, opt)); 696 "opt: %d\n", fcn, entry->entryNum));
|
/illumos-gate/usr/src/cmd/boot/installboot/sparc/ |
H A D | installboot.c | 857 int opt; local 866 while ((opt = getopt(argc, argv, "F:efiVMndhu:")) != EOF) { 867 switch (opt) {
|
/illumos-gate/usr/src/lib/madv/common/ |
H A D | madv.c | 308 int opt; local 312 opt = getsubopt(&optstr, legal_optstr, &value); 313 if (opt < 0) { 334 switch (opt) {
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | client_init.c | 260 sndcall.opt.len = sndcall.udata.len = 0; 595 krb5_get_init_creds_opt opt; local 843 memset(&opt, 0, sizeof (opt)); 844 krb5_get_init_creds_opt_init(&opt); 852 krb5_get_init_creds_opt_set_tkt_life(&opt, 872 server, &opt); 882 server, &opt);
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | scfutil.c | 1819 sa_optionset_t opt; local 1836 for (opt = sa_get_optionset(resource, NULL); 1837 opt != NULL; opt = sa_get_next_optionset(resource)) { 1838 proto = sa_get_optionset_attr(opt, "type"); 1864 sa_optionset_t opt; local 1887 for (opt = sa_get_optionset(share, NULL); 1888 opt != NULL; 1889 opt = sa_get_next_optionset(opt)) { [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | nbns_rq.c | 516 int opt = 1, s; local 523 if (setsockopt(s, SOL_SOCKET, SO_BROADCAST, &opt, 524 sizeof (opt)) < 0) 528 (void) setsockopt(s, SOL_SOCKET, SO_MAC_EXEMPT, &opt, 529 sizeof (opt));
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_options.c | 165 const char *opt = (const char *)option; local 167 if (opt == NULL || arg == NULL) 173 len = strlen(opt) + strlen(arg) + 1; 176 (void) strcpy(buf, opt); 899 dof_optdesc_t *opt = (dof_optdesc_t *)(uintptr_t) local 902 if (opt->dofo_strtab != DOF_SECIDX_NONE) 905 if (opt->dofo_option >= DTRACEOPT_MAX) 908 dtp->dt_options[opt->dofo_option] = opt->dofo_value; 1016 dtrace_getopt(dtrace_hdl_t *dtp, const char *opt, dtrace_optval_ argument 1045 dtrace_setopt(dtrace_hdl_t *dtp, const char *opt, const char *val) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet_sundry.c | 908 struct opthdr *opt; local 971 opt = (struct opthdr *)reqbuf; 973 opt->level = IPPROTO_TCP; 974 opt->name = TCP_ANONPRIVBIND; 976 opt->level = IPPROTO_UDP; 977 opt->name = UDP_ANONPRIVBIND; 984 opt->len = sizeof (int); 986 req.opt.len = sizeof (struct opthdr) + opt->len; 987 req.opt [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_dg.c | 171 su->su_tudata.opt.buf = (char *)su->opts; 173 su->su_tudata.opt.maxlen = MAX_OPT_WORDS * sizeof (int) + ucred_sz; 260 su->su_tudata.opt.buf = (char *)su->opts; 262 su->su_tudata.opt.maxlen = MAX_OPT_WORDS * sizeof (int) + ucred_sz; 286 const struct T_opthdr *opt; local 289 while (len >= sizeof (*opt)) { 291 opt = (const struct T_opthdr *)cp; 292 olen = opt->len; 293 if (olen > len || olen < sizeof (*opt) || 296 if (opt 312 set_src_addr(SVCXPRT *xprt, struct netbuf *opt) argument [all...] |
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | client.c | 68 int sockfd, opt, herrno; local 86 opt = 1; 87 if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, (char *)&opt, 88 sizeof (opt)) < 0) {
|
/illumos-gate/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 715 opterr_exit(int opt, int opterr, const char *use) argument 719 err_exit("option '-%c' requires a value\nusage: %s", opt, 724 err_exit("unrecognized option '-%c'\nusage: %s", opt, 764 int opt; local 776 switch ((opt = getsubopt(&opts, myopts, &value))) { 783 *preempt = (opt == o_preempt); 791 *accept = (opt == o_accept);
|
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | pgrep.c | 340 parse_ids(idtab_t *idt, char *arg, int base, int opt, idkey_t zero) argument 353 opt, ptr);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rtquery.c | 769 void *opt; local 777 if ((opt = find_ancillary(msg, IP_RECVIF)) == NULL) 782 ifindex = *(uint_t *)opt;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetadm/ |
H A D | inetadm.c | 981 int opt; local 1002 while ((opt = getopt(argc, argv, "ledpMm?")) != -1) { 1003 switch (opt) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ospf6.h | 97 uint32_t opt; member in union:lsa6::__anon319::llsa::__anon324 100 #define llsa_options llsa_priandopt.opt 133 uint32_t opt; member in union:ospf6hdr::__anon326::__anon327::__anon328 136 #define hello6_options hello_priandopt.opt
|
/illumos-gate/usr/src/cmd/coreadm/ |
H A D | coreadm.c | 137 int opt; local 157 while ((opt = getopt(argc, argv, "g:G:i:I:p:P:e:d:uU?")) != EOF) { 158 switch (opt) { 194 if (opt == 'e')
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | add_drv.c | 90 int opt; local 134 while ((opt = getopt(argc, argv, "vfm:ni:b:c:p:P:u")) != EOF) { 135 switch (opt) {
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/ |
H A D | etm_xport_api_dd.c | 1348 etm_xport_get_opt(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_xport_opt_t opt) argument 1366 op_ctl.oo_opt = opt; 1371 if (opt == ETM_XPORT_OPT_MTU_SZ) {
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | auto_subr.c | 459 * Returns zero if "opt" is found in mnt->mnt_opts, setting 460 * *sval to whatever follows the equal sign after "opt". 462 * "opt" plus a terminating null character and returns it as *sval. 464 * *sval will be equal to NULL upon return if either "opt=" is not found, 465 * or "opt=" has no value associated with it. 470 str_opt(struct mnttab *mnt, char *opt, char **sval) argument 475 * is "opt" in the options field? 477 if (str = hasmntopt(mnt, opt)) { 478 str += strlen(opt);
|
/illumos-gate/usr/src/cmd/avs/nsctl/ |
H A D | nskernd.c | 324 char *mst, *shd, *bmp, *mode, *ovr, *cnode, *opt, *grp; local 390 opt = strtok(NULL, " "); 400 if (opt && strcmp(opt, "-") != 0) { 402 opt = strtok(opt, ";"); 403 while (opt) { 404 if (strncmp(opt, NSKERN_II_BMP_OPTION, 407 (void) strcat(newflags, opt);
|