Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c245 char **optlist; member
296 static int clientSetParam(clientopts_t *optlist, int paramFlag, char *attrVal);
333 clientopts_t *optlist = NULL; in main() local
361 optlist = clientopts_new(); in main()
362 if (optlist == NULL) { in main()
392 optlist->proxyPassword != NULL) { in main()
400 optlist->adminPassword != NULL) { in main()
407 retcode = clientSetParam(optlist, paramFlag, attrVal); in main()
419 optlist->bindDN = strdup(optarg); in main()
422 if (optlist->bindPasswd != NULL) { in main()
[all …]
/titanic_44/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.c711 struct options *optlist; in chk_opt() local
716 for (optlist = optlistp; optlist != NULL; optlist = optlist->next) { in chk_opt()
719 optname = optlist->optname; in chk_opt()
766 free_opt(struct options *optlist) in free_opt() argument
769 while (optlist != NULL) { in free_opt()
770 nextopt = optlist->next; in free_opt()
771 free(optlist); in free_opt()
772 optlist = nextopt; in free_opt()
781 valid_options(sa_handle_t handle, struct options *optlist, char *proto, in valid_options() argument
796 for (cur = optlist; cur != NULL; cur = cur->next) { in valid_options()
[all …]
/titanic_44/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c123 struct options *optlist = NULL; in sc_get() local
134 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()
314 if (optlist == NULL) { in sc_set()
324 for (opt = optlist; opt != NULL; opt = opt->next) { in sc_set()
/titanic_44/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.c1919 static char *optlist[] = { variable
1978 if (getsubopt(&p, optlist, &val) == OPT_SEC) { in newopts()
2021 switch (getsubopt(&p, optlist, &val)) { in getclientsflavors_old()
2087 switch (getsubopt(&p, optlist, &val)) { in getclientsflavors_new()
2313 switch (getsubopt(&p, optlist, &val)) { in check_client_old()
2671 switch (getsubopt(&p, optlist, &val)) { in check_client_new()
/titanic_44/usr/src/cmd/rexd/
H A Dsharetab.c158 getshareopt(char *optlist, char *opt) in getshareopt() argument
166 b = bb = strdup(optlist); in getshareopt()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c76 const char * const optlist[] = { variable
426 for (index = 0; optlist[index] != NULL; index++) { in setsubopt()
427 if (strcmp(subopt, optlist[index]) == 0) in setsubopt()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/stand/lib/fs/nfs/
H A Dmount.c534 static char *optlist[] = { variable
669 switch (getsubopt(&opts, optlist, &val)) { in boot_nfs_mountroot()
/titanic_44/usr/src/lib/libshell/common/include/
H A Ddefs.h208 void *optlist; \
/titanic_44/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()
/titanic_44/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh86 typeset opt optlist
88 optlist='cdf'
90 while getopts ":$optlist" opt
/titanic_44/usr/src/tools/scripts/
H A Dwsdiff.py362 optlist, args = getopt.getopt(sys.argv[1:], validOpts)
369 for opt,val in optlist :
/titanic_44/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; }
/titanic_44/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()
/titanic_44/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;
/titanic_44/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c852 static char *optlist[] = { variable
1006 switch (getsubopt(&opts, optlist, &val)) { in set_args()
/titanic_44/usr/src/uts/common/inet/ipf/netinet/
H A Dip_fil.h990 typedef struct optlist { struct