Lines Matching refs:ai
36 struct access_info ai; member
328 const struct access_info *ai, in print_report() argument
369 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report()
375 pr_err("BUG: KCSAN: %s in %pS\n", get_bug_type(ai->access_type), in print_report()
389 get_access_type(other_info->ai.access_type), other_info->ai.ptr, in print_report()
390 other_info->ai.size, get_thread_desc(other_info->ai.task_pid), in print_report()
391 other_info->ai.cpu_id); in print_report()
403 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
404 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
409 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
410 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
439 other_info->ai.size = 0; in release_report()
451 const struct access_info *ai, in set_other_info_task_blocking() argument
501 } while (other_info->ai.size && other_info->ai.ptr == ai->ptr && in set_other_info_task_blocking()
509 const struct access_info *ai, in prepare_report_producer() argument
527 WARN_ON(other_info->ai.size); in prepare_report_producer()
529 other_info->ai = *ai; in prepare_report_producer()
533 set_other_info_task_blocking(flags, ai, other_info); in prepare_report_producer()
540 const struct access_info *ai, in prepare_report_consumer() argument
545 while (!other_info->ai.size) { /* Await valid @other_info. */ in prepare_report_consumer()
552 … (WARN_ON(!matching_access((unsigned long)other_info->ai.ptr & WATCHPOINT_ADDR_MASK, other_info->a… in prepare_report_consumer()
553 (unsigned long)ai->ptr & WATCHPOINT_ADDR_MASK, ai->size))) in prepare_report_consumer()
556 if (!matching_access((unsigned long)other_info->ai.ptr, other_info->ai.size, in prepare_report_consumer()
557 (unsigned long)ai->ptr, ai->size)) { in prepare_report_consumer()
580 const struct access_info *ai, in prepare_report() argument
585 prepare_report_producer(flags, ai, other_info); in prepare_report()
588 return prepare_report_consumer(flags, ai, other_info); in prepare_report()
601 const struct access_info ai = { in kcsan_report() local
624 if (prepare_report(&flags, type, &ai, other_info)) { in kcsan_report()
631 print_report(value_change, type, &ai, other_info); in kcsan_report()