Home
last modified time | relevance | path

Searched refs:env_opts (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/tools/env/
H A Dfw_env.h18 struct env_opts { struct
44 int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts); argument
64 int fw_env_set(int argc, char *argv[], struct env_opts *opts);
101 int fw_parse_script(char *fname, struct env_opts *opts);
112 int fw_env_open(struct env_opts *opts);
148 int fw_env_flush(struct env_opts *opts);
158 int fw_env_close(struct env_opts *opts);
H A Dfw_env_main.c56 static struct env_opts env_opts; variable
127 env_opts.config_file = CONFIG_FILE; in parse_common_args()
134 if (parse_aes_key(optarg, env_opts.aes_key)) { in parse_common_args()
138 env_opts.aes_flag = 1; in parse_common_args()
142 env_opts.config_file = optarg; in parse_common_args()
146 env_opts.lockname = optarg; in parse_common_args()
255 if (env_opts.lockname) { in main()
256 lockname = malloc(sizeof(env_opts.lockname) + in main()
264 env_opts.lockname, CMD_PRINTENV); in main()
280 if (fw_printenv(argc, argv, noheader, &env_opts) != 0) in main()
[all …]
H A Dfw_env.c40 struct env_opts default_opts = {
126 static int parse_config(struct env_opts *opts);
252 int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts) in fw_printenv()
309 int fw_env_flush(struct env_opts *opts) in fw_env_flush()
471 int fw_env_set(int argc, char *argv[], struct env_opts *opts) in fw_env_set()
553 int fw_parse_script(char *fname, struct env_opts *opts) in fw_parse_script()
1132 int fw_env_open(struct env_opts *opts) in fw_env_open()
1337 int fw_env_close(struct env_opts *opts) in fw_env_close()
1435 static int parse_config(struct env_opts *opts) in parse_config()