Lines Matching refs:other_info

42 struct other_info {  struct
71 static struct other_info other_infos[CONFIG_KCSAN_NUM_WATCHPOINTS + NUM_SLOTS-1];
378 struct other_info *other_info, in print_report() argument
394 if (other_info) { in print_report()
395 other_skipnr = sanitize_stack_entries(other_info->stack_entries, in print_report()
396 other_info->num_stack_entries, in print_report()
397 other_info->ai.ip); in print_report()
398 other_frame = other_info->stack_entries[other_skipnr]; in print_report()
410 if (other_info) { in print_report()
419 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report()
430 if (other_info) { in print_report()
432 get_access_type(other_info->ai.access_type), other_info->ai.ptr, in print_report()
433 other_info->ai.size, get_thread_desc(other_info->ai.task_pid), in print_report()
434 other_info->ai.cpu_id); in print_report()
437 stack_trace_print(other_info->stack_entries + other_skipnr, in print_report()
438 other_info->num_stack_entries - other_skipnr, in print_report()
442 print_verbose_info(other_info->task); in print_report()
488 static void release_report(unsigned long *flags, struct other_info *other_info) in release_report() argument
494 other_info->ai.size = 0; in release_report()
506 struct other_info *other_info) in set_other_info_task_blocking() argument
523 other_info->task = current; in set_other_info_task_blocking()
548 other_info->task = NULL; in set_other_info_task_blocking()
555 } while (other_info->ai.size && other_info->ai.ptr == ai->ptr && in set_other_info_task_blocking()
556 other_info->task == current); in set_other_info_task_blocking()
564 struct other_info *other_info) in prepare_report_producer() argument
581 WARN_ON(other_info->ai.size); in prepare_report_producer()
583 other_info->ai = *ai; in prepare_report_producer()
584 other_info->num_stack_entries = stack_trace_save(other_info->stack_entries, NUM_STACK_ENTRIES, 2); in prepare_report_producer()
587 set_other_info_task_blocking(flags, ai, other_info); in prepare_report_producer()
595 struct other_info *other_info) in prepare_report_consumer() argument
599 while (!other_info->ai.size) { /* Await valid @other_info. */ in prepare_report_consumer()
606 …if (WARN_ON(!matching_access((unsigned long)other_info->ai.ptr & WATCHPOINT_ADDR_MASK, other_info-… in prepare_report_consumer()
610 if (!matching_access((unsigned long)other_info->ai.ptr, other_info->ai.size, in prepare_report_consumer()
623 release_report(flags, other_info); in prepare_report_consumer()
661 struct other_info *other_info = &other_infos[watchpoint_idx]; in kcsan_report_known_origin() local
674 if (!prepare_report_consumer(&flags, &ai, other_info)) in kcsan_report_known_origin()
682 print_report(value_change, &ai, other_info, old, new, mask); in kcsan_report_known_origin()
684 release_report(&flags, other_info); in kcsan_report_known_origin()