Home
last modified time | relevance | path

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

/openbmc/linux/drivers/target/
H A Dtarget_core_configfs.c99 static char db_root_stage[DB_ROOT_LEN]; variable
130 if (db_root_stage[read_bytes - 1] == '\n') in target_core_item_dbroot_store()
131 db_root_stage[read_bytes - 1] = '\0'; in target_core_item_dbroot_store()
134 fp = filp_open(db_root_stage, O_RDONLY, 0); in target_core_item_dbroot_store()
136 pr_err("db_root: cannot open: %s\n", db_root_stage); in target_core_item_dbroot_store()
141 pr_err("db_root: not a directory: %s\n", db_root_stage); in target_core_item_dbroot_store()
146 strncpy(db_root, db_root_stage, read_bytes); in target_core_item_dbroot_store()
3616 snprintf(db_root_stage, DB_ROOT_LEN, DB_ROOT_PREFERRED); in target_init_dbroot()
3617 fp = filp_open(db_root_stage, O_RDONLY, 0); in target_init_dbroot()
3619 pr_err("db_root: cannot open: %s\n", db_root_stage); in target_init_dbroot()
[all …]