Home
last modified time | relevance | path

Searched refs:optlist (Results 1 – 25 of 26) sorted by relevance

12

/onnv-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c244 char **optlist; member
295 static int clientSetParam(clientopts_t *optlist, int paramFlag, char *attrVal);
332 clientopts_t *optlist = NULL; in main() local
360 optlist = clientopts_new(); in main()
361 if (optlist == NULL) { in main()
391 optlist->proxyPassword != NULL) { in main()
399 optlist->adminPassword != NULL) { in main()
406 retcode = clientSetParam(optlist, paramFlag, attrVal); in main()
418 optlist->bindDN = strdup(optarg); in main()
421 if (optlist->bindPasswd != NULL) { in main()
[all …]
/onnv-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dshareutil.c48 struct options *newopt, *tmp, *optlist; in add_opt() local
52 optlist = *optlistp; in add_opt()
73 if (optlist == NULL) { in add_opt()
74 optlist = newopt; in add_opt()
76 for (tmp = optlist; tmp->next != NULL; in add_opt()
92 *optlistp = optlist; in add_opt()
H A Dcommands.c706 struct options *optlist; in chk_opt() local
711 for (optlist = optlistp; optlist != NULL; optlist = optlist->next) { in chk_opt()
714 optname = optlist->optname; in chk_opt()
761 free_opt(struct options *optlist) in free_opt() argument
764 while (optlist != NULL) { in free_opt()
765 nextopt = optlist->next; in free_opt()
766 free(optlist); in free_opt()
767 optlist = nextopt; in free_opt()
776 valid_options(sa_handle_t handle, struct options *optlist, char *proto, in valid_options() argument
791 for (cur = optlist; cur != NULL; cur = cur->next) { in valid_options()
[all …]
/onnv-gate/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c122 struct options *optlist = NULL; in sc_get() local
133 ret = add_opt(&optlist, optarg, 1); in sc_get()
170 if (optlist == NULL) { in sc_get()
215 for (opt = optlist; opt != NULL; opt = opt->next) { in sc_get()
267 struct options *optlist = NULL; in sc_set() local
278 ret = add_opt(&optlist, optarg, 0); in sc_set()
315 if (optlist == NULL) { in sc_set()
325 for (opt = optlist; opt != NULL; opt = opt->next) { in sc_set()
/onnv-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c57 static char *optlist[] = { variable
118 switch (getsubopt(&p, optlist, &val)) { in export()
141 switch (getsubopt(&p, optlist, &val)) { in export()
H A Dmountd.c1940 static char *optlist[] = { variable
1995 if (getsubopt(&p, optlist, &val) == OPT_SEC) { in newopts()
2039 switch (getsubopt(&p, optlist, &val)) { in getclientsflavors_old()
2107 switch (getsubopt(&p, optlist, &val)) { in getclientsflavors_new()
2197 switch (getsubopt(&p, optlist, &val)) { in check_client_old()
2363 switch (getsubopt(&p, optlist, &val)) { in check_client_new()
/onnv-gate/usr/src/cmd/rexd/
H A Dsharetab.c158 getshareopt(char *optlist, char *opt) in getshareopt() argument
166 b = bb = strdup(optlist); in getshareopt()
/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c152 uchar_t optlist[MAX_IPOPTLEN]; in set_IPv4opt_sourcerouting() local
170 optlist[0] = IPOPT_NOP; in set_IPv4opt_sourcerouting()
172 srp = (struct ip_sourceroute *)&optlist[1]; in set_IPv4opt_sourcerouting()
183 if (setsockopt(sndsock, pe->p_proto, IP_OPTIONS, (const char *)optlist, in set_IPv4opt_sourcerouting()
/onnv-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c166 getshareopt(char *optlist, char *opt) in getshareopt() argument
174 b = bb = strdup(optlist); in getshareopt()
/onnv-gate/usr/src/cmd/itutools/
H A Ditu.ksh131 typeset opt optlist
134 makedu) optlist='d:fl:o:r:v' ;;
135 patchmedia) optlist='fl:o:R:v' ;;
136 makeiso) optlist='fl:o:v' ;;
139 while getopts ":$optlist" opt
/onnv-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c75 const char * const optlist[] = { variable
429 for (index = 0; optlist[index] != NULL; index++) { in setsubopt()
430 if (strcmp(subopt, optlist[index]) == 0) in setsubopt()
/onnv-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c740 hasopt(char *opt, char *optlist) in hasopt() argument
748 if (optlist == NULL) in hasopt()
750 while (*optlist != '\0') { in hasopt()
751 if (getsubopt(&optlist, opts, &value) == 0) in hasopt()
/onnv-gate/usr/src/lib/libfsmgt/common/
H A Dlibfsmgt.h664 char *fs_parse_optlist_for_option(char *optlist, char *opt,
H A Dfs_mounts.c428 fs_parse_optlist_for_option(char *optlist, char *opt, int *errp) { in fs_parse_optlist_for_option() argument
435 optlist_copy = strdup(optlist); in fs_parse_optlist_for_option()
/onnv-gate/usr/src/stand/lib/fs/nfs/
H A Dmount.c534 static char *optlist[] = { variable
669 switch (getsubopt(&opts, optlist, &val)) { in boot_nfs_mountroot()
/onnv-gate/usr/src/lib/libshell/common/include/
H A Ddefs.h208 void *optlist; \
/onnv-gate/usr/src/lib/libshell/common/sh/
H A Dxec.c1597 void *optlist = shp->optlist; in sh_exec() local
1598 shp->optlist = 0; in sh_exec()
1698 sh_optclear(shp,optlist); in sh_exec()
1722 void *optlist = shp->optlist; in sh_exec() local
1723 shp->optlist = 0; in sh_exec()
1778 sh_optclear(shp,optlist); in sh_exec()
H A Dname.c2407 op->next = (struct optimize*)sh.optlist; in nv_optimize()
2408 sh.optlist = (void*)op; in nv_optimize()
2417 for(op=(struct optimize*)shp->optlist; op; op = opnext) in sh_optclear()
2428 shp->optlist = old; in sh_optclear()
/onnv-gate/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh85 typeset opt optlist
87 optlist='cdf'
89 while getopts ":$optlist" opt
/onnv-gate/usr/src/cmd/beadm/
H A Dbeadm.py589 optlist, args = getopt.getopt(opts, "f")
594 for opt, arg in optlist:
/onnv-gate/usr/src/tools/scripts/
H A Dwsdiff.py362 optlist, args = getopt.getopt(sys.argv[1:], validOpts)
369 for opt,val in optlist :
/onnv-gate/usr/src/cmd/ipf/tools/
H A Dipf_y.y105 %type <num> opt compare range opttype flagset optlist ipv6hdrlist ipv6hdr
1315 ipopts: optlist { DOALL(fr->fr_mip.fi_optmsk |= $1;
1321 optlist:
1323 | optlist ',' opt { $$ |= $1 | $3; }
/onnv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c2289 static char *optlist[] = { variable
2496 switch (opt = getsubopt(&opts, optlist, &val)) { in init_mountopts()
2538 optlist[opt]); in init_mountopts()
/onnv-gate/usr/src/uts/common/inet/ipf/
H A Dfil.c229 const struct optlist ipopts[20] = {
253 struct optlist ip6exthdr[] = {
266 struct optlist tcpopts[] = {
279 const struct optlist secopt[8] = {
1314 const struct optlist *op;
1448 const struct optlist *sp;
/onnv-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c852 static char *optlist[] = { variable
1006 switch (getsubopt(&opts, optlist, &val)) { in set_args()

12