Home
last modified time | relevance | path

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

/optee_client-3.20.0/tee-supplicant/src/
A Dprof.c48 char path[255] = { 0 }; in prof_process() local
102 n = snprintf(path, sizeof(path), in prof_process()
113 if ((n < 0) || (n >= (int)sizeof(path))) in prof_process()
115 fd = open(path, flags, 0644); in prof_process()
A Dteec_ta_load.c183 char **path = NULL; in TEECI_LoadSecureModule() local
185 for (path = ta_path; *path; path++) { in TEECI_LoadSecureModule()
186 res = try_load_secure_module(*path, dev_path, destination, ta, in TEECI_LoadSecureModule()
A Dplugin.c115 char path[PATH_MAX] = { 0 }; in plugin_load_all() local
140 r = snprintf(path, sizeof(path), "%s/%s", in plugin_load_all()
142 if (r < 0 || r >= (int)sizeof(path)) { in plugin_load_all()
148 res = load_plugin(path, p); in plugin_load_all()
A Drpmb.c159 char path[PATH_MAX] = { 0 }; in mmc_rpmb_fd() local
164 snprintf(path, sizeof(path), "/dev/mmcblk%urpmb", dev_id); in mmc_rpmb_fd()
166 snprintf(path, sizeof(path), "/dev/mmcblk%urpmb", dev_id); in mmc_rpmb_fd()
168 fd = open(path, O_RDWR); in mmc_rpmb_fd()
217 char path[48] = { 0 }; in read_cid_str() local
221 snprintf(path, sizeof(path), in read_cid_str()
223 fd = open(path, O_RDONLY); in read_cid_str()
287 char path[255] = { 0 }; in read_mmc_sysfs_hex() local
293 snprintf(path, sizeof(path), "/sys/class/mmc_host/mmc%u/mmc%u:0001/%s", in read_mmc_sysfs_hex()
296 fd = open(path, O_RDONLY); in read_mmc_sysfs_hex()
[all …]
A Dtee_supp_fs.c103 static int do_mkdir(const char *path, mode_t mode) in do_mkdir() argument
109 if (mkdir(path, mode) != 0 && errno != EEXIST) in do_mkdir()
112 if (stat(path, &st) != 0 && !S_ISDIR(st.st_mode)) in do_mkdir()
119 static int mkpath(const char *path, mode_t mode) in mkpath() argument
122 char *subpath = strdup(path); in mkpath()
138 status = do_mkdir(path, mode); in mkpath()
A Dtee_supplicant.c705 const char *path = (char *) in set_ta_path() local
712 ta_path_str = strdup(path); in set_ta_path()
728 strcpy(ta_path_str, path); in set_ta_path()
/optee_client-3.20.0/tee-supplicant/
A DCMakeLists.txt6 option (CFG_TA_TEST_PATH "Enable tee-supplicant to load from test/debug path" OFF)
18 …E_PLUGIN_LOAD_PATH "/usr/lib/tee-supplicant/plugins/" CACHE STRING "tee-supplicant's plugins path")

Completed in 10 milliseconds