/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | fmtmsg.c | 532 char *opts; /* Pointer to MSGVERB's value */ local 543 if ((opts = getenv(MSGVERB)) == (char *)NULL) { 546 if ((alloced = libc_malloc(strlen(opts) + 1)) == NULL) { 550 nexttok = strcpy(alloced, opts);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | tmplout.c | 51 unsigned long opts, char *urlprefix ); 55 int rdncount, unsigned long opts, char *urlprefix ); 95 unsigned long opts 101 writeproc, writeparm, eol, rdncount, opts, NULL )); 120 unsigned long opts, 132 writeproc, writeparm, eol, rdncount, opts, urlprefix )); 149 unsigned long opts, 191 if (!(( opts & LDAP_DISP_OPT_HTMLBODYONLY ) != 0 )) { 204 if (( opts & LDAP_DISP_OPT_NONLEAF ) != 0 && 250 if ( tmpl != NULL && ( opts 109 ldap_entry2html( LDAP *ld, char *buf, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts, char *base, char *urlprefix ) argument 137 do_entry2text( LDAP *ld, char *buf, char *base, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts, char *urlprefix ) argument 411 ldap_entry2html_search( LDAP *ld, char *dn, char *base, LDAPMessage *entry, struct ldap_disptmpl* tmpllist, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts, char *urlprefix ) argument 435 do_entry2text_search( LDAP *ld, char *dn, char *base, LDAPMessage *entry, struct ldap_disptmpl* tmpllist, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts, char *urlprefix ) argument [all...] |
/illumos-gate/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 137 static int str2opt(char *opts, uint32_t *, boolean_t *, boolean_t *); 757 * Note that "opts" could be modified internally in this function. 760 str2opt(char *opts, uint32_t *modify_mask, boolean_t *preempt, argument 775 while (*opts != '\0') { 776 switch ((opt = getsubopt(&opts, myopts, &value))) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | server.c | 68 static void sendf(char *rname, int opts); 69 static void rmchk(int opts); 197 opts = 0; 199 opts = (opts << 3) | (*cp++ - '0'); 204 install(cp, opts); 233 install(src, dest, destdir, opts) 235 int destdir, opts; 241 opts &= ~WHOLE; /* WHOLE mode only useful if renaming */ 246 printf("%s%s%s%s%s %s %s\n", opts 781 int f, mode, opts, wrerr, olderrno; local 1060 int opts, exists = 0; local 1321 int len, opts; local [all...] |
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cpustat.c | 84 static const struct options *opts = (const struct options *)&__options; variable in typeref:struct:options 101 (void) fprintf(stderr, "%s: ", opts->pgmname); 102 if (opts->debug) 119 struct options *opts = &__options; local 130 if ((opts->pgmname = strrchr(argv[0], '/')) == NULL) 131 opts->pgmname = argv[0]; 133 opts->pgmname++; 141 opts->pgmname, errstr); 147 "counters - %s\n"), opts->pgmname, errstr); 162 opts [all...] |
H A D | cputrack.c | 61 static const struct options *opts = (const struct options *)&__options; variable in typeref:struct:options 75 (void) fprintf(stderr, "%s: ", opts->pgmname); 76 if (opts->debug) 101 struct options *opts = &__options; local 111 if ((opts->pgmname = strrchr(argv[0], '/')) == NULL) 112 opts->pgmname = argv[0]; 114 opts->pgmname++; 119 "counter library - %s\n"), opts->pgmname, errstr); 129 opts->mseconds = 1000; 130 opts [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/ |
H A D | proc_isadep.c | 276 uint_t opts = FPR_MIXED; local 296 's', MDB_OPT_SETBITS, FPR_SINGLE, &opts, 297 'd', MDB_OPT_SETBITS, FPR_DOUBLE, &opts, 298 'q', MDB_OPT_SETBITS, FPR_QUAD, &opts, NULL) != argc) 321 if (is_v9 && opts == FPR_MIXED) { 328 if (is_v8plus && opts == FPR_MIXED) 336 if (opts == FPR_MIXED) { 368 if (opts == FPR_MIXED) { 381 if (opts & FPR_SINGLE) { 388 if (opts [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | auto_subr.c | 90 loadzone_maps(char *mntpnt, char *map, char *opts, char **stack, char ***stkptr) argument 148 dirinit(prepended_mntpnt, appended_map, opts, 0, stack, 177 dirinit(char *mntpnt, char *map, char *opts, int direct, char **stack, argument 207 (void) loaddirect_map(map, map, opts, stack, stkptr); 218 (void) loadzone_maps(mntpnt, map, opts, stack, stkptr); 231 dir->dir_opts = strdup(opts); 434 * Gets the retry=n entry from opts. 439 get_retry(char *opts) argument 445 if (opts == NULL) 448 (void) strcpy(buf, opts); [all...] |
H A D | ns_fnmount.c | 68 * getmapent_fn(char *key, char *map, char *opts, uid_t uid, 82 char *opts, char *root, bool_t shallow, FN_status_t *status); 92 * opts: default mount options 99 char *mntpnt, char *opts, FN_status_t *status); 111 char *mntpnt, const char *name, char *opts, FN_status_t *status); 165 safe_opts(const char *opts); 209 getmapent_fn(char *key, char *map, char *opts, uid_t uid, bool_t shallow, argument 300 process_ref(ref, cname, map, key, opts, root, shallow, status); 310 char *opts, char *root, bool_t shallow, FN_status_t *status) 336 "%s/%s: opts to 309 process_ref(const FN_ref_t *ref, const char *cname, char *map, char *key, char *opts, char *root, bool_t shallow, FN_status_t *status) argument 433 frontier(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen, char *mntpnt, char *opts, FN_status_t *status) argument 498 frontier_aux(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen, char *mntpnt, const char *name, char *opts, FN_status_t *status) argument 681 char *opts; local 695 safe_opts(const char *opts) argument [all...] |
H A D | ns_ldap.c | 541 loaddirect_ldap(char *nsmap, char *localmap, char *opts, argument 554 direct_cbdata.ptr1 = opts; 623 char *key, *contents, *pmap, *opts; local 735 opts = pmap; 736 while (*opts && !isspace(*opts)) 737 opts++; 738 if (*opts) { 739 *opts++ = '\0'; 740 while (*opts 787 char *opts = temp->ptr1; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 98 extern void fssnap_show_status(char *mountpoint, char *opts, int labels, 374 stats_snap(char *mountpath, char *opts) argument 376 fssnap_show_status(mountpath, opts, ((opts != NULL) ? 0 : 1), 0);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/ |
H A D | mount.c | 104 static char opts[MAX_MNTOPT_STR]; variable 185 opts[0] = '\0'; 198 if (strlcpy(opts, optarg, sizeof (opts)) >= 199 sizeof (opts)) { 251 mnt.mnt_mntopts = opts; 261 replace_opts(opts, ro, MNTOPT_RO, MNTOPT_RW); 262 replace_opts(opts, largefiles, MNTOPT_NOLARGEFILES, MNTOPT_LARGEFILES); 263 gflg = replace_opts_dflt(opts, gflg, MNTOPT_GLOBAL, MNTOPT_NOGLOBAL); 267 replace_opts(opts, 418 char *opts = opt; local 660 fixopts(struct mnttab *mnt, char *opts) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 743 char *opts[2]; local 745 opts[0] = opt; 746 opts[1] = NULL; 751 if (getsubopt(&optlist, opts, &value) == 0)
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 773 char *f, *opts; local 782 opts = tmpopts; 783 f = mntopt(&opts); 784 for (; *f; f = mntopt(&opts)) {
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | fork.c | 102 fork_mount(char *path, char *opts) argument 129 (void) execl("/sbin/mount", "mount", "-o", opts, path, NULL);
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_socket.c | 822 short opts; local 874 opts = 0; 876 opts |= SO_OOBINLINE; 878 opts |= SO_DONTROUTE; 887 (struct sockaddr *)&faddr, faddrlen, opts); 1033 /* The eager will deal with opts when accept() is called */
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_srv.c | 104 pkinit_plg_opts *opts, 119 req_cryptoctx, id_cryptoctx, opts, e_data); 183 plgctx->opts->allow_upn ? &upns : NULL, 295 if (plgctx->opts->require_eku == 0) { 305 plgctx->opts->accept_secondary_eku, 392 plgctx->opts->require_crl_checking, 413 plgctx->opts->require_crl_checking, 467 plgctx->opts->dh_min_bits); 548 plgctx->opts->dh_min_bits); 633 plgctx->idctx, plgctx->opts, retva 100 pkinit_create_edata(krb5_context context, pkinit_plg_crypto_context plg_cryptoctx, pkinit_req_crypto_context req_cryptoctx, pkinit_identity_crypto_context id_cryptoctx, pkinit_plg_opts *opts, krb5_error_code err_code, krb5_data **e_data) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | mime.c | 550 expand(Mime_t* mp, register char* s, const char* name, const char* type, const char* opts) argument 576 if (*s && (c = s++ - t) && (pp.next = (char*)opts)) 597 * return expanded command/path/value for <view,name,type,opts> 602 mimeview(Mime_t* mp, const char* view, const char* name, const char* type, const char* opts) argument 616 if (s = expand(mp, s, name, type, opts)) 698 return expand(mp, att->value, name, type, opts);
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | main.c | 47 #include "opts.h" 56 static void dologname(struct fn *fnp, struct opts *clopts); 57 static boolean_t rotatelog(struct fn *fnp, struct opts *opts); 58 static void rotateto(struct fn *fnp, struct opts *opts, int n, 61 static void expirefiles(struct fn *fnp, struct opts *opts); 62 static void dorm(struct opts *opts, cons 410 struct opts *opts = (struct opts *)arg; local 432 struct opts *opts = (struct opts *)arg; local 573 rotatelog(struct fn *fnp, struct opts *opts) argument 779 rotateto(struct fn *fnp, struct opts *opts, int n, struct fn *recentlog, boolean_t isgz) argument 857 expirefiles(struct fn *fnp, struct opts *opts) argument 982 dorm(struct opts *opts, const char *msg, struct fn *fnp) argument 1001 docmd(struct opts *opts, const char *msg, const char *cmd, const char *arg1, const char *arg2, const char *arg3) argument 1103 docopytruncate(struct opts *opts, const char *file, const char *file_copy) argument [all...] |
H A D | conf.c | 45 #include "opts.h" 50 struct opts *opts, const char *com, int flags); 79 struct opts *cf_opts; /* parsed rhs of entry */ 94 struct opts *opts, const char *com, int flags) 101 cp->cf_opts = opts; 194 struct opts *opts = NULL; local 287 opts 93 fillconflist(int lineno, const char *entry, struct opts *opts, const char *com, int flags) argument 450 conf_close(struct opts *opts) argument 687 struct opts *opts; local [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.h | 74 #define ap_getopt(a, o) ((a)->opts.flags & ((uint_t)1 << (o))) 75 #define ap_setopt(a, o) ((a)->opts.flags |= ((uint_t)1 << (o))) 118 ap_opts_t opts; member in struct:__anon2411
|
H A D | ap_sbd.c | 495 ap_opts_t *opts; local 497 opts = &a->opts; 506 if (opts->platform == NULL) 522 ap_err(a, ERR_OPT_INVAL, opts->platform); 579 ctl->i_opts = a->opts.platform; 687 ap_opts_t *opts; local 690 opts = &a->opts; 691 err = opts [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 719 * Add share with local opts via zfs_notinherited. 932 char *opts = NULL; local 938 opts = sa_proto_legacy_format("nfs", group, 1); 939 if (opts != NULL && strlen(opts) == 0) { 940 free(opts); 941 opts = strdup("on"); 955 opts != NULL ? opts : "off", dataset); 963 if (opts ! 1043 char *opts = NULL; local [all...] |
/illumos-gate/usr/src/lib/libeti/form/inc/ |
H A D | form.h | 93 OPTIONS opts; /* options */ member in struct:fieldnode 123 OPTIONS opts; /* options */ member in struct:formnode
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.c | 506 vs_options_t *opts = &ctx->vsc_options; local 508 if (opts->vso_xfer_how == VS_PREVIEW_NONE) 515 switch (opts->vso_xfer_how) { 522 opts->vso_xfer_complete); 528 opts->vso_xfer_preview);
|