Lines Matching refs:OSNOISE_OPTION_INIT_VAL

428 	if (context->stop_us != OSNOISE_OPTION_INIT_VAL)  in osnoise_get_stop_us()
431 if (context->orig_stop_us != OSNOISE_OPTION_INIT_VAL) in osnoise_get_stop_us()
442 return OSNOISE_OPTION_INIT_VAL; in osnoise_get_stop_us()
453 if (curr_stop_us == OSNOISE_OPTION_INIT_VAL) in osnoise_set_stop_us()
472 if (context->orig_stop_us == OSNOISE_OPTION_INIT_VAL) in osnoise_restore_stop_us()
483 context->stop_us = OSNOISE_OPTION_INIT_VAL; in osnoise_restore_stop_us()
493 if (context->orig_stop_us == OSNOISE_OPTION_INIT_VAL) in osnoise_put_stop_us()
496 context->orig_stop_us = OSNOISE_OPTION_INIT_VAL; in osnoise_put_stop_us()
507 if (context->stop_total_us != OSNOISE_OPTION_INIT_VAL) in osnoise_get_stop_total_us()
510 if (context->orig_stop_total_us != OSNOISE_OPTION_INIT_VAL) in osnoise_get_stop_total_us()
521 return OSNOISE_OPTION_INIT_VAL; in osnoise_get_stop_total_us()
532 if (curr_stop_total_us == OSNOISE_OPTION_INIT_VAL) in osnoise_set_stop_total_us()
551 if (context->orig_stop_total_us == OSNOISE_OPTION_INIT_VAL) in osnoise_restore_stop_total_us()
563 context->stop_total_us = OSNOISE_OPTION_INIT_VAL; in osnoise_restore_stop_total_us()
573 if (context->orig_stop_total_us == OSNOISE_OPTION_INIT_VAL) in osnoise_put_stop_total_us()
576 context->orig_stop_total_us = OSNOISE_OPTION_INIT_VAL; in osnoise_put_stop_total_us()
587 if (context->print_stack != OSNOISE_OPTION_INIT_VAL) in osnoise_get_print_stack()
590 if (context->orig_print_stack != OSNOISE_OPTION_INIT_VAL) in osnoise_get_print_stack()
601 return OSNOISE_OPTION_INIT_VAL; in osnoise_get_print_stack()
612 if (curr_print_stack == OSNOISE_OPTION_INIT_VAL) in osnoise_set_print_stack()
631 if (context->orig_print_stack == OSNOISE_OPTION_INIT_VAL) in osnoise_restore_print_stack()
642 context->print_stack = OSNOISE_OPTION_INIT_VAL; in osnoise_restore_print_stack()
652 if (context->orig_print_stack == OSNOISE_OPTION_INIT_VAL) in osnoise_put_print_stack()
655 context->orig_print_stack = OSNOISE_OPTION_INIT_VAL; in osnoise_put_print_stack()
666 if (context->tracing_thresh != OSNOISE_OPTION_INIT_VAL) in osnoise_get_tracing_thresh()
669 if (context->orig_tracing_thresh != OSNOISE_OPTION_INIT_VAL) in osnoise_get_tracing_thresh()
680 return OSNOISE_OPTION_INIT_VAL; in osnoise_get_tracing_thresh()
691 if (curr_tracing_thresh == OSNOISE_OPTION_INIT_VAL) in osnoise_set_tracing_thresh()
710 if (context->orig_tracing_thresh == OSNOISE_OPTION_INIT_VAL) in osnoise_restore_tracing_thresh()
721 context->tracing_thresh = OSNOISE_OPTION_INIT_VAL; in osnoise_restore_tracing_thresh()
731 if (context->orig_tracing_thresh == OSNOISE_OPTION_INIT_VAL) in osnoise_put_tracing_thresh()
734 context->orig_tracing_thresh = OSNOISE_OPTION_INIT_VAL; in osnoise_put_tracing_thresh()
745 return OSNOISE_OPTION_INIT_VAL; in osnoise_options_get_option()
764 retval = OSNOISE_OPTION_INIT_VAL; in osnoise_options_get_option()
785 if (context->opt_irq_disable != OSNOISE_OPTION_INIT_VAL) in osnoise_get_irq_disable()
788 if (context->orig_opt_irq_disable != OSNOISE_OPTION_INIT_VAL) in osnoise_get_irq_disable()
801 if (opt_irq_disable == OSNOISE_OPTION_INIT_VAL) in osnoise_set_irq_disable()
820 if (context->orig_opt_irq_disable == OSNOISE_OPTION_INIT_VAL) in osnoise_restore_irq_disable()
831 context->orig_opt_irq_disable = OSNOISE_OPTION_INIT_VAL; in osnoise_restore_irq_disable()
838 if (context->orig_opt_irq_disable == OSNOISE_OPTION_INIT_VAL) in osnoise_put_irq_disable()
841 context->orig_opt_irq_disable = OSNOISE_OPTION_INIT_VAL; in osnoise_put_irq_disable()
846 if (context->opt_workload != OSNOISE_OPTION_INIT_VAL) in osnoise_get_workload()
849 if (context->orig_opt_workload != OSNOISE_OPTION_INIT_VAL) in osnoise_get_workload()
862 if (opt_workload == OSNOISE_OPTION_INIT_VAL) in osnoise_set_workload()
881 if (context->orig_opt_workload == OSNOISE_OPTION_INIT_VAL) in osnoise_restore_workload()
892 context->orig_opt_workload = OSNOISE_OPTION_INIT_VAL; in osnoise_restore_workload()
899 if (context->orig_opt_workload == OSNOISE_OPTION_INIT_VAL) in osnoise_put_workload()
902 context->orig_opt_workload = OSNOISE_OPTION_INIT_VAL; in osnoise_put_workload()
957 context->orig_stop_us = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
958 context->stop_us = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
960 context->orig_stop_total_us = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
961 context->stop_total_us = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
963 context->orig_print_stack = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
964 context->print_stack = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
966 context->orig_tracing_thresh = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
967 context->tracing_thresh = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
969 context->orig_opt_irq_disable = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
970 context->opt_irq_disable = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
972 context->orig_opt_workload = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()
973 context->opt_workload = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()