Lines Matching refs:filename

89     char filename[256], filename2[256];  in nfa_nv_co_read()  local
91 memset (filename, 0, sizeof(filename)); in nfa_nv_co_read()
100 sprintf (filename, "%s%u", filename2, block); in nfa_nv_co_read()
102 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename); in nfa_nv_co_read()
103 int fileStream = open (filename, O_RDONLY); in nfa_nv_co_read()
148 char filename[256], filename2[256]; in nfa_nv_co_write() local
150 memset (filename, 0, sizeof(filename)); in nfa_nv_co_write()
159 sprintf (filename, "%s%u", filename2, block); in nfa_nv_co_write()
160 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename); in nfa_nv_co_write()
164 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in nfa_nv_co_write()
203 char filename[256], filename2[256]; in delete_stack_non_volatile_store() local
211 memset (filename, 0, sizeof(filename)); in delete_stack_non_volatile_store()
220 sprintf (filename, "%s%u", filename2, DH_NV_BLOCK); in delete_stack_non_volatile_store()
221 remove (filename); in delete_stack_non_volatile_store()
222 sprintf (filename, "%s%u", filename2, HC_F3_NV_BLOCK); in delete_stack_non_volatile_store()
223 remove (filename); in delete_stack_non_volatile_store()
224 sprintf (filename, "%s%u", filename2, HC_F4_NV_BLOCK); in delete_stack_non_volatile_store()
225 remove (filename); in delete_stack_non_volatile_store()
226 sprintf (filename, "%s%u", filename2, HC_F2_NV_BLOCK); in delete_stack_non_volatile_store()
227 remove (filename); in delete_stack_non_volatile_store()
228 sprintf (filename, "%s%u", filename2, HC_F5_NV_BLOCK); in delete_stack_non_volatile_store()
229 remove (filename); in delete_stack_non_volatile_store()
246 char filename[256], filename2[256]; in verify_stack_non_volatile_store() local
249 memset (filename, 0, sizeof(filename)); in verify_stack_non_volatile_store()
259 sprintf (filename, "%s%u", filename2, DH_NV_BLOCK); in verify_stack_non_volatile_store()
260 if (crcChecksumVerifyIntegrity (filename)) in verify_stack_non_volatile_store()
262 sprintf (filename, "%s%u", filename2, HC_F3_NV_BLOCK); in verify_stack_non_volatile_store()
263 if (crcChecksumVerifyIntegrity (filename)) in verify_stack_non_volatile_store()
265 sprintf (filename, "%s%u", filename2, HC_F4_NV_BLOCK); in verify_stack_non_volatile_store()
266 if (crcChecksumVerifyIntegrity (filename)) in verify_stack_non_volatile_store()
268 sprintf (filename, "%s%u", filename2, HC_F2_NV_BLOCK); in verify_stack_non_volatile_store()
269 if (crcChecksumVerifyIntegrity (filename)) in verify_stack_non_volatile_store()
271 sprintf (filename, "%s%u", filename2, HC_F5_NV_BLOCK); in verify_stack_non_volatile_store()
272 if (crcChecksumVerifyIntegrity (filename)) in verify_stack_non_volatile_store()