Lines Matching refs:other_info

35 struct other_info {  struct
64 static struct other_info other_infos[CONFIG_KCSAN_NUM_WATCHPOINTS + NUM_SLOTS-1];
329 const struct other_info *other_info) in print_report() argument
345 other_skipnr = get_stack_skipnr(other_info->stack_entries, in print_report()
346 other_info->num_stack_entries); in print_report()
347 other_frame = other_info->stack_entries[other_skipnr]; in print_report()
369 get_bug_type(ai->access_type | other_info->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()
394 stack_trace_print(other_info->stack_entries + other_skipnr, in print_report()
395 other_info->num_stack_entries - other_skipnr, in print_report()
399 print_verbose_info(other_info->task); in print_report()
432 static void release_report(unsigned long *flags, struct other_info *other_info) in release_report() argument
434 if (other_info) in release_report()
439 other_info->ai.size = 0; in release_report()
452 struct other_info *other_info) in set_other_info_task_blocking() argument
469 other_info->task = current; in set_other_info_task_blocking()
494 other_info->task = NULL; in set_other_info_task_blocking()
501 } while (other_info->ai.size && other_info->ai.ptr == ai->ptr && in set_other_info_task_blocking()
502 other_info->task == current); in set_other_info_task_blocking()
510 struct other_info *other_info) 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()
530 other_info->num_stack_entries = stack_trace_save(other_info->stack_entries, NUM_STACK_ENTRIES, 2); in prepare_report_producer()
533 set_other_info_task_blocking(flags, ai, other_info); in prepare_report_producer()
541 struct other_info *other_info) in prepare_report_consumer() argument
545 while (!other_info->ai.size) { /* Await valid @other_info. */ in prepare_report_consumer()
552 …if (WARN_ON(!matching_access((unsigned long)other_info->ai.ptr & WATCHPOINT_ADDR_MASK, other_info-… in prepare_report_consumer()
556 if (!matching_access((unsigned long)other_info->ai.ptr, other_info->ai.size, in prepare_report_consumer()
569 release_report(flags, other_info); in prepare_report_consumer()
581 struct other_info *other_info) 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()
608 struct other_info *other_info = type == KCSAN_REPORT_RACE_UNKNOWN_ORIGIN 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()
636 release_report(&flags, other_info); in kcsan_report()