>> Problem 2:
>> I use the following command to find the definition of
>> : cs f g smp_call_function_many
>> But only the following definition can be found.
>> #define smp_call_function_many(mask, func, info, wait) \
>> (up_smp_call_function(func, info))
>> In fact, it's also defined in the same kernel/smp.c file.
> And how is that a problem?
: cs f g smp_call_function_many is used to Find the global definition
As it's also contain the func pointer, it can't be found too.
void smp_call_function_many(const struct cpumask *mask,
void (*func)(void *), void *info, bool wait)