Lines Matching refs:stop_us
426 long long stop_us; in osnoise_get_stop_us() local
428 if (context->stop_us != OSNOISE_OPTION_INIT_VAL) in osnoise_get_stop_us()
429 return context->stop_us; in osnoise_get_stop_us()
434 stop_us = osnoise_read_ll_config("osnoise/stop_tracing_us"); in osnoise_get_stop_us()
435 if (stop_us < 0) in osnoise_get_stop_us()
438 context->orig_stop_us = stop_us; in osnoise_get_stop_us()
439 return stop_us; in osnoise_get_stop_us()
448 int osnoise_set_stop_us(struct osnoise_context *context, long long stop_us) in osnoise_set_stop_us() argument
456 retval = osnoise_write_ll_config("osnoise/stop_tracing_us", stop_us); in osnoise_set_stop_us()
460 context->stop_us = stop_us; in osnoise_set_stop_us()
475 if (context->orig_stop_us == context->stop_us) in osnoise_restore_stop_us()
483 context->stop_us = OSNOISE_OPTION_INIT_VAL; in osnoise_restore_stop_us()
790 context->stop_us = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()