• Home
  • Raw
  • Download

Lines Matching refs:ret

331 	int ret;  in xbc_snprint_cmdline()  local
334 ret = xbc_node_compose_key_after(root, knode, in xbc_snprint_cmdline()
336 if (ret < 0) in xbc_snprint_cmdline()
337 return ret; in xbc_snprint_cmdline()
341 ret = snprintf(buf, rest(buf, end), "%s ", xbc_namebuf); in xbc_snprint_cmdline()
342 if (ret < 0) in xbc_snprint_cmdline()
343 return ret; in xbc_snprint_cmdline()
344 buf += ret; in xbc_snprint_cmdline()
348 ret = snprintf(buf, rest(buf, end), "%s=\"%s\" ", in xbc_snprint_cmdline()
350 if (ret < 0) in xbc_snprint_cmdline()
351 return ret; in xbc_snprint_cmdline()
352 buf += ret; in xbc_snprint_cmdline()
365 int ret, len = 0; in xbc_make_cmdline() local
382 ret = xbc_snprint_cmdline(new_cmdline, len + 1, root); in xbc_make_cmdline()
383 if (ret < 0 || ret > len) { in xbc_make_cmdline()
414 int ret; in setup_boot_config() local
455 ret = xbc_init(copy, &msg, &pos); in setup_boot_config()
456 if (ret < 0) { in setup_boot_config()
463 pr_info("Load bootconfig: %d bytes %d nodes\n", size, ret); in setup_boot_config()
872 int ret; in early_randomize_kstack_offset() local
875 ret = kstrtobool(buf, &bool_result); in early_randomize_kstack_offset()
876 if (ret) in early_randomize_kstack_offset()
877 return ret; in early_randomize_kstack_offset()
1246 trace_initcall_finish_cb(void *data, initcall_t fn, int ret) in trace_initcall_finish_cb() argument
1256 fn, ret, duration); in trace_initcall_finish_cb()
1264 int ret; in initcall_debug_enable() local
1266 ret = register_trace_initcall_start(trace_initcall_start_cb, in initcall_debug_enable()
1268 ret |= register_trace_initcall_finish(trace_initcall_finish_cb, in initcall_debug_enable()
1270 WARN(ret, "Failed to register initcall tracepoints\n"); in initcall_debug_enable()
1281 static inline void do_trace_initcall_finish(initcall_t fn, int ret) in do_trace_initcall_finish() argument
1285 trace_initcall_finish_cb(&initcall_calltime, fn, ret); in do_trace_initcall_finish()
1293 int ret; in do_one_initcall() local
1299 ret = fn(); in do_one_initcall()
1300 do_trace_initcall_finish(fn, ret); in do_one_initcall()
1315 return ret; in do_one_initcall()
1436 int ret; in try_to_run_init_process() local
1438 ret = run_init_process(init_filename); in try_to_run_init_process()
1440 if (ret && ret != -ENOENT) { in try_to_run_init_process()
1442 init_filename, ret); in try_to_run_init_process()
1445 return ret; in try_to_run_init_process()
1496 int ret; in kernel_init() local
1527 ret = run_init_process(ramdisk_execute_command); in kernel_init()
1528 if (!ret) in kernel_init()
1531 ramdisk_execute_command, ret); in kernel_init()
1541 ret = run_init_process(execute_command); in kernel_init()
1542 if (!ret) in kernel_init()
1545 execute_command, ret); in kernel_init()
1549 ret = run_init_process(CONFIG_DEFAULT_INIT); in kernel_init()
1550 if (ret) in kernel_init()
1552 CONFIG_DEFAULT_INIT, ret); in kernel_init()