Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c246 char **optlist; member
363 if (optlist == NULL) { in main()
489 optlist, in main()
548 clientopts_free(optlist); in main()
559 (optlist->adminDN || optlist->adminPassword)) { in main()
565 clientopts_free(optlist); in main()
573 clientopts_free(optlist); in main()
581 dumpargs(optlist); in main()
639 clientopts_free(optlist); in main()
3119 list->optlist = (char **)realloc(list->optlist, in multival_add()
[all …]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dshareutil.c46 struct options *newopt, *tmp, *optlist; in add_opt() local
50 optlist = *optlistp; in add_opt()
71 if (optlist == NULL) { in add_opt()
72 optlist = newopt; in add_opt()
74 for (tmp = optlist; tmp->next != NULL; in add_opt()
90 *optlistp = optlist; in add_opt()
H A Dcommands.c721 for (optlist = optlistp; optlist != NULL; optlist = optlist->next) { in chk_opt()
776 free(optlist); in free_opt()
777 optlist = nextopt; in free_opt()
899 optlist = optlist->next; in add_optionset()
1295 if (optlist != NULL) in sa_create()
1401 free_opt(optlist); in sa_create()
3608 optlist = optlist->next; in add_security()
3767 free_opt(optlist); in basic_set()
4182 optlist = optlist->next; in remove_security()
4304 free_opt(optlist); in basic_unset()
[all …]
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c124 struct options *optlist = NULL; in sc_get() local
135 ret = add_opt(&optlist, optarg, 1); in sc_get()
171 if (optlist == NULL) { in sc_get()
217 for (opt = optlist; opt != NULL; opt = opt->next) { in sc_get()
269 struct options *optlist = NULL; in sc_set() local
280 ret = add_opt(&optlist, optarg, 0); in sc_set()
316 if (optlist == NULL) { in sc_set()
326 for (opt = optlist; opt != NULL; opt = opt->next) { in sc_set()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c55 static char *optlist[] = { variable
116 switch (getsubopt(&p, optlist, &val)) { in export()
139 switch (getsubopt(&p, optlist, &val)) { in export()
H A Dmountd.c2070 static char *optlist[] = { variable
2129 if (getsubopt(&p, optlist, &val) == OPT_SEC) { in newopts()
2172 switch (getsubopt(&p, optlist, &val)) { in getclientsflavors_old()
2238 switch (getsubopt(&p, optlist, &val)) { in getclientsflavors_new()
2464 switch (getsubopt(&p, optlist, &val)) { in check_client_old()
2822 switch (getsubopt(&p, optlist, &val)) { in check_client_new()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c150 uchar_t optlist[MAX_IPOPTLEN]; in set_IPv4opt_sourcerouting() local
168 optlist[0] = IPOPT_NOP; in set_IPv4opt_sourcerouting()
170 srp = (struct ip_sourceroute *)&optlist[1]; in set_IPv4opt_sourcerouting()
181 if (setsockopt(sndsock, pe->p_proto, IP_OPTIONS, (const char *)optlist, in set_IPv4opt_sourcerouting()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c168 getshareopt(char *optlist, char *opt) in getshareopt() argument
176 b = bb = strdup(optlist); in getshareopt()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c76 const char * const optlist[] = { variable
435 for (index = 0; optlist[index] != NULL; index++) { in setsubopt()
436 if (strcmp(subopt, optlist[index]) == 0) in setsubopt()
/illumos-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()
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dlibfsmgt.h662 char *fs_parse_optlist_for_option(char *optlist, char *opt,
H A Dfs_mounts.c426 fs_parse_optlist_for_option(char *optlist, char *opt, int *errp) { in fs_parse_optlist_for_option() argument
433 optlist_copy = strdup(optlist); in fs_parse_optlist_for_option()
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dmount.c532 static char *optlist[] = { variable
667 switch (getsubopt(&opts, optlist, &val)) { in boot_nfs_mountroot()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h239 void *optlist; \
/illumos-gate/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh86 typeset opt optlist
88 optlist='cdf'
90 while getopts ":$optlist" opt
/illumos-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; }
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dxec.c2261 void *optlist = shp->optlist; in sh_exec() local
2262 shp->optlist = 0; in sh_exec()
2371 sh_optclear(shp,optlist); in sh_exec()
2395 void *optlist = shp->optlist; in sh_exec() local
2423 shp->optlist = 0; in sh_exec()
2470 sh_optclear(shp,optlist); in sh_exec()
H A Dname.c2747 op->next = (struct optimize*)shp->optlist; in nv_optimize()
2748 shp->optlist = (void*)op; in nv_optimize()
2757 for(op=(struct optimize*)shp->optlist; op; op = opnext) in sh_optclear()
2768 shp->optlist = old; in sh_optclear()
/illumos-gate/usr/src/tools/scripts/
H A Dwsdiff.py400 optlist, args = getopt.getopt(sys.argv[1:], validOpts)
407 for opt,val in optlist :
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c2352 static char *optlist[] = { variable
2559 switch (opt = getsubopt(&opts, optlist, &val)) { in init_mountopts()
2601 optlist[opt]); in init_mountopts()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dfil.c235 const struct optlist ipopts[20] = {
259 struct optlist ip6exthdr[] = {
272 struct optlist tcpopts[] = {
285 const struct optlist secopt[8] = {
1320 const struct optlist *op;
1454 const struct optlist *sp;
/illumos-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()
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_fil.h991 typedef struct optlist { struct