Searched refs:fh (Results 1 – 5 of 5) sorted by relevance
66 FILE* fh = fopen(path, mode); in ota_fopen() local67 filename_cache[(intptr_t)fh] = path; in ota_fopen()68 return fh; in ota_fopen()77 int ota_fclose(FILE* fh) { in ota_fclose() argument78 filename_cache.erase((intptr_t)fh); in ota_fclose()79 return fclose(fh); in ota_fclose()
41 int ota_fclose(FILE* fh);
51 FILE* fh = fopen(&fname[0], "w"); in mangle_file() local55 fwrite(&r, sizeof(short), 1, fh); in mangle_file()57 fclose(fh); in mangle_file()
1858 fec::io fh(filename->data, O_RDWR); in BlockImageRecoverFn() local1860 if (!fh) { in BlockImageRecoverFn()1866 if (!fh.has_ecc() || !fh.has_verity()) { in BlockImageRecoverFn()1873 if (!fh.get_status(status)) { in BlockImageRecoverFn()1890 if (fh.pread(buffer, BLOCKSIZE, (off64_t)j * BLOCKSIZE) != BLOCKSIZE) { in BlockImageRecoverFn()
224 out.fh = 10; // an arbitrary number; we always use the same handle in handle_open()