Lines Matching refs:other_info
40 struct other_info { struct
69 static struct other_info other_infos[CONFIG_KCSAN_NUM_WATCHPOINTS + NUM_SLOTS-1];
330 const struct other_info *other_info, in print_report() argument
346 if (other_info) { in print_report()
347 other_skipnr = get_stack_skipnr(other_info->stack_entries, in print_report()
348 other_info->num_stack_entries); in print_report()
349 other_frame = other_info->stack_entries[other_skipnr]; in print_report()
361 if (other_info) { in print_report()
370 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report()
381 if (other_info) { in print_report()
383 get_access_type(other_info->ai.access_type), other_info->ai.ptr, in print_report()
384 other_info->ai.size, get_thread_desc(other_info->ai.task_pid), in print_report()
385 other_info->ai.cpu_id); in print_report()
388 stack_trace_print(other_info->stack_entries + other_skipnr, in print_report()
389 other_info->num_stack_entries - other_skipnr, in print_report()
393 print_verbose_info(other_info->task); in print_report()
439 static void release_report(unsigned long *flags, struct other_info *other_info) in release_report() argument
445 other_info->ai.size = 0; in release_report()
457 struct other_info *other_info) in set_other_info_task_blocking() argument
474 other_info->task = current; in set_other_info_task_blocking()
499 other_info->task = NULL; in set_other_info_task_blocking()
506 } while (other_info->ai.size && other_info->ai.ptr == ai->ptr && in set_other_info_task_blocking()
507 other_info->task == current); in set_other_info_task_blocking()
515 struct other_info *other_info) in prepare_report_producer() argument
532 WARN_ON(other_info->ai.size); in prepare_report_producer()
534 other_info->ai = *ai; in prepare_report_producer()
535 other_info->num_stack_entries = stack_trace_save(other_info->stack_entries, NUM_STACK_ENTRIES, 2); in prepare_report_producer()
538 set_other_info_task_blocking(flags, ai, other_info); in prepare_report_producer()
546 struct other_info *other_info) in prepare_report_consumer() argument
550 while (!other_info->ai.size) { /* Await valid @other_info. */ in prepare_report_consumer()
557 …if (WARN_ON(!matching_access((unsigned long)other_info->ai.ptr & WATCHPOINT_ADDR_MASK, other_info-… in prepare_report_consumer()
561 if (!matching_access((unsigned long)other_info->ai.ptr, other_info->ai.size, in prepare_report_consumer()
574 release_report(flags, other_info); in prepare_report_consumer()
610 struct other_info *other_info = &other_infos[watchpoint_idx]; in kcsan_report_known_origin() local
623 if (!prepare_report_consumer(&flags, &ai, other_info)) in kcsan_report_known_origin()
631 print_report(value_change, &ai, other_info, old, new, mask); in kcsan_report_known_origin()
633 release_report(&flags, other_info); in kcsan_report_known_origin()