Lines Matching refs:newopt
981 char *newopt = NULL; in add_resources() local
985 newopt = strdup(opt); in add_resources()
986 if (newopt == NULL) in add_resources()
987 return (newopt); in add_resources()
997 free(newopt); in add_resources()
1001 newopt = calloc(1, size); in add_resources()
1002 if (newopt != NULL) in add_resources()
1003 (void) snprintf(newopt, size, "%s,name=%s", opt, name); in add_resources()
1006 opt = newopt; in add_resources()
1013 newopt = calloc(1, size); in add_resources()
1014 if (newopt != NULL) in add_resources()
1015 (void) snprintf(newopt, size, "%s,%s", opt, propstr); in add_resources()
1017 opt = newopt; in add_resources()
1049 char *newopt; in sa_zfs_set_sharesmb() local
1057 newopt = add_resources(opts, share); in sa_zfs_set_sharesmb()
1059 opts = newopt; in sa_zfs_set_sharesmb()