Searched refs:newopt (Results 1 – 2 of 2) sorted by path
/freebsd/sbin/mount/ |
H A D | mount.c | 807 char *expopt, *newopt, *tmpopt; in update_options() local 837 newopt = NULL; in update_options() 844 remopt(newopt, tmpopt); in update_options() 848 remopt(newopt, o+2); in update_options() 850 newopt = catopt(newopt, o); in update_options() 854 return (newopt); in update_options()
|
/freebsd/usr.sbin/config/ |
H A D | config.y | 98 static void newopt(struct opt_head *list, char *name, char *value, int append, int dupe); 202 Save_id { newopt(&mkopt, ns("KERNEL"), $1, 0, 0); }; 222 newopt(&opt, $1, NULL, 0, 1); 228 newopt(&opt, $1, $3, 0, 1); 256 Save_id { newopt(&mkopt, $1, ns(""), 0, 0); } | 257 Save_id EQUALS { newopt(&mkopt, $1, ns(""), 0, 0); } | 258 Save_id EQUALS Opt_value { newopt(&mkopt, $1, $3, 0, 0); } | 259 Save_id PLUSEQUALS Opt_value { newopt(&mkopt, $1, $3, 1, 0); } ; 285 newopt(&opt, devopt($1), ns("1"), 0, 0); 426 newopt(struct opt_head *list, char *name, char *value, int append, int dupe) in newopt() function
|