Lines Matching refs:caller
39 tr_where (const void *caller, Dl_info *info) in tr_where() argument
41 if (caller != NULL) in tr_where()
52 (ptrdiff_t) info->dli_saddr - (ptrdiff_t) caller; in tr_where()
54 if (caller >= (const void *) info->dli_saddr) in tr_where()
68 caller - info->dli_fbase); in tr_where()
71 fprintf (mallstream, "@ [%p] ", caller); in tr_where()
76 lock_and_info (const void *caller, Dl_info *mem) in lock_and_info() argument
78 if (caller == NULL) in lock_and_info()
81 Dl_info *res = dladdr (caller, mem) ? mem : NULL; in lock_and_info()
89 free_mtrace (void *ptr, const void *caller) in free_mtrace() argument
95 Dl_info *info = lock_and_info (caller, &mem); in free_mtrace()
96 tr_where (caller, info); in free_mtrace()
103 malloc_mtrace_after (void *block, size_t size, const void *caller) in malloc_mtrace_after() argument
106 Dl_info *info = lock_and_info (caller, &mem); in malloc_mtrace_after()
108 tr_where (caller, info); in malloc_mtrace_after()
117 const void *caller) in realloc_mtrace_after() argument
120 Dl_info *info = lock_and_info (caller, &mem); in realloc_mtrace_after()
122 tr_where (caller, info); in realloc_mtrace_after()
136 tr_where (caller, info); in realloc_mtrace_after()
144 memalign_mtrace_after (void *block, size_t size, const void *caller) in memalign_mtrace_after() argument
147 Dl_info *info = lock_and_info (caller, &mem); in memalign_mtrace_after()
149 tr_where (caller, info); in memalign_mtrace_after()