Lines Matching refs:caller
53 void *caller; member
57 static struct gtod_log *find_hash(void *caller) in find_hash() argument
59 unsigned long h = hash_ptr(caller, HASH_BITS); in find_hash()
66 if (log->caller == caller) in find_hash()
73 static void inc_caller(void *caller) in inc_caller() argument
75 struct gtod_log *log = find_hash(caller); in inc_caller()
82 log->caller = caller; in inc_caller()
85 h = hash_ptr(caller, HASH_BITS); in inc_caller()
92 static void gtod_log_caller(void *caller) in gtod_log_caller() argument
95 inc_caller(caller); in gtod_log_caller()
110 printf("function %p, calls %lu\n", log->caller, in fio_dump_gtod()
208 void fio_gettime(struct timeval *tp, void *caller) in fio_gettime() argument
210 void fio_gettime(struct timeval *tp, void fio_unused *caller) in fio_gettime()
214 if (!caller) in fio_gettime()
215 caller = __builtin_return_address(0); in fio_gettime()
217 gtod_log_caller(caller); in fio_gettime()