| /optee_os/core/kernel/ |
| H A D | mutex.c | 26 static void __mutex_lock(struct mutex *m, const char *fname, int lineno) in __mutex_lock() argument 64 wq_wait_final(&m->wq, &wqe, 0, m, fname, lineno); in __mutex_lock() 70 static void __mutex_lock_recursive(struct recursive_mutex *m, const char *fname, in __mutex_lock_recursive() argument 84 __mutex_lock(&m->m, fname, lineno); in __mutex_lock_recursive() 91 static void __mutex_unlock(struct mutex *m, const char *fname, int lineno) in __mutex_unlock() argument 109 wq_wake_next(&m->wq, m, fname, lineno); in __mutex_unlock() 113 const char *fname, int lineno) in __mutex_unlock_recursive() argument 124 __mutex_unlock(&m->m, fname, lineno); in __mutex_unlock_recursive() 128 static bool __mutex_trylock(struct mutex *m, const char *fname __unused, in __mutex_trylock() 151 static void __mutex_read_unlock(struct mutex *m, const char *fname, int lineno) in __mutex_read_unlock() argument [all …]
|
| H A D | wait_queue.c | 26 const char *fname, int lineno __maybe_unused) in do_notif() argument 30 if (fname) in do_notif() 32 sync_obj, fname, lineno); in do_notif() 81 const void *sync_obj, const char *fname, in wq_wait_final_helper() argument 86 do_notif(true, wqe->handle, timeout_ms, "sleep", sync_obj, fname, in wq_wait_final_helper() 101 const char *fname, int lineno) in wq_wait_final() argument 103 return wq_wait_final_helper(wq, wqe, timeout_ms, sync_obj, fname, in wq_wait_final() 108 const char *fname, int lineno) in wq_wake_next() argument 149 "wake ", sync_obj, fname, lineno); in wq_wake_next() 159 const char *fname, int lineno __maybe_unused) in wq_promote_condvar() argument [all …]
|
| H A D | semihosting.c | 79 int semihosting_open(const char *fname, int flags) in semihosting_open() argument 110 arg.param0 = (uintptr_t)fname; in semihosting_open() 112 arg.param2 = strlen(fname); in semihosting_open()
|
| /optee_os/core/include/kernel/ |
| H A D | mutex.h | 40 void mutex_unlock_debug(struct mutex *m, const char *fname, int lineno); 43 void mutex_lock_debug(struct mutex *m, const char *fname, int lineno); 46 bool mutex_trylock_debug(struct mutex *m, const char *fname, int lineno); 49 void mutex_read_unlock_debug(struct mutex *m, const char *fname, int lineno); 52 void mutex_read_lock_debug(struct mutex *m, const char *fname, int lineno); 55 bool mutex_read_trylock_debug(struct mutex *m, const char *fname, int lineno); 58 void mutex_unlock_recursive_debug(struct recursive_mutex *m, const char *fname, 63 void mutex_lock_recursive_debug(struct recursive_mutex *m, const char *fname, 89 void condvar_signal_debug(struct condvar *cv, const char *fname, int lineno); 92 void condvar_broadcast_debug(struct condvar *cv, const char *fname, int lineno); [all …]
|
| H A D | wait_queue.h | 51 const char *fname, int lineno); 55 const char *fname, int lineno); 61 bool only_one, const void *sync_obj, const char *fname,
|
| H A D | semihosting.h | 18 int semihosting_open(const char *fname, int flags);
|
| /optee_os/core/lib/libtomcrypt/src/hashes/helper/ |
| H A D | hash_file.c | 18 int hash_file(int hash, const char *fname, unsigned char *out, unsigned long *outlen) in hash_file() argument 22 LTC_ARGCHK(fname != NULL); in hash_file() 30 in = fopen(fname, "rb"); in hash_file()
|
| /optee_os/core/lib/libtomcrypt/src/mac/poly1305/ |
| H A D | poly1305_file.c | 22 int poly1305_file(const char *fname, const unsigned char *key, unsigned long keylen, unsigned char … in poly1305_file() argument 25 LTC_UNUSED_PARAM(fname); in poly1305_file() 38 LTC_ARGCHK(fname != NULL); in poly1305_file() 51 in = fopen(fname, "rb"); in poly1305_file()
|
| /optee_os/core/lib/libtomcrypt/src/mac/blake2/ |
| H A D | blake2smac_file.c | 17 int blake2smac_file(const char *fname, const unsigned char *key, unsigned long keylen, unsigned cha… in blake2smac_file() argument 20 LTC_UNUSED_PARAM(fname); in blake2smac_file() 33 LTC_ARGCHK(fname != NULL); in blake2smac_file() 46 in = fopen(fname, "rb"); in blake2smac_file()
|
| H A D | blake2bmac_file.c | 17 int blake2bmac_file(const char *fname, const unsigned char *key, unsigned long keylen, unsigned cha… in blake2bmac_file() argument 20 LTC_UNUSED_PARAM(fname); in blake2bmac_file() 33 LTC_ARGCHK(fname != NULL); in blake2bmac_file() 46 in = fopen(fname, "rb"); in blake2bmac_file()
|
| /optee_os/core/lib/libtomcrypt/src/mac/f9/ |
| H A D | f9_file.c | 24 const char *fname, in f9_file() argument 31 LTC_UNUSED_PARAM(fname); in f9_file() 43 LTC_ARGCHK(fname != NULL); in f9_file() 55 in = fopen(fname, "rb"); in f9_file()
|
| /optee_os/core/lib/libtomcrypt/src/mac/hmac/ |
| H A D | hmac_file.c | 22 int hmac_file(int hash, const char *fname, in hmac_file() argument 28 LTC_UNUSED_PARAM(fname); in hmac_file() 41 LTC_ARGCHK(fname != NULL); in hmac_file() 58 in = fopen(fname, "rb"); in hmac_file()
|
| /optee_os/mk/ |
| H A D | subdir.mk | 65 fname := $1 71 fname := $1 75 fname := $(sub-dir)/$1 79 $$(eval $$(call process-file-vars,$1,$$(oname),$$(fname))) 87 fname := $2/$1 93 $$(eval $$(call process-file-vars,$1,$$(oname),$$(fname)))
|
| /optee_os/lib/libutils/isoc/ |
| H A D | bget_malloc.c | 513 const char *fname; member 542 static void mdbg_update_hdr(struct mdbg_hdr *hdr, const char *fname, in mdbg_update_hdr() argument 547 hdr->fname = fname; in mdbg_update_hdr() 563 size_t nmemb, size_t size, const char *fname, in mem_alloc_unlocked() argument 591 mdbg_update_hdr(hdr, fname, lineno, nmemb * size); in mem_alloc_unlocked() 609 size_t nmemb, size_t size, const char *fname, int lineno) in mem_alloc() argument 616 p = mem_alloc_unlocked(flags, ptr, alignment, nmemb, size, fname, in mem_alloc() 666 size_t size, const char *fname, int lineno) in __mdbg_alloc() argument 668 return mem_alloc(flags, ptr, alignment, nmemb, size, fname, lineno); in __mdbg_alloc() 685 const char *fname = hdr->fname; in gen_mdbg_check() local [all …]
|
| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_mac.h | 24 int hmac_file(int hash, const char *fname, const unsigned char *key, 122 int poly1305_file(const char *fname, const unsigned char *key, unsigned long keylen, unsigned char … 136 int blake2smac_file(const char *fname, const unsigned char *key, unsigned long keylen, unsigned cha… 150 int blake2bmac_file(const char *fname, const unsigned char *key, unsigned long keylen, unsigned cha… 240 const char *fname,
|
| H A D | tomcrypt_hash.h | 508 int hash_file(int hash, const char *fname, unsigned char *out, unsigned long *outlen);
|
| /optee_os/core/tee/ |
| H A D | fs_dirfile.c | 266 char *fname, size_t *fnlen) in tee_fs_dirfile_fileh_to_fname() argument 272 r = snprintf(fname, l, "%" PRIx32, dfh->file_number); in tee_fs_dirfile_fileh_to_fname() 274 r = snprintf(fname, l, "dirf.db"); in tee_fs_dirfile_fileh_to_fname()
|
| H A D | tee_ree_fs.c | 532 const char fname[] = "dirfile.db.hash"; in open_dirh() local 534 res = tee_rpmb_fs_raw_open(fname, false, &ree_fs_rpmb_fh); in open_dirh() 544 res = tee_rpmb_fs_raw_open(fname, true, &ree_fs_rpmb_fh); in open_dirh()
|
| H A D | tee_rpmb_fs.c | 3144 TEE_Result tee_rpmb_fs_raw_open(const char *fname, bool create, in tee_rpmb_fs_raw_open() argument 3154 snprintf(fh->filename, sizeof(fh->filename), "/%s", fname); in tee_rpmb_fs_raw_open()
|
| /optee_os/core/include/tee/ |
| H A D | fs_dirfile.h | 109 char *fname, size_t *fnlen);
|
| H A D | tee_fs.h | 63 TEE_Result tee_rpmb_fs_raw_open(const char *fname, bool create,
|
| /optee_os/lib/libutils/isoc/include/ |
| H A D | malloc.h | 36 size_t size, const char *fname, int lineno);
|