Home
last modified time | relevance | path

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

/trusty/user/app/storage/test/storage_host_test/
Dstorageproxy_shim.c44 static char data_directory[PATH_MAX]; variable
58 rc = snprintf(data_directory, PATH_MAX - 1, "%s/%s", base_directory, in init_rpmb_state()
63 data_directory[PATH_MAX - 1] = '\0'; in init_rpmb_state()
64 rc = mkdir(data_directory, S_IWUSR | S_IRUSR | S_IXUSR); in init_rpmb_state()
73 malloc(strlen(data_directory) + sizeof(PERSIST_DIRECTORY) + 2); in init_rpmb_state()
77 rc = sprintf(tdp_directory, "%s/%s", data_directory, PERSIST_DIRECTORY); in init_rpmb_state()
90 malloc(strlen(data_directory) + sizeof(RPMB_FILENAME) + 2); in init_rpmb_state()
94 rc = sprintf(rpmb_filename, "%s/%s", data_directory, RPMB_FILENAME); in init_rpmb_state()
185 char* path = malloc(strlen(data_directory) + strlen(fname) + 2); in ns_open_file()
190 rc = sprintf(path, "%s/%s", data_directory, fname); in ns_open_file()