Lines Matching refs:retval
25 #define REPORT_ERR(retval) LOG_E("got error code %d in %s(), %s:%d", (retval), __func__, __FILE__, … argument
26 #define CHECK_RETVAL(retval) if (retval) {REPORT_ERR(retval);} argument
174 int retval; in _cpus_init() local
178 retval = _cpus_init_data_hardcoded(num_cpus, cpu_hw_ids, cpu_ops); in _cpus_init()
181 retval = -1; in _cpus_init()
184 if (retval) in _cpus_init()
185 return retval; in _cpus_init()
199 retval = cpu_ops_tbl[i]->cpu_init(i, RT_NULL); in _cpus_init()
200 CHECK_RETVAL(retval); in _cpus_init()
221 int retval = 0; in rt_hw_cpu_boot_secondary() local
225 retval = _cpus_init(num_cpus, cpu_hw_ids, cpu_ops); in rt_hw_cpu_boot_secondary()
226 CHECK_RETVAL(retval); in rt_hw_cpu_boot_secondary()
228 return retval; in rt_hw_cpu_boot_secondary()