Lines Matching refs:caller
55 void *caller; member
59 static struct gtod_log *find_hash(void *caller) in find_hash() argument
61 unsigned long h = hash_ptr(caller, HASH_BITS); in find_hash()
68 if (log->caller == caller) in find_hash()
75 static void inc_caller(void *caller) in inc_caller() argument
77 struct gtod_log *log = find_hash(caller); in inc_caller()
84 log->caller = caller; in inc_caller()
87 h = hash_ptr(caller, HASH_BITS); in inc_caller()
94 static void gtod_log_caller(void *caller) in gtod_log_caller() argument
97 inc_caller(caller); in gtod_log_caller()
112 printf("function %p, calls %lu\n", log->caller, in fio_dump_gtod()
212 void fio_gettime(struct timeval *tp, void *caller) in fio_gettime() argument
214 void fio_gettime(struct timeval *tp, void fio_unused *caller) in fio_gettime()
218 if (!caller) in fio_gettime()
219 caller = __builtin_return_address(0); in fio_gettime()
221 gtod_log_caller(caller); in fio_gettime()