Lines Matching refs:newopt
1157 char *newopt = NULL; in add_resources() local
1161 newopt = strdup(opt); in add_resources()
1162 if (newopt == NULL) in add_resources()
1163 return (newopt); in add_resources()
1173 free(newopt); in add_resources()
1177 newopt = calloc(1, size); in add_resources()
1178 if (newopt != NULL) in add_resources()
1179 (void) snprintf(newopt, size, "%s,name=%s", opt, name); in add_resources()
1182 opt = newopt; in add_resources()
1189 newopt = calloc(1, size); in add_resources()
1190 if (newopt != NULL) in add_resources()
1191 (void) snprintf(newopt, size, "%s,%s", opt, propstr); in add_resources()
1193 opt = newopt; in add_resources()
1225 char *newopt; in sa_zfs_set_sharesmb() local
1233 newopt = add_resources(opts, share); in sa_zfs_set_sharesmb()
1235 opts = newopt; in sa_zfs_set_sharesmb()