Lines Matching refs:ai

41 	struct access_info	ai;  member
329 const struct access_info *ai, in print_report() argument
370 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report()
374 pr_err("BUG: KCSAN: %s in %pS\n", get_bug_type(ai->access_type), 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()
397 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
398 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
401 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
402 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
412 if (ai->size <= 8) { in print_report()
413 int hex_len = ai->size * 2; in print_report()
445 other_info->ai.size = 0; in release_report()
456 const struct access_info *ai, in set_other_info_task_blocking() argument
506 } while (other_info->ai.size && other_info->ai.ptr == ai->ptr && in set_other_info_task_blocking()
514 const struct access_info *ai, 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()
538 set_other_info_task_blocking(flags, ai, other_info); in prepare_report_producer()
545 const struct access_info *ai, in prepare_report_consumer() argument
550 while (!other_info->ai.size) { /* Await valid @other_info. */ in prepare_report_consumer()
557 … (WARN_ON(!matching_access((unsigned long)other_info->ai.ptr & WATCHPOINT_ADDR_MASK, other_info->a… in prepare_report_consumer()
558 (unsigned long)ai->ptr & WATCHPOINT_ADDR_MASK, ai->size))) in prepare_report_consumer()
561 if (!matching_access((unsigned long)other_info->ai.ptr, other_info->ai.size, in prepare_report_consumer()
562 (unsigned long)ai->ptr, ai->size)) { in prepare_report_consumer()
593 const struct access_info ai = prepare_access_info(ptr, size, access_type); in kcsan_report_set_info() local
599 prepare_report_producer(&flags, &ai, &other_infos[watchpoint_idx]); in kcsan_report_set_info()
609 const struct access_info ai = prepare_access_info(ptr, size, access_type); 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()
642 const struct access_info ai = prepare_access_info(ptr, size, access_type); in kcsan_report_unknown_origin() local
649 print_report(KCSAN_VALUE_CHANGE_TRUE, &ai, NULL, old, new, mask); in kcsan_report_unknown_origin()