Searched defs:newopt (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dshareutil.c48 struct options *newopt, *tmp, *optlist; local
53 newopt = (struct options *)malloc(sizeof (struct options));
54 if (newopt == NULL)
62 free(newopt);
70 newopt->optname = optname;
71 newopt->optvalue = optvalue;
72 newopt->next = NULL;
74 optlist = newopt;
85 free(newopt);
89 tmp->next = newopt;
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c981 char *newopt = NULL; local
985 newopt = strdup(opt);
986 if (newopt == NULL)
987 return (newopt);
997 free(newopt);
1001 newopt = calloc(1, size);
1002 if (newopt != NULL)
1003 (void) snprintf(newopt, size, "%s,name=%s", opt, name);
1006 opt = newopt;
1013 newopt
1049 char *newopt; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dinit.c207 register int newopt=0; local
216 newopt=SH_VI;
218 newopt=SH_GMACS;
220 newopt=SH_EMACS;
221 if(newopt)
226 sh_onoption(newopt);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c1666 struct option_state *newopt; local
1743 newopt = organize_state(&pstate);
1746 if (newopt == NULL && glob_svc.se_log != NULL) {
1766 if (newopt != NULL) {
1767 newdep = newopt->os_devices;
1768 newmax = newdep + newopt->os_ndevices;
1827 cur_options = newopt;

Completed in 94 milliseconds