Lines Matching full:ai
43 struct access_info ai; member
389 const struct access_info *ai, in print_report() argument
396 int skipnr = sanitize_stack_entries(stack_entries, num_stack_entries, ai->ip, &reordered_to); in print_report()
411 other_info->ai.ip, &other_reordered_to); in print_report()
433 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report()
437 pr_err("BUG: KCSAN: %s in %pS\n", get_bug_type(ai->access_type), in print_report()
446 get_access_type(other_info->ai.access_type), other_info->ai.ptr, in print_report()
447 other_info->ai.size, get_thread_desc(other_info->ai.task_pid), in print_report()
448 other_info->ai.cpu_id); in print_report()
459 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
460 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
463 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
464 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
472 if (ai->size <= 8) { in print_report()
473 int hex_len = ai->size * 2; in print_report()
504 other_info->ai.size = 0; in release_report()
515 const struct access_info *ai, in set_other_info_task_blocking() argument
565 } while (other_info->ai.size && other_info->ai.ptr == ai->ptr && in set_other_info_task_blocking()
573 const struct access_info *ai, in prepare_report_producer() argument
591 WARN_ON(other_info->ai.size); in prepare_report_producer()
593 other_info->ai = *ai; in prepare_report_producer()
597 set_other_info_task_blocking(flags, ai, other_info); in prepare_report_producer()
604 const struct access_info *ai, in prepare_report_consumer() argument
609 while (!other_info->ai.size) { /* Await valid @other_info. */ in prepare_report_consumer()
616 … (WARN_ON(!matching_access((unsigned long)other_info->ai.ptr & WATCHPOINT_ADDR_MASK, other_info->a… in prepare_report_consumer()
617 (unsigned long)ai->ptr & WATCHPOINT_ADDR_MASK, ai->size))) in prepare_report_consumer()
620 if (!matching_access((unsigned long)other_info->ai.ptr, other_info->ai.size, in prepare_report_consumer()
621 (unsigned long)ai->ptr, ai->size)) { in prepare_report_consumer()
654 const struct access_info ai = prepare_access_info(ptr, size, access_type, ip); in kcsan_report_set_info() local
660 prepare_report_producer(&flags, &ai, &other_infos[watchpoint_idx]); in kcsan_report_set_info()
670 const struct access_info ai = prepare_access_info(ptr, size, access_type, ip); in kcsan_report_known_origin() local
684 if (!prepare_report_consumer(&flags, &ai, other_info)) in kcsan_report_known_origin()
692 print_report(value_change, &ai, other_info, old, new, mask); in kcsan_report_known_origin()
703 const struct access_info ai = prepare_access_info(ptr, size, access_type, ip); in kcsan_report_unknown_origin() local
710 print_report(KCSAN_VALUE_CHANGE_TRUE, &ai, NULL, old, new, mask); in kcsan_report_unknown_origin()