Lines Matching refs:std
55 struct bootstd_priv *std; in bootstd_clear_glob() local
57 if (bootstd_get_priv(&std)) in bootstd_clear_glob()
60 bootstd_clear_glob_(std); in bootstd_clear_glob()
65 struct bootstd_priv *std; in bootstd_add_bootflow() local
68 ret = bootstd_get_priv(&std); in bootstd_add_bootflow()
72 ret = std->bootflows.count; in bootstd_add_bootflow()
73 bflow = alist_add(&std->bootflows, *bflow); in bootstd_add_bootflow()
82 struct bootstd_priv *std = bootstd_try_priv(); in bootstd_clear_bootflows_for_bootdev() local
86 if (!std) in bootstd_clear_bootflows_for_bootdev()
90 alist_for_each_filter(from, to, &std->bootflows) { in bootstd_clear_bootflows_for_bootdev()
96 alist_update_end(&std->bootflows, to); in bootstd_clear_bootflows_for_bootdev()
115 struct bootstd_priv *std = dev_get_priv(dev); in bootstd_get_bootdev_order() local
119 log_debug("- targets %s %p\n", targets, std->bootdev_order); in bootstd_get_bootdev_order()
121 str_free_list(std->env_order); in bootstd_get_bootdev_order()
122 std->env_order = str_to_list(targets); in bootstd_get_bootdev_order()
123 if (!std->env_order) { in bootstd_get_bootdev_order()
127 return std->env_order; in bootstd_get_bootdev_order()
130 return std->bootdev_order; in bootstd_get_bootdev_order()
135 struct bootstd_priv *std = dev_get_priv(dev); in bootstd_get_prefixes() local
137 return std->prefixes ? std->prefixes : default_prefixes; in bootstd_get_prefixes()
166 struct bootstd_priv *std = dev_get_priv(dev); in bootstd_probe() local
168 alist_init_struct(&std->bootflows, struct bootflow); in bootstd_probe()