Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 70) sorted by relevance

123

/optee_os-3.20.0/core/include/mm/
A Dfile.h27 struct file;
35 void file_lock(struct file *f);
44 bool file_trylock(struct file *f);
52 void file_unlock(struct file *f);
65 TEE_Result file_add_slice(struct file *f, struct fobj *fobj,
74 struct file *file_get(struct file *f);
85 struct file *file_get_by_tag(const uint8_t *tag, unsigned int taglen);
95 void file_put(struct file *f);
106 struct file_slice *file_find_slice(struct file *f, unsigned int page_offset);
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Ddebug.c79 const char *file, int line, in mbedtls_debug_print_msg() argument
104 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_msg()
108 const char *file, int line, in mbedtls_debug_print_ret() argument
132 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_ret()
154 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_buf()
196 const char *file, int line, in mbedtls_debug_print_ecp() argument
219 const char *file, int line, in mbedtls_debug_print_mpi() argument
239 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_mpi()
288 debug_send_line( ssl, level, file, line, in debug_print_pk()
309 debug_send_line( ssl, level, file, line, in debug_print_pk()
[all …]
A Dplatform.c285 FILE *file; in mbedtls_platform_std_nv_seed_read() local
288 if( ( file = fopen( MBEDTLS_PLATFORM_STD_NV_SEED_FILE, "rb" ) ) == NULL ) in mbedtls_platform_std_nv_seed_read()
291 if( ( n = fread( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_read()
293 fclose( file ); in mbedtls_platform_std_nv_seed_read()
298 fclose( file ); in mbedtls_platform_std_nv_seed_read()
304 FILE *file; in mbedtls_platform_std_nv_seed_write() local
307 if( ( file = fopen( MBEDTLS_PLATFORM_STD_NV_SEED_FILE, "w" ) ) == NULL ) in mbedtls_platform_std_nv_seed_write()
310 if( ( n = fwrite( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_write()
312 fclose( file ); in mbedtls_platform_std_nv_seed_write()
316 fclose( file ); in mbedtls_platform_std_nv_seed_write()
A Dentropy_poll.c167 FILE *file; in mbedtls_platform_entropy_poll() local
187 ((void) file); in mbedtls_platform_entropy_poll()
197 file = fopen( "/dev/urandom", "rb" ); in mbedtls_platform_entropy_poll()
198 if( file == NULL ) in mbedtls_platform_entropy_poll()
201 read_len = fread( output, 1, len, file ); in mbedtls_platform_entropy_poll()
204 fclose( file ); in mbedtls_platform_entropy_poll()
208 fclose( file ); in mbedtls_platform_entropy_poll()
/optee_os-3.20.0/ta/
A Dta.mk57 cppflags$(sm) += -include $(conf-file)
119 incfiles-extra-host += $(conf-file)
120 incfiles-extra-host += $(conf-mk-file)
136 define copy-file
197 sm-$(conf-mk-file-export) := $(sm)
198 define mk-file-export
199 .PHONY: $(conf-mk-file-export)
200 $(conf-mk-file-export):
205 $(q)($$(foreach v, $$(ta-mk-file-export-vars-$$(sm-$(conf-mk-file-export))), \
210 $(eval $(mk-file-export))
[all …]
/optee_os-3.20.0/core/mm/
A Dfile.c34 struct file { struct
38 TAILQ_ENTRY(file) link; argument
57 struct file *f = NULL; in file_find_tag_unlocked()
66 static void file_free(struct file *f) in file_free()
81 TEE_Result file_add_slice(struct file *f, struct fobj *fobj, in file_add_slice()
109 struct file *file_get(struct file *f) in file_get()
119 struct file *f = NULL; in file_get_by_tag()
167 void file_put(struct file *f) in file_put()
196 void file_lock(struct file *f) in file_lock()
201 bool file_trylock(struct file *f) in file_trylock()
[all …]
A Dsub.mk4 srcs-y += file.c
/optee_os-3.20.0/core/kernel/
A Dpanic.c12 void __do_panic(const char *file __maybe_unused, in __do_panic()
23 if (!file && !func && !msg) in __do_panic()
28 file ? file : "?", file ? line : 0, in __do_panic()
A Dassert.c14 const char *file __maybe_unused, in _assert_log()
20 expr, file, line, func); in _assert_log()
/optee_os-3.20.0/core/arch/riscv/
A Driscv.mk160 ta-mk-file-export-vars-ta_rv32 += CFG_RV32_ta_rv32
161 ta-mk-file-export-vars-ta_rv32 += ta_rv32-platform-cppflags
162 ta-mk-file-export-vars-ta_rv32 += ta_rv32-platform-cflags
163 ta-mk-file-export-vars-ta_rv32 += ta_rv32-platform-aflags
169 ta-mk-file-export-add-ta_rv32 += COMPILER ?= gcc_nl_
171 ta-mk-file-export-add-ta_rv32 += PYTHON3 ?= python3_nl_
197 ta-mk-file-export-vars-ta_rv64 += CFG_RV64_ta_rv64
199 ta-mk-file-export-vars-ta_rv64 += ta_rv64-platform-cflags
200 ta-mk-file-export-vars-ta_rv64 += ta_rv64-platform-aflags
205 ta-mk-file-export-add-ta_rv64 += COMPILER ?= gcc_nl_
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Ddebug.h169 const char *file, int line,
188 const char *file, int line,
209 const char *file, int line, const char *text,
230 const char *file, int line,
252 const char *file, int line,
273 const char *file, int line,
302 const char *file, int line,
A Derror.h160 const char *file, int line ) in mbedtls_error_add() argument
164 ( *mbedtls_test_hook_error_add )( high, low, file, line ); in mbedtls_error_add()
166 (void)file; in mbedtls_error_add()
/optee_os-3.20.0/core/
A Dcore.mk27 cppflags$(sm) += -include $(conf-file)
83 conf-file := $(out-dir)/include/generated/conf.h
84 conf-mk-file := $(out-dir)/conf.mk
85 conf-cmake-file := $(out-dir)/conf.cmake
86 $(conf-file): $(conf-mk-file)
88 cleanfiles += $(conf-file)
89 cleanfiles += $(conf-mk-file)
90 cleanfiles += $(conf-cmake-file)
92 $(conf-file): FORCE
95 $(conf-mk-file): FORCE
[all …]
/optee_os-3.20.0/ldelf/
A Dsys.c15 void __panic(const char *file __maybe_unused, const int line __maybe_unused, in __panic()
18 if (!file && !func) in __panic()
22 file ? file : "?", file ? line : 0, in __panic()
/optee_os-3.20.0/mk/
A Dcompile.mk69 comp-cmd-file-$2:= $$(dir $2).$$(notdir $2).cmd
73 cleanfiles := $$(cleanfiles) $$(comp-dep-$2) $$(comp-cmd-file-$2) $2
246 define gen-asm-defines-file
247 $(call _gen-asm-defines-file,$1,$2,$(dir $2).$(notdir $(2:.h=.s)),$(asm-defines-$(notdir $(1))-deps…
250 $(foreach f,$(asm-defines-files),$(eval $(call gen-asm-defines-file,$(f),$(out-dir)/$(sm)/include/g…
257 define gen-dtb-file
265 dtb-cmd-file-$2 := $$(dir $2).$$(notdir $2).cmd
269 $$(dtb-dep-$2) $$(dtb-cmd-file-$2)
279 -include $$(dtb-cmd-file-$2)
299 $$(dtb-cmd-file-$2) ;\
[all …]
A Dgcc.mk13 -print-file-name=include 2> /dev/null)
17 -print-libgcc-file-name 2> /dev/null)
19 -print-file-name=libstdc++.a 2> /dev/null)
21 -print-file-name=libgcc_eh.a 2> /dev/null)
A Dclang.mk26 -print-file-name=include 2> /dev/null)
34 -rtlib=compiler-rt -print-libgcc-file-name 2> /dev/null)
/optee_os-3.20.0/core/lib/zlib/
A Dzlib.h1424 gzFile file));
1506 ZEXTERN int ZEXPORT gzputc OF((gzFile file, int c));
1512 ZEXTERN int ZEXPORT gzgetc OF((gzFile file));
1521 ZEXTERN int ZEXPORT gzungetc OF((int c, gzFile file));
1568 ZEXTERN int ZEXPORT gzrewind OF((gzFile file));
1596 ZEXTERN int ZEXPORT gzeof OF((gzFile file));
1611 ZEXTERN int ZEXPORT gzdirect OF((gzFile file));
1632 ZEXTERN int ZEXPORT gzclose OF((gzFile file));
1645 ZEXTERN int ZEXPORT gzclose_r OF((gzFile file));
1646 ZEXTERN int ZEXPORT gzclose_w OF((gzFile file));
[all …]
/optee_os-3.20.0/lib/libutils/isoc/include/
A Dassert.h12 void _assert_log(const char *expr, const char *file, const int line,
16 const char *file, const int line, in _assert_trap() argument
19 _assert_log(expr_str, file, line, func); in _assert_trap()
/optee_os-3.20.0/lib/libutee/
A Dassert.c14 const char *file __maybe_unused, in _assert_log()
19 expr, file, line, func); in _assert_log()
/optee_os-3.20.0/core/arch/arm/
A Darm.mk311 ta-mk-file-export-vars-ta_arm32 += CFG_ARM32_ta_arm32
312 ta-mk-file-export-vars-ta_arm32 += ta_arm32-platform-cppflags
313 ta-mk-file-export-vars-ta_arm32 += ta_arm32-platform-cflags
314 ta-mk-file-export-vars-ta_arm32 += ta_arm32-platform-aflags
320 ta-mk-file-export-add-ta_arm32 += COMPILER ?= gcc_nl_
322 ta-mk-file-export-add-ta_arm32 += PYTHON3 ?= python3_nl_
367 ta-mk-file-export-vars-ta_arm64 += CFG_ARM64_ta_arm64
369 ta-mk-file-export-vars-ta_arm64 += ta_arm64-platform-cflags
370 ta-mk-file-export-vars-ta_arm64 += ta_arm64-platform-aflags
375 ta-mk-file-export-add-ta_arm64 += COMPILER ?= gcc_nl_
[all …]
/optee_os-3.20.0/ta/mk/
A Dbuild-user-ta.mk4 sm := $(lastword $(subst /, ,$(dir $(ta-mk-file))))
20 link-out-dir$(sm) := $(out-dir)/$(patsubst %/,%, $(dir $(ta-mk-file)))
25 include $(ta-mk-file)
27 $(error user-ta-uuid missing in $(ta-mk-file))
55 subdirs = $(patsubst %/,%,$(dir $(ta-mk-file)))
/optee_os-3.20.0/core/arch/arm/plat-amlogic/scripts/
A Daml_bin2img.py18 def get_size(file): argument
19 file.seek(0, 2) # End of the file
20 size = file.tell()
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/scripts/
A Dstm32image.py20 def get_size(file): argument
21 file.seek(0, 2) # End of the file
22 size = file.tell()
/optee_os-3.20.0/ta/pkcs11/src/
A Dpersistent_token.c41 char file[PERSISTENT_OBJECT_ID_LEN] = { }; in open_db_file() local
44 res = get_db_file_name(token, file, sizeof(file)); in open_db_file()
48 return TEE_OpenPersistentObject(TEE_STORAGE_PRIVATE, file, sizeof(file), in open_db_file()
650 char file[PERSISTENT_OBJECT_ID_LEN] = { }; in init_persistent_db() local
662 res = get_db_file_name(token, file, sizeof(file)); in init_persistent_db()
671 file, sizeof(file), in init_persistent_db()

Completed in 22 milliseconds

123