Lines Matching refs:db_root_stage
99 static char db_root_stage[DB_ROOT_LEN];
126 read_bytes = snprintf(db_root_stage, DB_ROOT_LEN, "%s", page);
130 if (db_root_stage[read_bytes - 1] == '\n')
131 db_root_stage[read_bytes - 1] = '\0';
134 fp = filp_open(db_root_stage, O_RDONLY, 0);
136 pr_err("db_root: cannot open: %s\n", db_root_stage);
141 pr_err("db_root: not a directory: %s\n", db_root_stage);
146 strncpy(db_root, db_root_stage, read_bytes);
3654 snprintf(db_root_stage, DB_ROOT_LEN, DB_ROOT_PREFERRED);
3655 fp = filp_open(db_root_stage, O_RDONLY, 0);
3657 pr_err("db_root: cannot open: %s\n", db_root_stage);
3662 pr_err("db_root: not a valid directory: %s\n", db_root_stage);
3667 strncpy(db_root, db_root_stage, DB_ROOT_LEN);