Home
last modified time | relevance | path

Searched refs:DB_ROOT_LEN (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_internal.h167 #define DB_ROOT_LEN 4096 macro
H A Dtarget_core_configfs.c94 char db_root[DB_ROOT_LEN] = DB_ROOT_DEFAULT;
95 static char db_root_stage[DB_ROOT_LEN];
116 if (count > (DB_ROOT_LEN - 1)) { in target_core_item_dbroot_store()
118 pr_err("db_root: count %d exceeds DB_ROOT_LEN-1: %u\n", in target_core_item_dbroot_store()
119 (int)count, DB_ROOT_LEN - 1); in target_core_item_dbroot_store()
123 read_bytes = snprintf(db_root_stage, DB_ROOT_LEN, "%s", page); in target_core_item_dbroot_store()
3514 snprintf(db_root_stage, DB_ROOT_LEN, DB_ROOT_PREFERRED); in target_init_dbroot()
3527 strncpy(db_root, db_root_stage, DB_ROOT_LEN); in target_init_dbroot()
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_internal.h168 #define DB_ROOT_LEN 4096 macro
H A Dtarget_core_configfs.c98 char db_root[DB_ROOT_LEN] = DB_ROOT_DEFAULT;
99 static char db_root_stage[DB_ROOT_LEN];
120 if (count > (DB_ROOT_LEN - 1)) { in target_core_item_dbroot_store()
121 pr_err("db_root: count %d exceeds DB_ROOT_LEN-1: %u\n", in target_core_item_dbroot_store()
122 (int)count, DB_ROOT_LEN - 1); in target_core_item_dbroot_store()
126 read_bytes = snprintf(db_root_stage, DB_ROOT_LEN, "%s", page); in target_core_item_dbroot_store()
3616 snprintf(db_root_stage, DB_ROOT_LEN, DB_ROOT_PREFERRED); in target_init_dbroot()
3629 strncpy(db_root, db_root_stage, DB_ROOT_LEN); in target_init_dbroot()

Completed in 13 milliseconds