Searched refs:db_root_stage (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/drivers/target/ |
D | target_core_configfs.c | 99 static char db_root_stage[DB_ROOT_LEN]; variable 126 read_bytes = snprintf(db_root_stage, DB_ROOT_LEN, "%s", page); in target_core_item_dbroot_store() 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() [all …]
|