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

/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dshareutil.c40 * add_opt(optlist, optarg, security?)
48 struct options *newopt, *tmp, *optlist; local
52 optlist = *optlistp;
73 if (optlist == NULL) {
74 optlist = newopt;
76 for (tmp = optlist; tmp->next != NULL;
92 *optlistp = optlist;
H A Dcommands.c703 * Do a sanity check on the optlist provided for the protocol. This
711 struct options *optlist; local
716 for (optlist = optlistp; optlist != NULL; optlist = optlist->next) {
719 optname = optlist->optname;
762 * free_opt(optlist)
766 free_opt(struct options *optlist) argument
769 while (optlist !
781 valid_options(sa_handle_t handle, struct options *optlist, char *proto, void *object, char *sec) argument
823 add_optionset(sa_group_t group, struct options *optlist, char *proto, int *err) argument
1195 struct options *optlist = NULL; local
3533 add_security(sa_group_t group, char *sectype, struct options *optlist, char *proto, int *err) argument
3672 basic_set(sa_handle_t handle, char *groupname, struct options *optlist, char *protocol, char *sharepath, char *rsrcname, int dryrun) argument
3791 space_set(sa_handle_t handle, char *groupname, struct options *optlist, char *protocol, char *sharepath, int dryrun, char *sectype) argument
3891 struct options *optlist = NULL; local
4047 remove_options(sa_group_t group, struct options *optlist, char *proto, int *err) argument
4084 valid_unset(sa_group_t group, struct options *optlist, char *proto) argument
4114 valid_unset_security(sa_group_t group, struct options *optlist, char *proto, char *sectype) argument
4152 remove_security(sa_group_t group, char *sectype, struct options *optlist, char *proto, int *err) argument
4198 basic_unset(sa_handle_t handle, char *groupname, struct options *optlist, char *protocol, char *sharepath, char *rsrcname, int dryrun) argument
4321 space_unset(sa_handle_t handle, char *groupname, struct options *optlist, char *protocol, char *sharepath, int dryrun, char *sectype) argument
4426 struct options *optlist = NULL; local
[all...]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c245 char **optlist; member in struct:__anon730
296 static int clientSetParam(clientopts_t *optlist, int paramFlag, char *attrVal);
333 clientopts_t *optlist = NULL; local
361 optlist = clientopts_new();
362 if (optlist == NULL) {
364 gettext("Error getting optlist (malloc fail)\n"),
392 optlist->proxyPassword != NULL) {
400 optlist->adminPassword != NULL) {
407 retcode = clientSetParam(optlist, paramFlag, attrVal);
419 optlist
3388 clientSetParam(clientopts_t *optlist, int paramFlag, char *attrVal) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c57 static char *optlist[] = { variable
118 switch (getsubopt(&p, optlist, &val)) {
141 switch (getsubopt(&p, optlist, &val)) {
H A Dmountd.c1939 static char *optlist[] = { variable
1998 if (getsubopt(&p, optlist, &val) == OPT_SEC) {
2041 switch (getsubopt(&p, optlist, &val)) {
2107 switch (getsubopt(&p, optlist, &val)) {
2333 switch (getsubopt(&p, optlist, &val)) {
2691 switch (getsubopt(&p, optlist, &val)) {
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c124 struct options *optlist = NULL; local
135 ret = add_opt(&optlist, optarg, 1);
171 if (optlist == NULL) {
216 for (opt = optlist; opt != NULL; opt = opt->next) {
268 struct options *optlist = NULL; local
279 ret = add_opt(&optlist, optarg, 0);
315 if (optlist == NULL) {
325 for (opt = optlist; opt != NULL; opt = opt->next) {
/illumos-gate/usr/src/cmd/rexd/
H A Dsharetab.c155 * in option string "optlist".
158 getshareopt(char *optlist, char *opt) argument
166 b = bb = strdup(optlist);
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c164 * in option string "optlist". Caller must
168 getshareopt(char *optlist, char *opt) argument
176 b = bb = strdup(optlist);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c152 uchar_t optlist[MAX_IPOPTLEN]; local
170 optlist[0] = IPOPT_NOP;
172 srp = (struct ip_sourceroute *)&optlist[1];
183 if (setsockopt(sndsock, pe->p_proto, IP_OPTIONS, (const char *)optlist,
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c76 const char * const optlist[] = { variable
426 for (index = 0; optlist[index] != NULL; index++) {
427 if (strcmp(subopt, optlist[index]) == 0)
433 * point to the NULL at the end of optlist[],
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dlibfsmgt.h646 * This method will parse the given comma delimited option list (optlist) for
654 * char *optlist - The option string to be parsed
664 char *fs_parse_optlist_for_option(char *optlist, char *opt,
H A Dfs_mounts.c410 * This method will parse the given comma delimited option list (optlist) for
417 * If the option is found in the given optlist, the function will return the
419 * If the option is not found in the given optlist, the function will return
428 fs_parse_optlist_for_option(char *optlist, char *opt, int *errp) { argument
435 optlist_copy = strdup(optlist);
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c737 * Return 1 if opt appears in optlist
740 hasopt(char *opt, char *optlist) argument
748 if (optlist == NULL)
750 while (*optlist != '\0') {
751 if (getsubopt(&optlist, opts, &value) == 0)
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dmount.c534 static char *optlist[] = { variable
669 switch (getsubopt(&opts, optlist, &val)) {
/illumos-gate/usr/src/lib/libshell/common/include/
H A Ddefs.h208 void *optlist; \
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dxec.c1597 void *optlist = shp->optlist; local
1598 shp->optlist = 0;
1698 sh_optclear(shp,optlist);
1722 void *optlist = shp->optlist; local
1723 shp->optlist = 0;
1778 sh_optclear(shp,optlist);
H A Dname.c2407 op->next = (struct optimize*)sh.optlist;
2408 sh.optlist = (void*)op;
2417 for(op=(struct optimize*)shp->optlist; op; op = opnext)
2428 shp->optlist = old;
/illumos-gate/usr/src/tools/scripts/
H A Dwsdiff.py362 optlist, args = getopt.getopt(sys.argv[1:], validOpts)
369 for opt,val in 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: label
1323 | optlist ',' opt { $$ |= $1 | $3; }
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c2289 static char *optlist[] = { variable
2496 switch (opt = getsubopt(&opts, optlist, &val)) {
2538 optlist[opt]);
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dfil.c234 const struct optlist ipopts[20] = {
258 struct optlist ip6exthdr[] = {
271 struct optlist tcpopts[] = {
284 const struct optlist secopt[8] = {
1319 const struct optlist *op;
1453 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)) {
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_fil.h985 typedef struct optlist { struct

Completed in 161 milliseconds