Lines Matching defs:opt
571 * some options may only be on shares. If the opt
973 * add_resources(share, opt)
975 * Add resource properties to those in "opt". Resources are prefixed
979 add_resources(sa_share_t share, char *opt)
985 newopt = strdup(opt);
1000 size = strlen(name) + strlen(opt) + sizeof ("name=") + 1;
1003 (void) snprintf(newopt, size, "%s,name=%s", opt, name);
1005 free(opt);
1006 opt = newopt;
1009 free(opt);
1012 size = strlen(propstr) + strlen(opt) + 2;
1015 (void) snprintf(newopt, size, "%s,%s", opt, propstr);
1016 free(opt);
1017 opt = newopt;
1019 return (opt);