Lines Matching defs:mapper
5269 * Note, ftrace_func_mapper is freed by free_ftrace_hash(&mapper->hash).
5286 * The mapper is simply a ftrace_hash, but since the entries
5296 * @mapper: The mapper that has the ip maps
5300 * is actually the address of the mapper data pointer. The address is
5305 void **ftrace_func_mapper_find_ip(struct ftrace_func_mapper *mapper,
5311 entry = ftrace_lookup_ip(&mapper->hash, ip);
5321 * @mapper: The mapper that has the ip maps
5327 int ftrace_func_mapper_add_ip(struct ftrace_func_mapper *mapper,
5333 entry = ftrace_lookup_ip(&mapper->hash, ip);
5344 __add_hash_entry(&mapper->hash, &map->entry);
5351 * @mapper: The mapper that has the ip maps
5359 void *ftrace_func_mapper_remove_ip(struct ftrace_func_mapper *mapper,
5366 entry = ftrace_lookup_ip(&mapper->hash, ip);
5373 remove_hash_entry(&mapper->hash, entry);
5381 * @mapper: The mapper that has the ip maps
5384 * This is used to free the function mapper. The @free_func is optional
5387 void free_ftrace_func_mapper(struct ftrace_func_mapper *mapper,
5395 if (!mapper)
5398 if (free_func && mapper->hash.count) {
5399 size = 1 << mapper->hash.size_bits;
5401 hhd = &mapper->hash.buckets[i];
5408 /* This also frees the mapper itself */
5409 free_ftrace_hash(&mapper->hash);